statistics-0.16.1.2: A library of statistical types, data, and functions
Copyright (c) 2020 Ximin Luo
License BSD3
Maintainer infinity0@pwned.gg
Stability experimental
Portability portable
Safe Haskell None
Language Haskell2010

Statistics.Distribution.Lognormal

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.

Synopsis

Documentation

data LognormalDistribution Source #

The lognormal distribution.

Instances

Instances details
Eq LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Data LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Read LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Show LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Generic LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

ToJSON LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

FromJSON LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Binary LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

ContGen LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Entropy LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

MaybeEntropy LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Variance LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

MaybeVariance LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Mean LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

MaybeMean LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

ContDistr LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

Distribution LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

FromSample LognormalDistribution Double Source #

Variance is estimated using maximum likelihood method (biased estimation) over the log of the data.

Returns Nothing if sample contains less than one element or variance is zero (all elements are equal)

Instance details

Defined in Statistics.Distribution.Lognormal

type Rep LognormalDistribution Source #
Instance details

Defined in Statistics.Distribution.Lognormal

type Rep LognormalDistribution = D1 (' MetaData "LognormalDistribution" "Statistics.Distribution.Lognormal" "statistics-0.16.1.2-IkOne9g3oJ1vhHVSRLPUO" ' True ) ( C1 (' MetaCons "LND" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 NormalDistribution )))

Constructors

lognormalDistr Source #

Arguments

:: Double

Mu

-> Double

Sigma

-> LognormalDistribution

Create log normal distribution from parameters.

lognormalDistrErr Source #

Create log normal distribution from parameters.

lognormalDistrMeanStddevErr Source #

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 .