Log-normal distribution

Log-normal
Probability density function
Cumulative distribution function
Notation \ln\mathcal{N}(\mu,\,\sigma^2)
Parameters σ2 > 0 — shape (real),
μR — log-scale
Support x ∈ (0, +∞)
PDF \frac{1}{x\sqrt{2\pi\sigma^2}}\, e^{-\frac{\left(\ln x-\mu\right)^2}{2\sigma^2}}
CDF \frac12 %2B \frac12\,\mathrm{erf}\Big[\frac{\ln x-\mu}{\sqrt{2\sigma^2}}\Big]
Mean e^{\mu%2B\sigma^2/2}
Median e^{\mu}\,
Mode e^{\mu-\sigma^2}
Variance (e^{\sigma^2}\!\!-1) e^{2\mu%2B\sigma^2}
Skewness (e^{\sigma^2}\!\!%2B2) \sqrt{e^{\sigma^2}\!\!-1}
Ex. kurtosis e^{4\sigma^2}\!\! %2B 2e^{3\sigma^2}\!\! %2B 3e^{2\sigma^2}\!\! - 6
Entropy \frac12 %2B \frac12 \ln(2\pi\sigma^2) %2B \mu
MGF (defined only on the negative half-axis, see text)
CF representation \sum_{n=0}^{\infty}\frac{(it)^n}{n!}e^{n\mu%2Bn^2\sigma^2/2} is asymptotically divergent but sufficient for numerical purposes
Fisher information \begin{pmatrix}1/\sigma^2&0\\0&1/(2\sigma^4)\end{pmatrix}

In probability theory, a log-normal distribution is a continuous probability distribution of a random variable whose logarithm is normally distributed. If X is a random variable with a normal distribution, then Y = exp(X) has a log-normal distribution; likewise, if Y is log-normally distributed, then X = log(Y) is normally distributed. (This is true regardless of the base of the logarithmic function: if loga(Y) is normally distributed, then so is logb(Y), for any two positive numbers ab ≠ 1.)

Log-normal is also written log normal or lognormal. It is occasionally referred to as the Galton distribution or Galton's distribution, after Francis Galton.

A variable might be modeled as log-normal if it can be thought of as the multiplicative product of many independent random variables each of which is positive. For example, in finance, the variable could represent the compound return from a sequence of many trades (each expressed as its return + 1); or a long-term discount factor can be derived from the product of short-term discount factors. In wireless communication, the attenuation caused by shadowing or slow fading from random objects is often assumed to be log-normally distributed: see log-distance path loss model.

The log-normal distribution is the maximum entropy probability distribution for a random variate X for which the mean and variance of \ln(X) is fixed. [1]

Contents

μ and σ

In a log-normal distribution, the parameters denoted μ and σ, are the mean and standard deviation, respectively, of the variable’s natural logarithm (by definition, the variable’s logarithm is normally distributed). On a non-logarithmized scale, μ and σ can be called the location parameter and the scale parameter, respectively.

In contrast, the mean and standard deviation of the non-logarithmized sample values are denoted m and s.d. in this article.

Characterization

Probability density function

The probability density function of a log-normal distribution is:

f_X(x;\mu,\sigma) = \frac{1}{x \sigma \sqrt{2 \pi}}\, e^{-\frac{(\ln x - \mu)^2}{2\sigma^2}},\ \ x>0

This follows by applying the change-of-variables rule on the density function of a normal distribution.

Cumulative distribution function

F_X(x;\mu,\sigma) = \frac12 \operatorname{erfc}\!\left[-\frac{\ln x - \mu}{\sigma\sqrt{2}}\right] = \Phi\bigg(\frac{\ln x - \mu}{\sigma}\bigg),

where erfc is the complementary error function, and Φ is the standard normal cdf.

Characteristic function and moment generating function

The characteristic function, E[e itX], has a number of representations. The integral itself converges for Im(t) ≤ 0. The simplest representation is obtained by Taylor expanding e itX and using formula for moments below, giving

\varphi(t) = \sum_{n=0}^\infty \frac{(it)^n}{n!}e^{n\mu%2Bn^2\sigma^2/2}.

This series representation is divergent for Re(σ2) > 0. However, it is sufficient for evaluating the characteristic function numerically at positive \sigma as long as the upper limit in the sum above is kept bounded, n ≤ N, where

\max(|t|,|\mu|) \ll N \ll \frac{2}{\sigma^2}\ln\frac{2}{\sigma^2}

