Portability | portable |
---|---|
Stability | experimental |
Maintainer | bos@serpentine.com |
The normal distribution. This is a continuous probability distribution that describes data that cluster around a mean.
Documentation
data NormalDistribution Source
The normal distribution.
Constructors
:: Double | Mean of distribution |
-> Double | Standard deviation of distribution |
-> NormalDistribution |
Create normal distribution from parameters.
IMPORTANT: prior to 0.10 release second parameter was variance not standard deviation.
normalFromSample :: Sample -> NormalDistributionSource
Create distribution using parameters estimated from sample. Variance is estimated using maximum likelihood method (biased estimation).
standard :: NormalDistributionSource
Standard normal distribution with mean equal to 0 and variance equal to 1