log normal distribution - Maple Help

Home : Support : Online Help : Statistics : Statistics Package : Distributions : Statistics/Distributions/LogNormal

Statistics[Distributions][LogNormal] - log normal distribution

 Calling Sequence LogNormal(mu, sigma) LogNormalDistribution(mu, sigma)

Parameters

 mu - mean log parameter sigma - scale parameter

Description

 • The log normal distribution is a continuous probability distribution with probability density function given by:

$f\left(t\right)=\left\{\begin{array}{cc}0& t<0\\ \frac{\sqrt{2}{ⅇ}^{-\frac{{\left(\mathrm{ln}\left(t\right)-\mathrm{\mu }\right)}^{2}}{2{\mathrm{\sigma }}^{2}}}}{2t\mathrm{\sigma }\sqrt{\mathrm{\pi }}}& \mathrm{otherwise}\end{array}\right\$

 subject to the following conditions:

$\mathrm{\mu }::\mathrm{real},0<\mathrm{\sigma }$

 • The LogNormal variate with mean log parameter mu and scale parameter sigma is related to the Normal variate by LogNormal(mu,sigma) ~ exp(Normal(mu,sigma)).
 • Note that the LogNormal command is inert and should be used in combination with the RandomVariable command.

Examples

 > $\mathrm{with}\left(\mathrm{Statistics}\right):$
 > $X:=\mathrm{RandomVariable}\left(\mathrm{LogNormal}\left(\mathrm{μ},\mathrm{σ}\right)\right):$
 > $\mathrm{PDF}\left(X,u\right)$
 ${{}\begin{array}{cc}{0}& {u}{<}{0}\\ \frac{{1}}{{2}}{}\frac{\sqrt{{2}}{}{{ⅇ}}^{{-}\frac{{1}}{{2}}{}\frac{{\left({\mathrm{ln}}{}\left({u}\right){-}{\mathrm{μ}}\right)}^{{2}}}{{{\mathrm{σ}}}^{{2}}}}}{{u}{}{\mathrm{σ}}{}\sqrt{{\mathrm{π}}}}& {\mathrm{otherwise}}\end{array}$ (1)
 > $\mathrm{PDF}\left(X,0.5\right)$
 $\frac{{0.7978845605}{}{{ⅇ}}^{{-}\frac{{0.5000000000}{}{\left({-}{0.6931471806}{-}{1.}{}{\mathrm{μ}}\right)}^{{2}}}{{{\mathrm{σ}}}^{{2}}}}}{{\mathrm{σ}}}$ (2)
 > $\mathrm{Mean}\left(X\right)$
 ${{ⅇ}}^{{\mathrm{μ}}{+}\frac{{1}}{{2}}{}{{\mathrm{σ}}}^{{2}}}$ (3)
 > $\mathrm{Variance}\left(X\right)$
 ${{ⅇ}}^{{{\mathrm{σ}}}^{{2}}{+}{2}{}{\mathrm{μ}}}{}\left({{ⅇ}}^{{{\mathrm{σ}}}^{{2}}}{-}{1}\right)$ (4)