0

Is there a class in the standard library of .NET that, given an IEnumerable<T> (e.g., List<double>) will assign a random positive probability (probability density function) to each value so that the result follows a Gaussian distribution?

So for example, given a List<double>, I want a new List<double> whose range is 2-standard deviations above and below the min and max values of the original list, by some increment n (e.g, .01, .25, etc), and assigns positive probabilities to that much larger list, such that the new list probabilities are Gaussian.

Ivan
  • 7,448
  • 14
  • 69
  • 134
  • *"in the standard library of .NET"* - No. – Zze Jun 26 '19 at 01:55
  • Possible duplicate of [Standard Deviation in LINQ](https://stackoverflow.com/questions/2253874/standard-deviation-in-linq) – Zze Jun 26 '19 at 01:55
  • By Standard.Net I also mean Accord.Net and Mathnet.Numerics. Those libraries are so vast I often have no idea how to find anything. – Ivan Jun 26 '19 at 02:30
  • A standard deviation is not the same thing as a PDF. – Ivan Jun 26 '19 at 02:31
  • Note that the Gaussian distribution has no minimum or maximum, so your problem is ill-defined. – Peter O. Jul 11 '20 at 16:10

0 Answers0