# Kurtosis

File:KurtosisChanges.png
The far red light has no effect on the average speed of the gravitropic reaction in wheat coleoptiles, but it changes kurtosis from platykurtic to leptokurtic (-0.194 → 0.055)

In probability theory and statistics, kurtosis (from the Greek word kurtos, meaning bulging) is a measure of the "peakedness" of the probability distribution of a real-valued random variable. Higher kurtosis means more of the variance is due to infrequent extreme deviations, as opposed to frequent modestly-sized deviations.

## Definition of kurtosis

The fourth standardized moment is defined as

${\displaystyle {\frac {\mu _{4}}{\sigma ^{4}}},\!}$

where μ4 is the fourth moment about the mean and σ is the standard deviation. This is sometimes used as the definition of kurtosis in older works, but is not the definition used here.

Kurtosis is more commonly defined as the fourth cumulant divided by the square of the variance of the probability distribution,

${\displaystyle \gamma _{2}={\frac {\kappa _{4}}{\kappa _{2}^{2}}}={\frac {\mu _{4}}{\sigma ^{4}}}-3,\!}$

which is known as excess kurtosis. The "minus 3" at the end of this formula is often explained as a correction to make the kurtosis of the normal distribution equal to zero. Another reason can be seen by looking at the formula for the kurtosis of the sum of random variables. Because of the use of the cumulant, if Y is the sum of n independent random variables, all with the same distribution as X, then Kurt[Y] = Kurt[X] / n, while the formula would be more complicated if kurtosis were defined as μ4 / σ4.

More generally, if X1, ..., Xn are independent random variables all having the same variance, then

${\displaystyle \operatorname {Kurt} \left(\sum _{i=1}^{n}X_{i}\right)={1 \over n^{2}}\sum _{i=1}^{n}\operatorname {Kurt} (X_{i}),}$

whereas this identity would not hold if the definition did not include the subtraction of 3.

The fourth standardized moment must be at least 1, so the excess kurtosis must be −2 or more; there is no upper limit and it may be infinite.

## Terminology and examples

A high kurtosis distribution has a sharper "peak" and flatter "tails", while a low kurtosis distribution has a more rounded peak with wider "shoulders".

Distributions with zero kurtosis are called mesokurtic, or mesokurtotic. The most prominent example of a mesokurtic distribution is the normal distribution family, regardless of the values of its parameters. A few other well-known distributions can be mesokurtic, depending on parameter values: for example the binomial distribution is mesokurtic for ${\displaystyle p=1/2\pm {\sqrt {1/12}}}$.

A distribution with positive kurtosis is called leptokurtic, or leptokurtotic. In terms of shape, a leptokurtic distribution has a more acute "peak" around the mean (that is, a higher probability than a normally distributed variable of values near the mean) and "fat tails" (that is, a higher probability than a normally distributed variable of extreme values). Examples of leptokurtic distributions include the Laplace distribution and the logistic distribution. Such distributions are sometimes termed "super Gaussian".

A distribution with negative kurtosis is called platykurtic, or platykurtotic. In terms of shape, a platykurtic distribution has a smaller "peak" around the mean (that is, a lower probability than a normally distributed variable of values near the mean) and "thin tails" (that is, a lower probability than a normally distributed variable of extreme values). Examples of platykurtic distributions include the continuous or discrete uniform distributions, and the raised cosine distribution. The most platykurtic distribution of all is the Bernoulli distribution with p = ½ (for example the number of times one obtains "heads" when flipping a coin once), for which the kurtosis is -2. Such distributions are sometimes termed "sub Gaussian".

## Graphical examples

### The Pearson type VII family

File:Pearson type VII distribution PDF.png
pdf for the Pearson type VII distribution with kurtosis of infinity (red); 2 (blue); and 0 (black)
File:Pearson type VII distribution log-PDF.png
log-pdf for the Pearson type VII distribution with kurtosis of infinity (red); 2 (blue); 1, 1/2, 1/4, 1/8, and 1/16 (gray); and 0 (black)

We illustrate the effects of kurtosis using a parametric family of distributions whose kurtosis can be adjusted while their lower-order moments and cumulants remain constant. Consider the Pearson type VII family, which is a special case of the Pearson type IV family restricted to symmetric densities. The probability density function is given by

${\displaystyle f(x;a,m)={\frac {\Gamma (m)}{a\,{\sqrt {\pi }}\,\Gamma (m-1/2)}}\left[1+\left({\frac {x}{a}}\right)^{2}\right]^{-m},\!}$

where a is a scale parameter and m is a shape parameter.

All densities in this family are symmetric. The kth moment exists provided ${\displaystyle m>(k+1)/2}$. For the kurtosis to exist, we require ${\displaystyle m>5/2}$. Then the mean and skewness exist and are both identically zero. Setting ${\displaystyle a^{2}=2m-3}$ makes the variance equal to unity. Then the only free parameter is m, which controls the fourth moment (and cumulant) and hence the kurtosis. One can reparameterize with ${\displaystyle m=5/2+3/\gamma _{2}}$, where ${\displaystyle \gamma _{2}}$ is the kurtosis as defined above. This yields a one-parameter leptokurtic family with zero mean, unit variance, zero skewness, and arbitrary positive kurtosis. The reparameterized density is

${\displaystyle g(x;\gamma _{2})=f(x;\;a={\sqrt {2+6/\gamma _{2}}},\;m=5/2+3/\gamma _{2}).\!}$

