# Generalized extreme value distribution

In probability theory and statistics, the generalized extreme value (GEV) distribution is a family of continuous probability distributions developed within extreme value theory to combine the Gumbel, Fréchet and Weibull families also known as type I, II and III extreme value distributions. By the extreme value theorem the GEV distribution is the only possible limit distribution of properly normalized maxima of a sequence of independent and identically distributed random variables. Note that a limit distribution need not exist: this requires regularity conditions on the tail of the distribution. Despite this, the GEV distribution is often used as an approximation to model the maxima of long (finite) sequences of random variables.

Notation ${\displaystyle {\textrm {GEV}}(\mu ,\,\sigma ,\,\xi )}$ μ ∈ R — location, σ > 0 — scale, ξ ∈ R — shape. x ∈ [ μ − σ / ξ, +∞)   when ξ > 0,x ∈ (−∞, +∞)   when ξ = 0,x ∈ (−∞, μ − σ / ξ ]   when ξ < 0. ${\displaystyle {\frac {1}{\sigma }}\,t(x)^{\xi +1}e^{-t(x)},}$   where ${\displaystyle t(x)={\begin{cases}{\big (}1+\xi ({\tfrac {x-\mu }{\sigma }}){\big )}^{-1/\xi }&{\textrm {if}}\ \xi \neq 0\\e^{-(x-\mu )/\sigma }&{\textrm {if}}\ \xi =0\end{cases}}}$ ${\displaystyle e^{-t(x)},\,}$   for x ∈ support ${\displaystyle {\begin{cases}\mu +\sigma (g_{1}-1)/\xi &{\text{if}}\ \xi \neq 0,\xi <1,\\\mu +\sigma \,\gamma &{\text{if}}\ \xi =0,\\\infty &{\text{if}}\ \xi \geq 1,\end{cases}}}$ where gk = Γ(1 − kξ), and ${\displaystyle \gamma }$ is Euler’s constant. ${\displaystyle {\begin{cases}\mu +\sigma {\frac {(\ln 2)^{-\xi }-1}{\xi }}&{\text{if}}\ \xi \neq 0,\\\mu -\sigma \ln \ln 2&{\text{if}}\ \xi =0.\end{cases}}}$ ${\displaystyle {\begin{cases}\mu +\sigma {\frac {(1+\xi )^{-\xi }-1}{\xi }}&{\text{if}}\ \xi \neq 0,\\\mu &{\text{if}}\ \xi =0.\end{cases}}}$ ${\displaystyle {\begin{cases}\sigma ^{2}\,(g_{2}-g_{1}^{2})/\xi ^{2}&{\text{if}}\ \xi \neq 0,\xi <{\frac {1}{2}},\\\sigma ^{2}\,{\frac {\pi ^{2}}{6}}&{\text{if}}\ \xi =0,\\\infty &{\text{if}}\ \xi \geq {\frac {1}{2}},\end{cases}}}$. ${\displaystyle {\begin{cases}\operatorname {sgn}(\xi ){\frac {g_{3}-3g_{2}g_{1}+2g_{1}^{3}}{(g_{2}-g_{1}^{2})^{3/2}}}&{\text{if}}\ \xi \neq 0,\xi <{\frac {1}{3}},\\{\frac {12{\sqrt {6}}\,\zeta (3)}{\pi ^{3}}}&{\text{if}}\ \xi =0.\end{cases}}}$ where ${\displaystyle \operatorname {sgn}(x)}$ is the sign function and ${\displaystyle \zeta (x)}$ is the Riemann zeta function ${\displaystyle {\begin{cases}{\frac {g_{4}-4g_{3}g_{1}-3g_{2}^{2}+12g_{2}g_{1}^{2}-6g_{1}^{4}}{(g_{2}-g_{1}^{2})^{2}}}&{\text{if}}\ \xi \neq 0,\xi <{\frac {1}{4}},\\{\frac {12}{5}}&{\text{if}}\ \xi =0.\end{cases}}}$ ${\displaystyle \log(\sigma )\,+\,\gamma \xi \,+\,\gamma \,+\,1}$ [1] [1]

In some fields of application the generalized extreme value distribution is known as the Fisher–Tippett distribution, named after Ronald Fisher and L. H. C. Tippett who recognised three different forms outlined below. However usage of this name is sometimes restricted to mean the special case of the Gumbel distribution. The common functional form for all 3 distributions was discovered by McFadden in 1978.[2]

## Specification

Using the standardized variable ${\displaystyle s=(x-\mu )/\sigma }$ , where ${\displaystyle \mu \in \mathbb {R} }$  is the location parameter and ${\displaystyle \sigma >0}$  is the scale parameter, the cumulative distribution function of the GEV distribution is

${\displaystyle F(s;\xi )={\begin{cases}\exp(-(1+\xi s)^{-1/\xi })&\xi \neq 0\\\exp(-\exp(-s))&\xi =0\end{cases}}}$

