Log-normal

X∼LogN⁡(μ,σ2)X \sim \operatorname{LogN}(\mu, \sigma^2)

A positive, right-skewed distribution whose logarithm is Normal. It arises when many independent factors multiply together.

The story

The Normal comes from adding many small effects; the Log-normal comes from multiplying them. If a quantity grows by a random percentage again and again, its logarithm is a sum of many small pieces and so is roughly Normal, which makes the quantity itself Log-normal. Formally, X=eYX = e^Y where YY is Normal with mean μ\mu and standard deviation σ\sigma.

Note that μ\mu and σ\sigma describe the underlying Normal, not XX itself. The median of XX is eμe^\mu, the mean is eμ+σ2/2e^{\mu + \sigma^2/2} and the mode is eμ−σ2e^{\mu - \sigma^2}, so in this right-skewed distribution mode<median<mean\text{mode} < \text{median} < \text{mean}. Increasing σ\sigma stretches the right tail dramatically and pulls the mean further away from the median.

Formulas

Support

x>0x > 0

PDF

f(x)=1xσ2π e−(ln⁡x−μ)22σ2f(x) = \frac{1}{x\sigma\sqrt{2\pi}}\, e^{-\frac{(\ln x - \mu)^2}{2\sigma^2}}

CDF

F(x)=12[1+erf⁡ ⁣(ln⁡x−μσ2)]F(x) = \tfrac{1}{2}\left[1 + \operatorname{erf}\!\left(\frac{\ln x - \mu}{\sigma\sqrt{2}}\right)\right]

Expectation

E[X]=eμ+σ2/2\mathbb{E}[X] = e^{\mu + \sigma^2/2}

Variance

Var⁡(X)=(eσ2−1)e2μ+σ2\operatorname{Var}(X) = \left(e^{\sigma^2} - 1\right) e^{2\mu + \sigma^2}

Mode

eμ−σ2e^{\mu - \sigma^2}

Parameters

ParameterWhat it controls
μ\muThe mean of ln⁡X\ln X. It sets the scale: the median of XX is eμe^\mu, and shifting μ\mu by 1 multiplies every value by ee.
σ\sigmaThe standard deviation of ln⁡X\ln X. It controls the skew: small σ\sigma gives a near-symmetric hump, large σ\sigma a sharp peak near zero with a long right tail.

Where it shows up

  • Household incomes and personal wealth.
  • Share prices under the standard Black-Scholes model.
  • The sizes of particles produced by repeated grinding.
  • Times taken to complete a task, which are positive with occasional very long durations.

Try this

  1. Set μ=0\mu = 0 and σ=1\sigma = 1 and shade from 0 to 1. The probability is exactly 0.5, because the median is e0=1e^0 = 1. Notice the mean marker sitting out at e0.5≈1.65e^{0.5} \approx 1.65.
  2. Hold μ=0\mu = 0 and move σ\sigma from 0.1 up to 1.5. At small σ\sigma the curve looks almost Normal; at large σ\sigma the peak crowds towards zero while the tail and the mean run off to the right.
  3. With σ=1.5\sigma = 1.5, switch to Sample means and compare n=5n = 5 with n=50n = 50. The averages stay visibly skewed for longer than with most distributions: the Central Limit Theorem always wins, but heavy skew slows it down.

Related distributions

  • If XX is Log-normal(μ,σ)\text{Log-normal}(\mu, \sigma), then ln⁡X\ln X is Normal with mean μ\mu and standard deviation σ\sigma.
  • Products of independent Log-normals are Log-normal, just as sums of independent Normals are Normal.
  • Like the Gamma it is positive and right-skewed, but its right tail is heavier.