and σ2 < 0.1. To bring the numerical values of parameters μσ into the domain where strong inequality holds true one could use the fact that if X is log-normally distributed then Xm is also log-normally distributed with parameters μmσm. Since  \mu\sigma^2 \propto m^3, the inequality could be satisfied for sufficiently small m. The sum of series first converges to the value of φ(t) with arbitrary high accuracy if m is small enough, and left part of the strong inequality is satisfied. If considerably larger number of terms are taken into account the sum eventually diverges when the right part of the strong inequality is no longer valid.

Another useful representation was derived by Roy Lepnik (see references by this author and by Daniel Dufresne below) by means of double Taylor expansion of e(ln x − μ)2/(2σ2).

The moment-generating function for the log-normal distribution does not exist on the domain R, but only exists on the half-interval (−∞, 0].

Properties

Location and scale

For the log-normal distribution, the location and scale properties of the distribution are more readily treated using the geometric mean and geometric standard deviation than the arithmetic mean and standard deviation.

Geometric moments

The geometric mean of the log-normal distribution is e^{\mu}. Because the log of a log-normal variable is symmetric and quantiles are preserved under monotonic transformations, the geometric mean of a log-normal distribution is equal to its median.[2]

The geometric mean (mg) can alternatively be derived from the arithmetic mean (ma) in a log-normal distribution by:

 m_g = m_ae^{-\tfrac{1}{2}\sigma^2}.

The geometric standard deviation is equal to e^{\sigma}.

Arithmetic moments

If X is a lognormally distributed variable, its expected value (E - which can be assumed to represent the arithmetic mean), variance (Var), and standard deviation (s.d.) are

\begin{align}
  & \operatorname{E}[X] = e^{\mu %2B \tfrac{1}{2}\sigma^2}, \\
  & \operatorname{Var}[X] = (e^{\sigma^2} - 1) e^{2\mu %2B \sigma^2} \\
  & \operatorname{s.d.}[X] = \sqrt{\operatorname{Var}[X]} = e^{\mu %2B \tfrac{1}{2}\sigma^2}\sqrt{e^{\sigma^2} - 1} .
  \end{align}

Equivalently, parameters μ and σ can be obtained if the expected value and variance are known:

\begin{align}
  \mu &= \ln(\mathrm{E}[X]) - \frac12 \ln\!\left(1 %2B \frac{\mathrm{Var}[X]}{[\mathrm{E}[X]]^2}\right), \\
  \sigma^2 &= \ln\!\left(1 %2B \frac{\mathrm{Var}[X]}{[\mathrm{E}[X]]^2}\right).
  \end{align}

For any real or complex number s, the sth moment of log-normal X is given by

\operatorname{E}[X^s] = e^{s\mu %2B \tfrac{1}{2}s^2\sigma^2}.

A log-normal distribution is not uniquely determined by its moments E[Xk] for k ≥ 1, that is, there exists some other distribution with the same moments for all k. In fact, there is a whole family of distributions with the same moments as the log-normal distribution.

Mode and median

The mode is the point of global maximum of the probability density function. In particular, it solves the equation (ln ƒ)′ = 0:

\mathrm{Mode}[X] = e^{\mu - \sigma^2}.

The median is such a point where FX = 1/2:

\mathrm{Med}[X] = e^\mu\,.

Coefficient of variation

The coefficient of variation is the ratio s.d. over m (on the natural scale) and is equal to:

\sqrt{e^{\sigma^2}\!\!-1}

Partial expectation

The partial expectation of a random variable X with respect to a threshold k is defined as g(k) = E[X | X > k]P[X > k]. For a log-normal random variable the partial expectation is given by

g(k) = \int_k^\infty \!xf(x)\, dx
            = e^{\mu%2B\tfrac{1}{2}\sigma^2}\, \Phi\!\left(\frac{\mu%2B\sigma^2-\ln k}{\sigma}\right).

This formula has applications in insurance and economics, it is used in solving the partial differential equation leading to the Black–Scholes formula.

Other

A set of data that arises from the log-normal distribution has a symmetric Lorenz curve (see also Lorenz asymmetry coefficient).[3]

Occurrence

Subsequently, reference ranges for measurements in healthy individuals are more accurately estimated by assuming a log-normal distribution than by assuming a symmetric distribution about the mean.

Maximum likelihood estimation of parameters

For determining the maximum likelihood estimators of the log-normal distribution parameters μ and σ, we can use the same procedure as for the normal distribution. To avoid repetition, we observe that

f_L (x;\mu, \sigma) = \prod_{i=1}^n \left(\frac 1 x_i\right) \, f_N (\ln x; \mu, \sigma)

