Lognormal distribution

Lognormal distribution#

Lognormal distribution is the continuous distribution of a random variable whose natural logarithm is normally distributed. This is, if the random variable \(X \sim Lognormal\), then the random variable \(Y=ln(X) \sim Normal\).

https://files.mude.citg.tudelft.nl/Lognormal_Distribution.svg

Fig. 5.19 Relationship between Lognormal and Normal distribution1.#

It is widely used in engineering, since it models variables which only take positive real values. The PDF of the Lognormal distribution is given by

\[ f(x) = \cfrac{1}{x \sigma \sqrt{2 \pi}}e^{\left( \normalsize-\cfrac{(ln(x)-\mu)^2}{2\sigma^2}\right)} \]

where \(\mu\) and \(\sigma\) are the mean and standard deviation of the variable’s natural logarithm. Note that they are not the mean and standard deviation of the variable \(X\) itself.

Let’s see how these parameters influence the shape of the distribution. In the figure below, two sets of three PDFs are displayed. In the left pannel, the displayed distributions present the same \(\sigma\) and different values of \(\mu=\)0.5, 1 and 2. The lower the value of \(\mu\), the more peaked is the distribution and the mode of the distribution moves towards 0. In the right pannel, all the distributions present the same value of \(\mu\) and different values of \(\sigma=\)0.5, 1 and 2. When \(\sigma\) grows (\(\sigma>1\)), the peak of the distribution moves towards 0 and increases in height. Similarly, when \(\sigma\) is reduced below 1, the distribution becomes more peaked; however, it also moves towards positive values. Therefore, the influence of this parameter is different if \(\sigma\) is above or below 1.

https://files.mude.citg.tudelft.nl/logn_density.png

Fig. 5.20 PDF of Lognormal distribution: (left) influence of parameter \(\mu\), and (right) influence of parameter \(\sigma\).#

Integrating the PDF, the following expression of the CDF is derived

\[ F(x) = \Phi\left( \cfrac{ln(x)-\mu}{\sigma} \right) = \cfrac{1}{2}\left[ 1+erf\left( \cfrac{ln(x)-\mu}{\sigma \sqrt{2}}\right)\right] \]

where \(\Phi\) is the cumulative distribution function of of the standard Normal distribution function (\(N(0,1)\)). The CDF of the Lognormal distribution is displayed in the figure below.

https://files.mude.citg.tudelft.nl/logn_cdf.png

Fig. 5.21 CDF of Lognormal distribution: (left) influence of parameter \(\mu\), and (right) influence of parameter \(\sigma\).#

In the left pannel, the influence of the parameter \(\mu\) is shown. The lower the \(\mu\), the steeper becomes the CDF, reaching higher non-exceedance probabilities for increasing values of the random variable. In the right pannel, the influence of the parameter \(\sigma\) is presented. Again, it can be seen that the influence of \(\sigma\) depends whether it is above or below 1.

Some properties#

The mean of the Lognormal distribution can be computed as

\[ E[X]=e^{\normalsize \mu + \cfrac{\sigma^2}{2}} \]

The variance is given by

\[ Var[X] = \left( e^{\normalsize\sigma^2}-1 \right)e^{\normalsize2\mu + \sigma^2} \]

Finally, note that Lognormal distribution is not symmetric and presents positive skewness. This is, it presents a tail towards positive values.

Also, the Lognormal distiribution is bounded in 0. This is, the random variable modelled with the Lognormal distribution cannot take negative values.

Let’s practice#

Exercises

During the design phase of a coastal structure, it is needed to assess if its height is enough to protect the sheltered area from overtopping events (sea water overpassing the structure and reaching the lee side). The distribution of overtopping volumes is known to follow a Lognormal distribution. The engineer has already calculated the parameters of the Lognormal distribution (\(\mu\)=5.5 and \(\sigma\)=1.15) and has plotted the CDF for you.

https://files.mude.citg.tudelft.nl/logn_ex.png

Fig. 5.22 PDF and CDF of Lognormal distribution to describe overtopping volumes \(V (l/m)\).#

Attribution

This chapter was written by Patricia Mares Nasarre and Robert Lanzafame. Find out more here.


1

“Lognormal Distribution” by StijnDeVuyst is licensed under CC BY-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/?ref=openverse.