Probability Distributions › The Log-Normal Distribution

Michael BrenndoerferMay 13, 20252 min read
Machine Learning from ScratchAll chapters
Part 1 of 9Statistics 101
Chapter 7Probability Distributions › The Log-Normal Distribution
Reading section 8 of 13 · The Log-Normal Distribution · 2 minSection 8 of 13 · 2 min

Book contents

Section 8 of 13 · 2 min read

Probability Distributions › The Log-Normal DistributionOne section · Sections in this chapter8 / 13 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Many real-world quantities cannot take negative values and exhibit right-skewed distributions where most observations cluster at lower values while a long tail extends toward higher values. The log-normal distribution naturally captures this asymmetric pattern, arising when the logarithm of a variable is normally distributed.

The probability density function for the log-normal distribution is:

f(x∣μ,σ)=1xσ2πexp⁡(−(ln⁡x−μ)22σ2)for x>0f(x | \mu, \sigma) = \frac{1}{x\sigma\sqrt{2\pi}} \exp\left(-\frac{(\ln x - \mu)^2}{2\sigma^2}\right) \quad \text{for } x > 0

Where:

  • xx: The random variable (must be positive)
  • μ\mu: Mean of the log-transformed variable ln⁡(x)\ln(x)
  • σ\sigma: Standard deviation of the log-transformed variable ln⁡(x)\ln(x)

The log-normal distribution emerges naturally from multiplicative processes. When a quantity results from many independent multiplicative factors (rather than additive factors as in the Central Limit Theorem), it tends toward a log-normal distribution. This mechanism explains why the distribution appears so frequently in economic and biological contexts where growth processes compound proportionally.

Incomes and wealth distributions, stock prices, file sizes in computer systems, and particle sizes in materials science commonly follow log-normal patterns. In finance, asset returns may be approximately normal over short periods, but asset prices themselves follow log-normal distributions since prices cannot be negative and percentage changes compound multiplicatively. Biomedical researchers encounter log-normal distributions when analyzing drug concentrations in the body, latency periods for diseases, and metabolic rates across species.

When working with log-normal data, analysts typically transform variables by taking logarithms before applying standard statistical methods designed for normal distributions. After analysis, results can be back-transformed to the original scale, though care must be taken since the mean of a log-normal variable does not equal the exponential of the mean of the log-transformed variable.

Example: Log-Normal Distribution Visualization

Out[7]:
Visualization
Right-skewed curve showing log-normal distribution.
Log-normal distribution with μ=0 and σ=0.5 for the underlying normal distribution. This right-skewed continuous distribution models positive-valued quantities resulting from multiplicative processes. Most probability mass concentrates at lower values with a long tail extending toward higher values.