The Lognormal Distribution is a continuous probability distribution of a random variable whose logarithm is normally distributed.
μ and σ2 are real numbers, the mean and variance.
μ
σ2
mctad.lognormal(μ, σ2)
Check that μ > 0 and σ2 > 0.
μ > 0
σ2 > 0
mctad.lognormal(2.0, 0.5).generate(100) will generate an Array of 100 random variables, distributed lognormally with mean 2 and variance 0.5.
mctad.lognormal(2.0, 0.5).generate(100)
Mix in the convenience methods for f(X) and F(X).
Lognormal Distribution
The Lognormal Distribution is a continuous probability distribution of a random variable whose logarithm is normally distributed.
Assumptions
μ
andσ2
are real numbers, the mean and variance.Use
mctad.lognormal(μ, σ2)
Inline Comments