Lably
Skip to content

Log-normal distribution

Probability distribution

  • 18 min read
  • 5 chapters
A plot of 3 log-normal distributions to be used in wikipedia for the log-normal distribution article. This was created as a pdf in Matplotlib by me and annotated with the information about the paramet
Xenonoxid · CC BY-SA 4.0

Related on Lably

Through Probability distribution, Random variable and Logarithm

The distribution is occasionally referred to as the Galton distribution or Galton's distribution, after Francis Galton. The log-normal distribution has also been associated with other names, such as McAlister, Gibrat and Cobb–Douglas.

A log-normal process is the statistical realization of the multiplicative product of many independent random variables, each of which is positive. This is justified by considering the central limit theorem in the log domain (sometimes called Gibrat's law). The log-normal distribution is the maximum entropy probability distribution for a random variate X—for which the mean and variance of ln X are specified.

Definitions

Generation and parameters

Let Z be a standard normal variable, and let μ and σ be two real numbers, with σ>0. Then, the distribution of the random variable

X=eμ+σZ

is called the log-normal distribution with parameters μ and σ. These are the expected value (or mean) and standard deviation of the variable's natural logarithm, ln⁡X, not the expectation and standard deviation of X itself.

This relationship is true regardless of the base of the logarithmic or exponential function: If loga⁡X is normally distributed, then so is logb⁡X for any two positive numbers a,b≠1. Likewise, if eY is log-normally distributed, then so is aY, where 0<a≠1.

In order to produce a distribution with desired mean μX and variance σX2, one uses μ=ln⁡μX2μX2+σX2 and σ2=ln⁡(1+σX2μX2).

Alternatively, the "multiplicative" or "geometric" parameters μ∗=eμ and σ∗=eσ can be used. They have a more direct interpretation: μ∗ is the median of the distribution, and σ∗ is useful for determining "scatter" intervals, see below.

Probability density function

A positive random variable X is log-normally distributed (i.e., X∼Lognormal⁡(μ,σ2)), if the natural logarithm of X is normally distributed with mean μ and variance σ2:

ln⁡X∼N(μ,σ2)

Let Φ and φ be respectively the cumulative probability distribution function and the probability density function of the N(0,1) standard normal distribution, then we have that the probability density function of the log-normal distribution is given by:

fX(x)=ddxPrX[X≤x]=ddxPrX[ln⁡X≤ln⁡x]=ddxΦ(ln⁡x−μσ)=φ(ln⁡x−μσ)ddx(ln⁡x−μσ)=φ(ln⁡x−μσ)1σx=1xσ2πexp⁡(−(ln⁡x−μ)22σ2).

Cumulative distribution function

The cumulative distribution function is

FX(x)=Φ(ln⁡x−μσ)

where Φ is the cumulative distribution function of the standard normal distribution (i.e., N⁡(0,1)).

This may also be expressed as follows:

12[1+erf⁡(ln⁡x−μσ2)]=12erfc⁡(−ln⁡x−μσ2)

where erfc is the complementary error function.

Multivariate log-normal

If X∼N(μ,Σ) is a multivariate normal distribution, then Yi=exp⁡(Xi) has a multivariate log-normal distribution. The exponential is applied element-wise to the random vector X. The mean of Y is

E⁡[Y]i=eμi+12Σii,

and its covariance matrix is

Var⁡[Y]ij=eμi+μj+12(Σii+Σjj)(eΣij−1).

Since the multivariate log-normal distribution is not widely used, the rest of this entry only deals with the univariate distribution.

Characteristic function and moment generating function

All moments of the log-normal distribution exist and

E⁡[Xn]=enμ+n2σ2/2.

However, the log-normal distribution is not determined by its moments. This implies that it cannot have a defined moment generating function in a neighborhood of zero. Indeed, the expected value E⁡[etX] is not defined for any positive value of the argument t, since the defining integral diverges.

The characteristic function E⁡[eitX] is defined for real values of t, but is not defined for any complex value of t that has a negative imaginary part, and hence the characteristic function is not analytic at the origin. Consequently, the characteristic function of the log-normal distribution cannot be represented as an infinite convergent series. In particular, its Taylor formal series diverges:

∑n=0∞(it)nn!enμ+n2σ2/2.

However, a number of alternative divergent series representations have been obtained.

A closed-form formula for the characteristic function φ(t) with t in the domain of convergence is not known. A relatively simple approximating formula is available in closed form, and is given by

φ(t)≈exp⁡(−W2(−itσ2eμ)+2W(−itσ2eμ)2σ2)1+W(−itσ2eμ)

where W is the Lambert W function. This approximation is derived via an asymptotic method, but it stays sharp all over the domain of convergence of φ.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Statistics