where ${\displaystyle \xi \in \mathbb {R} }$  is the shape parameter. Thus for ${\displaystyle \xi >0}$ , the expression is valid for ${\displaystyle s>-1/\xi }$ , while for ${\displaystyle \xi <0}$  it is valid for ${\displaystyle s<-1/\xi }$ . In the first case, at the lower end-point, it equals 0; in the second case, at the upper end-point, it equals 1. For ${\displaystyle \xi =0}$  the first expression is formally undefined and is replaced with the result obtained by taking the limit as ${\displaystyle \xi \to 0}$  in which case ${\displaystyle s\in \mathbb {R} }$ .

If ${\displaystyle x=\mu }$  then ${\displaystyle s=0}$  and ${\displaystyle F(s;\xi )=\exp(-1)}$ ${\displaystyle 0.37}$  whatever the values of ${\displaystyle \xi }$  and ${\displaystyle \sigma .}$

The probability density function of the standardized distribution is

${\displaystyle f(s;\xi )={\begin{cases}(1+\xi s)^{(-1/\xi )-1}\exp(-(1+\xi s)^{-1/\xi })&\xi \neq 0\\\exp(-s)\exp(-\exp(-s))&\xi =0\end{cases}}}$

again valid for ${\displaystyle s>-1/\xi }$  in the case ${\displaystyle \xi >0}$ , and for ${\displaystyle s<-1/\xi }$  in the case ${\displaystyle \xi <0}$ . The density is zero outside of the relevant range. In the case ${\displaystyle \xi =0}$  the density is positive on the whole real line.

Since the cumulative distribution function is invertible, the quantile function for the GEV distribution has an explicit expression, namely

${\displaystyle Q(p;\mu ,\sigma ,\xi )={\begin{cases}\mu +\sigma ((-\log(p))^{-\xi }-1)/\xi &\xi >0\,\,{\textrm {and}}\,\,p\in [0,1);\,\xi <0\,\,{\textrm {and}}\,\,p\in (0,1]\\\mu -\sigma \log(-\log(p))&\xi =0,\,p\in (0,1),\end{cases}}}$

and therefore the quantile density function ${\displaystyle (q=dQ/dp)}$  is

${\displaystyle q(p;\sigma ,\xi )={\frac {\sigma }{p(-\log(p))^{\xi +1}}}.}$

## Summary statistics

Some simple statistics of the distribution are:[citation needed]

${\displaystyle \operatorname {E} (X)=\mu +\left(g_{1}-1\right){\frac {\sigma }{\xi }}}$  for ${\displaystyle \xi <1}$
${\displaystyle \operatorname {Var} (X)=\left(g_{2}-g_{1}^{2}\right){\frac {\sigma ^{2}}{\xi ^{2}}},}$
${\displaystyle \operatorname {Mode} (X)=\mu +{\frac {\sigma }{\xi }}[(1+\xi )^{-\xi }-1].}$

The skewness is for ξ>0

${\displaystyle \operatorname {skewness} (X)={\frac {g_{3}-3g_{2}g_{1}+2g_{1}^{3}}{(g_{2}-g_{1}^{2})^{3/2}}}}$

For ξ<0, the sign of the numerator is reversed.

The excess kurtosis is:

${\displaystyle \operatorname {kurtosis\ excess} (X)={\frac {g_{4}-4g_{3}g_{1}+6g_{2}g_{1}^{2}-3g_{1}^{4}}{(g_{2}-g_{1}^{2})^{2}}}-3.}$

where ${\displaystyle g_{k}=\Gamma (1-k\xi )}$ , k=1,2,3,4, and ${\displaystyle \Gamma (t)}$  is the gamma function.

## Link to Fréchet, Weibull and Gumbel families

The shape parameter ${\displaystyle \xi }$  governs the tail behavior of the distribution. The sub-families defined by ${\displaystyle \xi =0}$ , ${\displaystyle \xi >0}$  and ${\displaystyle \xi <0}$  correspond, respectively, to the Gumbel, Fréchet and Weibull families, whose cumulative distribution functions are displayed below.

• Gumbel or type I extreme value distribution (${\displaystyle \xi =0}$ )
${\displaystyle F(x;\mu ,\sigma ,0)=e^{-e^{-(x-\mu )/\sigma }}\;\;\;{\text{for}}\;\;x\in \mathbb {R} .}$
• Fréchet or type II extreme value distribution, if ${\displaystyle \xi =\alpha ^{-1}>0}$  and ${\displaystyle y=1+\xi (x-\mu )/\sigma }$
${\displaystyle F(x;\mu ,\sigma ,\xi )={\begin{cases}e^{-y^{-\alpha }}&y>0\\0&y\leq 0.\end{cases}}}$
• Reversed Weibull or type III extreme value distribution, if ${\displaystyle \xi =-\alpha ^{-1}<0}$  and ${\displaystyle y=-\left(1+\xi (x-\mu )/\sigma \right)}$
${\displaystyle F(x;\mu ,\sigma ,\xi )={\begin{cases}e^{-(-y)^{\alpha }}&y<0\\1&y\geq 0\end{cases}}}$

The subsections below remark on properties of these distributions.

### Modification for minima rather than maxima

