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

See Also

dlnorm

Examples

mlnorm(meanlog = 0, sdlog = 1)

DescTools documentation built on April 4, 2025, 1:55 a.m.