mlnorm: Mean and Variance of the Log-Normal Distribution

View source: R/moments.R

mlnormR Documentation

Mean and Variance of the Log-Normal Distribution

Description

Formula: \mu = \exp(\mu_{log} + 0.5 \cdot \sigma_{log}^2) \mathrm{Var}(X) = (\exp(\sigma_{log}^2) - 1) \cdot \exp(2\mu_{log} + \sigma_{log}^2)

Usage

mlnorm(meanlog, sdlog)

Arguments

meanlog

Mean on the log scale

sdlog

Standard deviation on the log scale

Value

List with mean and variance

References

Aitchison, J. and Brown, J.A.C. (1957). The Lognormal Distribution. Cambridge University Press.

See Also

dlnorm

Examples

mlnorm(meanlog = 0, sdlog = 1)

AndriSignorell/DescTools documentation built on June 11, 2025, 10:41 p.m.