Description
After loading a set of values into an EmpericalDistribution, assume that there's a case where a single bin ONLY contains multiple instances of the same value. In this case the standard deviation will equal zero. This will fail when getKernel attempts to create a NormalDistribution. The other case where stddev=0 is when there is only a single value in the bin, and this is handled by returning a ConstantRealDistribution rather than a NormalDistrbution.
Attachments
Issue Links
- is duplicated by
-
MATH-1234 Impossible NotStrictlyPositiveException after getStandardDeviation()
- Closed