TL;DR
A log-normal random variable is one whose logarithm is normally distributed. Taking the logarithm turns it into an ordinary bell curve, so the variable itself is always positive and has a long tail to the right. It is the natural model for quantities that grow by repeated multiplication rather than by repeated addition.
Builds on: Gaussian (Normal) Distribution, Logarithm · Leads to: Shadow Fading
Where it's used
Wireless signal strength. A radio signal loses strength as it passes obstacles such as buildings, and the loss in decibels is often modelled as normal. Because the decibel scale is a logarithm of power, the received power itself is log-normal. Engineers use this to set coverage margins for a mobile network. See Shadow Fading.
Particle sizes. In a dust or aerosol sample, the diameters of particles often follow a log-normal pattern, because each particle grows or breaks apart by a random proportion. Air-quality and pharmaceutical engineers use the fitted curve to describe a sample in a single number and a spread.
Incomes and firm sizes. Many studies find that the sizes of firms and some incomes are roughly log-normal. The idea behind it is that each year a firm grows or shrinks by a random percentage, so its size is a product of many random factors, and the logarithm of the size adds them up.
How it works
Take a quantity that starts at 1 and is multiplied, each step, by a random factor. Keep the example small: each step doubles or halves the value with equal chance.
-
Start with a value. Let . Check: the starting value is positive, which is where the log-normal lives.
-
Multiply by a random factor. After one step, or , each with probability one half. Check: both values are still positive.
-
Take the logarithm. Use base 2 for simplicity. Then is or , so the log moves by a fixed amount in either direction. Check: each multiplication by 2 adds 1 to the base-2 log, and each halving subtracts 1.
-
Add up many steps. After steps, the log is a sum of random moves. The Central Limit Theorem says that such a sum, rescaled, looks like a bell curve when is large. Check: after 2 steps the log is , or , with probabilities one quarter, one half and one quarter.
-
Exponentiate back. If the base-2 log is normal, the original value is . Switching to the natural log only multiplies the log by the constant , so a normal base-2 log is the same as a normal natural log, the form used in The math. A normal log gives a value that is positive, with a long right tail, because the exponential stretches the high side much more than the low side. Check: a log of gives , while a log of gives . The high side is further from 1 than the low side.
flowchart LR A[Start at 1] --> B[Multiply by a random factor each step] B --> C[Logarithm: random factors become random additions] C --> D[Sum of many additions looks normal] D --> E[Exponentiate back: a log-normal value]
The diagram shows the logic. Products become sums in the log scale, sums of many small effects look normal, and exponentiating gives the log-normal.
The math
Definition
A positive random variable is log-normal with parameters and when is normal with mean and standard deviation . We write . The parameters and are on the log scale, not the original scale.
Step 3 in symbols: the log is normal
Let , so . Here denotes the Gaussian (Normal) Distribution. Because , every probability about can be turned into a probability about . For example, .
Step 5 in symbols: the density
Use the Change of Variables Formula to convert the normal density of into a density for . The result is
The factor comes from the stretch of the change of variables. It is the difference between a log-normal and a normal curve.
The median, mean and spread
The median is the value with half the probability below it. Since , the median is where , so
The mean uses the moment generating function of the normal, . Setting gives
The mean is always larger than the median, which is the signature of a right-skewed distribution. The mean is larger by the factor .
Worked examples
Take and , so is a standard normal.
- The median is .
- The mean is .
- Probability that : this is for a standard normal .
- From a normal table, .
- Check: the mean, 1.649, is above the median, 1, as the skew predicts.
Answer: the median is 1, the mean is about 1.649, and .
Let be normal with and .
- Median: .
- Mean: .
- Probability that : .
- Standardise: .
- From a normal table, .
- Interpretation: about 27 percent of the time, is above 10, even though its median is about 7.4.
Answer: the median is 7.389, the mean is 8.373, and .
This example is illustrative. Particle diameters , in micrometres, have normal with and , so the median diameter is 2 micrometres.
- Probability that a particle is at most 1 micrometre: .
- Standardise: .
- .
- Try it: find . Use the same method and then explain the answer.
Answer: . This equals . The answer is symmetric because 1 and 4 are the same ratio away from the median 2, one half and twice, so they sit the same distance from the median on the log scale.
Common mistakes and tradeoffs
It is tempting to think that the parameters and are the mean and standard deviation of . In fact they describe . The mean of is , and its standard deviation depends on both parameters. Always read the parameters on the log scale.
It is tempting to think that the logarithm of a normal variable is log-normal. In fact it is the other way round: the logarithm of a log-normal variable is normal. A normal variable can be negative, while a log-normal variable cannot.
It is tempting to use the mean as the typical value. In fact for a skewed distribution the median is often the better summary, and the mean is pulled up by the long right tail. This is why incomes are usually reported with medians.
Use the log-normal when the quantity is positive, the logarithm looks symmetric, and the process is multiplicative. Do not use it when the data have many exact zeros, or when the tail is heavier than the log-normal allows. In those cases a gamma or Pareto distribution may fit better. A normal model is simpler, but it can give negative values for quantities that cannot be negative.
History
The normal curve itself dates to the work of Abraham de Moivre in the 1730s and 1740s, on the approximation of binomial probabilities. Pierre-Simon Laplace and Carl Friedrich Gauss later developed it further, which is why it is also called the Gaussian.
The log-normal grew out of the idea that a quantity made by many random multiplicative effects should be log-normal. In 1931 the French economist Robert Gibrat proposed that firm growth is proportional and random, which produces log-normal firm sizes. The idea spread into engineering and the natural sciences, where it describes many measured sizes and signal strengths.
Recap
- A log-normal variable has normal with mean and standard deviation .
- It is always positive, and its distribution is right-skewed.
- Its median is , and its mean is .
- It arises when many random multiplicative factors act on a quantity.
- To see it used in a real model, read Shadow Fading, which applies the log-normal to signal strength.
Check yourself
QuestionRecall: if is normal with mean , what is the median of ?Show answer
The median is , because the median of is , and the exponential maps the median of the log to the median of .
QuestionComputation: let be normal with and . What is the median of , and what is the mean?Show answer
The median is . The mean is .
QuestionWhy: why is the mean of a log-normal larger than its median?Show answer
The log-normal is right-skewed. A few large values pull the average upward, while half the probability lies below the median. The gap is the factor , which is greater than 1 whenever .
QuestionApplied: a company models daily sales as log-normal. Its manager reads the parameter as the average daily sales. Is that right?Show answer
No. The parameter is the mean of the log of sales, so is the median of sales. The average sales is , which is larger. The manager should use the mean formula for the average and the median for a typical day.