where by ƒL we denote the probability density function of the log-normal distribution and by ƒN that of the normal distribution. Therefore, using the same indices to denote distributions, we can write the log-likelihood function thus:


\begin{align}
\ell_L (\mu,\sigma | x_1, x_2, \dots, x_n)
  & {} = - \sum _k \ln x_k %2B \ell_N (\mu, \sigma | \ln x_1, \ln x_2, \dots, \ln x_n) \\
& {} = \operatorname {constant} %2B \ell_N (\mu, \sigma | \ln x_1, \ln x_2, \dots, \ln x_n).
\end{align}

Since the first term is constant with regard to μ and σ, both logarithmic likelihood functions, L and N, reach their maximum with the same μ and σ. Hence, using the formulas for the normal distribution maximum likelihood parameter estimators and the equality above, we deduce that for the log-normal distribution it holds that

\widehat \mu = \frac {\sum_k \ln x_k} n,
        \widehat \sigma^2 = \frac {\sum_k \left( \ln x_k - \widehat \mu \right)^2} {n}.

Generating log-normally-distributed random variates

Given a random variate N drawn from the normal distribution with 0 mean and 1 standard deviation, then the variate

X= e^{\mu %2B \sigma N}\,

has a log-normal distribution with parameters \mu and \sigma.

Related distributions

Y \sim \operatorname{Log-\mathcal{N}}\Big(\textstyle \sum_{j=1}^n\mu_j,\ \sum_{j=1}^n \sigma_j^2 \Big).
\begin{align}
  \sigma^2_Z &= \log\!\left[ \frac{\sum e^{2\mu_j%2B\sigma_j^2}(e^{\sigma_j^2}-1)}{(\sum e^{\mu_j%2B\sigma_j^2/2})^2} %2B 1\right], \\
  \mu_Z &= \log\!\left[ \sum e^{\mu_j%2B\sigma_j^2/2} \right] - \frac{\sigma^2_Z}{2}.
  \end{align}

In the case that all X_j have the same variance parameter \sigma_j=\sigma, these formulas simplify to

\begin{align}
  \sigma^2_Z &= \log\!\left[ (e^{\sigma^2}-1)\frac{\sum e^{2\mu_j}}{(\sum e^{\mu_j})^2} %2B 1\right], \\
  \mu_Z &= \log\!\left[ \sum e^{\mu_j} \right] %2B \frac{\sigma^2}{2} -  \frac{\sigma^2_Z}{2}.
  \end{align}

Similar distributions

 F(x;\mu,\sigma) = \left[\left(\frac{e^\mu}{x}\right)^{\pi/(\sigma \sqrt{3})} %2B1\right]^{-1}.
This is a log-logistic distribution.

See also

Notes

  1. ^ Park, Sung Y.; Bera, Anil K. (2009). "Maximum entropy autoregressive conditional heteroskedasticity model". Journal of Econometrics (Elsevier): 219–230. http://www.wise.xmu.edu.cn/Master/Download/..%5C..%5CUploadFiles%5Cpaper-masterdownload%5C2009519932327055475115776.pdf. Retrieved 2011-06-02. 
  2. ^ Leslie E. Daly, Geoffrey Joseph Bourke (2000) Interpretation and uses of medical statistics Edition: 5. Wiley-Blackwell ISBN 0632047631, 9780632047635 (page 89)
  3. ^ Damgaard, Christian; Jacob Weiner (2000). "Describing inequality in plant size or fecundity". Ecology 81 (4): 1139–1142. doi:10.1890/0012-9658(2000)081[1139:DIIPSO]2.0.CO;2. 
  4. ^ Huxley, Julian S. (1932). Problems of relative growth. London. ISBN 0486611140. OCLC 476909537. 
  5. ^ Ritzema (ed.), H.P. (1994). Frequency and Regression Analysis. Chapter 6 in: Drainage Principles and Applications, Publication 16, International Institute for Land Reclamation and Improvement (ILRI), Wageningen, The Netherlands. pp. 175–224. ISBN 90 70754 3 39. http://www.waterlog.info/pdf/freqtxt.pdf. 
  6. ^ Black, Fischer and Myron Scholes, "The Pricing of Options and Corporate Liabilities", Journal of Political Economy, Vol. 81, No. 3, (May/June 1973), pp. 637-654.
  7. ^ Bunchen, P., Advanced Option Pricing, University of Sydney coursebook, 2007
  8. ^ http://www.sciencedirect.com/science/article/pii/S0951832007002268

References

Further reading