In the limit as ${\displaystyle \gamma _{2}\to \infty }$ one obtains the density

${\displaystyle g(x)=3\left(2+x^{2}\right)^{-5/2},\!}$

which is shown as the red curve in the images on the right.

In the other direction as ${\displaystyle \gamma _{2}\to 0}$ one obtains the standard normal density as the limiting distribution, shown as the black curve.

In the images on the right, the blue curve represents the density ${\displaystyle x\mapsto g(x;2)}$ with kurtosis of 2. The top image shows that leptokurtic densities in this family have a higher peak than the mesokurtic normal density. The comparatively fatter tails of the leptokurtic densities are illustrated in the second image, which plots the natural logarithm of the Pearson type VII densities: the black curve is the logarithm of the standard normal density, which is an inverted parabola. One can see that the normal density allocates little probability mass to the regions far from the mean ("has thin tails"), compared with the blue curve of the leptokurtic Pearson type VII density with kurtosis of 2. Between the blue curve and the black are other Pearson type VII densities with γ2 = 1, 1/2, 1/4, 1/8, and 1/16. The red curve again shows the upper limit of the Pearson type VII family, with ${\displaystyle \gamma _{2}=\infty }$ (which, strictly speaking, means that the fourth moment does not exist). The red curve decreases the slowest as one moves outward from the origin ("has fat tails").

### Kurtosis of well-known distributions

In this example we compare several well-known distributions from different parametric families. All densities considered here are unimodal and symmetric. Each has a mean and skewness of zero. Parameters were chosen to result in a variance of unity in each case. The images on the right show curves for the following seven densities, on a linear scale and logarithmic scale:

• D: Laplace distribution, a.k.a. double exponential distribution, red curve (two straight lines in the log-scale plot), kurtosis = 3
• U: uniform distribution, magenta curve (shown for clarity as a rectangle in both images), kurtosis = −1.2

Note that in this case the platykurtic densities have bounded support, whereas the densities with nonnegative kurtosis are supported on the whole real line.

In general there exist platykurtic densities with infinite support, for example exponential power distributions with sufficiently large shape parameter b, and there exist leptokurtic densities with finite support, for example a distribution that is uniform between -3 and -0.3, between -0.3 and 0.3, and between 0.3 and 3, with the same density in the (-3, -0.3) and (0.3, 3) intervals, but with 20 times more density in the (-0.3, 0.3) interval.

## Sample kurtosis

For a sample of n values the sample kurtosis is

${\displaystyle g_{2}={\frac {m_{4}}{m_{2}^{2}}}-3={\frac {n\,\sum _{i=1}^{n}(x_{i}-{\overline {x}})^{4}}{\left(\sum _{i=1}^{n}(x_{i}-{\overline {x}})^{2}\right)^{2}}}-3}$

where m4 is the fourth sample moment about the mean, m2 is the second sample moment about the mean (that is, the sample variance), xi is the ith value, and ${\displaystyle {\overline {x}}}$ is the sample mean.

The formula

${\displaystyle D={1 \over n}\sum _{i=1}^{n}{(x_{i}-{\bar {x}})^{2}}}$,
${\displaystyle E={1 \over nD^{2}}\sum _{i=1}^{n}{(x_{i}-{\bar {x}})^{4}}-3}$

is also used, where n - the sample size, D - the pre-computed variance, xi - the value of the x'th measurement and ${\displaystyle {\bar {x}}}$ - the pre-computed arithmetic mean.

## Estimators of population kurtosis

Given a sub-set of samples from a population, the sample kurtosis above is a biased estimator of the population kurtosis. The usual estimator of the population kurtosis (used in SAS, Minitab, SPSS, and Excel but not by BMDP) is G2, defined as follows:

 ${\displaystyle G_{2}\!\!\!\!}$ ${\displaystyle ={\frac {k_{4}}{k_{2}^{2}}}\!}$ ${\displaystyle ={\frac {n^{2}\,((n+1)\,m_{4}-3\,(n-1)\,m_{2}^{2})}{(n-1)\,(n-2)\,(n-3)}}\;{\frac {(n-1)^{2}}{n^{2}\,m_{2}^{2}}}\!}$ ${\displaystyle ={\frac {n-1}{(n-2)\,(n-3)}}\left((n+1)\,{\frac {m_{4}}{m_{2}^{2}}}-3\,(n-1)\right)\!}$ ${\displaystyle ={\frac {n-1}{(n-2)(n-3)}}\left((n+1)\,g_{2}+6\right)\!}$ ${\displaystyle ={\frac {(n+1)\,n\,(n-1)}{(n-2)\,(n-3)}}\;{\frac {\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{4}}{\left(\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}\right)^{2}}}-3\,{\frac {(n-1)^{2}}{(n-2)\,(n-3)}}\!}$ ${\displaystyle ={\frac {(n+1)\,n}{(n-1)\,(n-2)\,(n-3)}}\;{\frac {\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{4}}{k_{2}^{2}}}-3\,{\frac {(n-1)^{2}}{(n-2)(n-3)}}\!}$

where k4 is the unique symmetric unbiased estimator of the fourth cumulant, k2 is the unbiased estimator of the population variance, m4 is the fourth sample moment about the mean, m2 is the sample variance, xi is the ith value, and ${\displaystyle {\bar {x}}}$ is the sample mean. Unfortunately, ${\displaystyle G_{2}}$ is itself generally biased. For the normal distribution it is unbiased because its expected value is then zero.