The theory here relates to data maxima and the distribution being discussed is an extreme value distribution for maxima. A generalised extreme value distribution for data minima can be obtained, for example by substituting (−x) for x in the distribution function, and subtracting from one: this yields a separate family of distributions.

### Alternative convention for the Weibull distribution

The ordinary Weibull distribution arises in reliability applications and is obtained from the distribution here by using the variable ${\displaystyle t=\mu -x}$ , which gives a strictly positive support - in contrast to the use in the extreme value theory here. This arises because the ordinary Weibull distribution is used in cases that deal with data minima rather than data maxima. The distribution here has an addition parameter compared to the usual form of the Weibull distribution and, in addition, is reversed so that the distribution has an upper bound rather than a lower bound. Importantly, in applications of the GEV, the upper bound is unknown and so must be estimated, while when applying the ordinary Weibull distribution in reliability applications the lower bound is usually known to be zero.

### Ranges of the distributions

Note the differences in the ranges of interest for the three extreme value distributions: Gumbel is unlimited, Fréchet has a lower limit, while the reversed Weibull has an upper limit. More precisely, Extreme Value Theory (Univariate Theory) describes which of the three is the limiting law according to the initial law X and in particular depending on its tail.

### Distribution of log variables

One can link the type I to types II and III the following way: if the cumulative distribution function of some random variable ${\displaystyle X}$  is of type II, and with the positive numbers as support, i.e. ${\displaystyle F(x;0,\sigma ,\alpha )}$ , then the cumulative distribution function of ${\displaystyle \ln X}$  is of type I, namely ${\displaystyle F(x;\ln \sigma ,1/\alpha ,0)}$ . Similarly, if the cumulative distribution function of ${\displaystyle X}$  is of type III, and with the negative numbers as support, i.e. ${\displaystyle F(x;0,\sigma ,-\alpha )}$ , then the cumulative distribution function of ${\displaystyle \ln(-X)}$  is of type I, namely ${\displaystyle F(x;-\ln \sigma ,1/\alpha ,0)}$ .

## Link to logit models (logistic regression)

Multinomial logit models, and certain other types of logistic regression, can be phrased as latent variable models with error variables distributed as Gumbel distributions (type I generalized extreme value distributions). This phrasing is common in the theory of discrete choice models, which include logit models, probit models, and various extensions of them, and derives from the fact that the difference of two type-I GEV-distributed variables follows a logistic distribution, of which the logit function is the quantile function. The type-I GEV distribution thus plays the same role in these logit models as the normal distribution does in the corresponding probit models.

## Properties

The cumulative distribution function of the generalized extreme value distribution solves the stability postulate equation.[citation needed] The generalized extreme value distribution is a special case of a max-stable distribution, and is a transformation of a min-stable distribution.

## Applications

• The GEV distribution is widely used in the treatment of "tail risks" in fields ranging from insurance to finance. In the latter case, it has been considered as a means of assessing various financial risks via metrics such as Value at Risk.[3][4]

Fitted GEV probability distribution to monthly maximum one-day rainfalls in October, Surinam[5]
• However, the resulting shape parameters have been found to lie in the range leading to undefined means and variances, which underlines the fact that reliable data analysis is often impossible.[6]

## Related distributions

• If ${\displaystyle X\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,\xi )}$  then ${\displaystyle mX+b\sim {\textrm {GEV}}(m\mu +b,\,m\sigma ,\,\xi )}$
• If ${\displaystyle X\sim {\textrm {Gumbel}}(\mu ,\,\sigma )}$  (Gumbel distribution) then ${\displaystyle X\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$
• If ${\displaystyle X\sim {\textrm {Weibull}}(\sigma ,\,\mu )}$  (Weibull distribution) then ${\displaystyle \mu \left(1-\sigma \mathrm {log} {\tfrac {X}{\sigma }}\right)\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$
• If ${\displaystyle X\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$  then ${\displaystyle \sigma \exp(-{\tfrac {X-\mu }{\mu \sigma }})\sim {\textrm {Weibull}}(\sigma ,\,\mu )}$  (Weibull distribution)[citation needed]
• If ${\displaystyle X\sim {\textrm {Exponential}}(1)\,}$  (Exponential distribution) then ${\displaystyle \mu -\sigma \log {X}\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$ [citation needed]
• If ${\displaystyle X\sim \mathrm {Gumbel} (\alpha _{X},\beta )}$  and ${\displaystyle Y\sim \mathrm {Gumbel} (\alpha _{Y},\beta )}$  then ${\displaystyle X-Y\sim \mathrm {Logistic} (\alpha _{X}-\alpha _{Y},\beta )\,}$  (see Logistic_distribution).
• If ${\displaystyle X}$  and ${\displaystyle Y\sim \mathrm {Gumbel} (\alpha ,\beta )}$  then ${\displaystyle X+Y\nsim \mathrm {Logistic} (2\alpha ,\beta )\,}$  (The sum is not a logistic distribution). Note that ${\displaystyle E(X+Y)=2\alpha +2\beta \gamma \neq 2\alpha =E\left(\mathrm {Logistic} (2\alpha ,\beta )\right)}$ .