Copyright | (c) 2009 Bryan O'Sullivan |
---|---|
License | BSD3 |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- normalDistrErr :: Double -> Double -> Either String 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.
:: Double | Mean of distribution |
-> Double | Standard deviation of distribution |
-> Either String NormalDistribution |
Create normal distribution from parameters.
standard :: NormalDistribution Source #
Standard normal distribution with mean equal to 0 and variance equal to 1