mlnorm {DescTools} | R 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
Examples
mlnorm(meanlog = 0, sdlog = 1)
[Package DescTools version 0.99.60 Index]