Copyright | (c) 2009 Bryan O'Sullivan |
---|---|
License | BSD3 |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
The normal distribution. This is a continuous probability distribution that describes data that cluster around a mean.
Synopsis
- data NormalDistribution
- normalDistr :: Double -> Double -> NormalDistribution
- normalDistrE :: Double -> Double -> Maybe NormalDistribution
- standard :: NormalDistribution
Documentation
data NormalDistribution Source #
The normal distribution.
Instances
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.
:: Double | Mean of distribution |
-> Double | Standard deviation of distribution |
-> Maybe NormalDistribution |
Create normal distribution from parameters.
IMPORTANT: prior to 0.10 release second parameter was variance not standard deviation.
standard :: NormalDistribution Source #
Standard normal distribution with mean equal to 0 and variance equal to 1