| Copyright | (c) 2020 Ximin Luo |
|---|---|
| License | BSD3 |
| Maintainer | infinity0@pwned.gg |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Statistics.Distribution.Lognormal
Contents
Description
The log normal distribution. This is a continuous probability distribution that describes data whose log is clustered around a mean. For example, the multiplicative product of many independent positive random variables.
Documentation
data LognormalDistribution Source #
The lognormal distribution.
Instances
Constructors
Arguments
| :: Double | Mu |
| -> Double | Sigma |
| -> LognormalDistribution |
Create log normal distribution from parameters.
Arguments
| :: Double | Mu |
| -> Double | Sigma |
| -> Either String LognormalDistribution |
Create log normal distribution from parameters.
lognormalDistrMeanStddevErr Source #
Arguments
| :: Double | Mu |
| -> Double | Sigma |
| -> Either String LognormalDistribution |
Create log normal distribution from mean and standard deviation.
lognormalStandard :: LognormalDistribution Source #
Standard log normal distribution with mu 0 and sigma 1.
Mean is sqrt e and variance is (e - 1) * e.