Log-normal distribution
Probability density function ![]() | |||
Cumulative distribution function ![]() | |||
Notation | |||
---|---|---|---|
Parameters |
σ2 > 0 — squared scale (real), μ ∈ R — location | ||
Support | x ∈ (0, +∞) | ||
CDF | |||
Mean | |||
Median | |||
Mode | |||
Variance | |||
Skewness | |||
Excess kurtosis | |||
Entropy | |||
MGF | (defined only on the negative half-axis, see text) | ||
CF | representation is asymptotically divergent but sufficient for numerical purposes | ||
Fisher information |
In probability theory, a log-normal distribution is a 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 a, b ≠ 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, 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.
Characterization
Probability density function
The probability density function of a log-normal distribution is:
where μ and σ are the mean and standard deviation of the variable’s natural logarithm (by definition, the variable’s logarithm is normally distributed).
Cumulative distribution function
where erfc is the complementary error function, and Φ is the standard normal cdf.
Mean and standard deviation
If X is a lognormally distributed variable, its expected value (which can be assumed to represent the arithmetic mean), variance, and standard deviation are
Equivalently, parameters μ and σ can be obtained if the expected value and variance are known:
The geometric mean of the log-normal distribution is , and the geometric standard deviation is equal to . Subsequently, the geometric mean (mg) can alternatively be estimated from an arithmetic mean (ma) by:
Mode and median
The mode is the point of global maximum of the pdf function. In particular, it solves the equation (ln ƒ)′ = 0:
The median is such a point where FX = ½:
Confidence interval
If X is distributed log-normally with parameters μ and σ, then the (1 − α)-confidence interval for X will be
where q* is the (1 − α/2)-quantile of the standard normal distribution: q* = Φ−1(1 − α/2).
Moments
For any real or complex number s, the sth moment of log-normal X is given by
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.
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 above.
This series representation is divergent for Re(σ2) > 0, however it is sufficient for numerically evaluating the characteristic function at positive as long as the upper limit in sum above is kept bounded, n ≤ N, where
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 , 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].
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
This formula has applications in insurance and economics, it is used in solving the partial differential equation leading to the Black–Scholes formula.
Curve shape
A set of data that arises from the log-normal distribution has a symmetric Lorenz curve (see also Lorenz asymmetry coefficient).[1]
Occurrence
- In biology, variables whose logarithms tend to have a normal distribution include:
- Measures of size of living tissue (length, height, skin area, weight);[2]
- The length of inert appendages (hair, claws, nails, teeth) of biological specimens, in the direction of growth;
- Certain physiological measurements, such as blood pressure of adult humans (after separation on male/female subpopulations).
- 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.
- In finance, in particular the Black–Scholes model, changes in the logarithm of exchange rates, price indices, and stock market indices are assumed normal (these variables behave like compound interest, not like simple interest, and so are multiplicative). However, some mathematicians such as Benoît Mandelbrot have argued that log-Levy distributions which possesses heavy tails would be a more appropriate model, in particular for the analysis for stock market crashes.
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
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:
Since the first term is constant with regard to μ and σ, both logarithmic likelihood functions, ℓL ℓ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
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
has a Log-normal distribution with parameters and .
Related distributions
- If is a normal distribution, then
- If is distributed log-normally, then is a normal random variable.
- If are n independent log-normally distributed variables, and , then Y is also distributed log-normally:
- Let be independent log-normally distributed variables with possibly varying σ and μ parameters, and . The distribution of Y has no closed-form expression, but can be reasonably approximated by another log-normal distribution Z at the right tail. Its probability density function at the neighborhood of 0 is characterized in (Gao et al., 2009) and it does not resemble any log-normal distribution. A commonly used approximation (due to Fenton and Wilkinson) is obtained by matching the mean and variance:
- If , then X + c is said to have a shifted log-normal distribution with support x ∈ (c, +∞). E[X + c] = E[X] + c, Var[X + c] = Var[X].
- If , then Y = aX is also log-normal,
- If , then Y = 1⁄X is also log-normal,
- If and a ≠ 0, then Y = Xa is also log-normal,
Similar distributions
- A substitute for the log-normal whose integral can be expressed in terms of more elementary functions (Swamee, 2002) can be obtained based on the logistic distribution to get the CDF
- This is a log-logistic distribution.
Further reading
- Robert Brooks, Jon Corson, and J. Donal Wales. "The Pricing of Index Options When the Underlying Assets All Follow a Lognormal Diffusion", in Advances in Futures and Options Research, volume 7, 1994.
References
- ^ Damgaard, Christian (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.
{{cite journal}}
: Unknown parameter|coauthors=
ignored (|author=
suggested) (help) - ^ Huxley, Julian S. (1932). Problems of relative growth. London. ISBN 0486611140. OCLC 476909537.
{{cite book}}
: ISBN / Date incompatibility (help); Invalid|ref=harv
(help)
Citations
- The Lognormal Distribution, Aitchison, J. and Brown, J.A.C. (1957)
- Log-normal Distributions across the Sciences: Keys and Clues, E. Limpert, W. Stahel and M. Abbt,. BioScience, 51 (5), p. 341–352 (2001).
- Eric W. Weisstein et al. Log Normal Distribution at MathWorld. Electronic document, retrieved October 26, 2006.
- Swamee, P.K. (2002). Near Lognormal Distribution, Journal of Hydrologic Engineering. 7(6): 441-444
- Roy B. Leipnik (1991), On Lognormal Random Variables: I - The Characteristic Function, Journal of the Australian Mathematical Society Series B, vol. 32, pp 327–347.
- Gao et al. (2009), [1], Asymptotic Behaviors of Tail Density for Sum of Correlated Lognormal Variables. International Journal of Mathematics and Mathematical Sciences.
- Daniel Dufresne (2009), [2], SUMS OF LOGNORMALS, Centre for Actuarial Studies, University of Melbourne.