# Generalized extreme value distribution

(Redirected from Extreme value distribution)
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}+6g_{1}^{2}g_{2}-3g_{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 probability theory and statistics, the generalized extreme value (GEV) distribution[3] 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.[4] Note that a limit distribution needs to exist, which 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.

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 origin of the common functional form for all 3 distributions dates back to at least Jenkinson, A. F. (1955),[5] though allegedly[6] it could also have been given by von Mises, R. (1936).[7]

## Specification

Using the standardized variable ${\displaystyle \ s\equiv {\frac {\ x-\mu \ }{\sigma }}\ ,}$ where ${\displaystyle \ \mu \ ,}$ the location parameter, can be any real number, and ${\displaystyle \ \sigma >0\ }$ is the scale parameter; the cumulative distribution function of the GEV distribution is then

${\displaystyle F(\ s;\ \xi \ )={\begin{cases}\exp \!{\Bigl (}-e^{-s}{\Bigr )}&~~{\text{ for }}~~\xi =0\ ,\\{}\\\exp \!{\Bigl (}-{\bigl (}1+\xi s{\bigr )}^{-{\tfrac {\ 1\ }{\xi }}}{\Bigr )}&~~{\text{ for }}~~\xi \neq 0~~{\text{ and }}~~\xi \ s>-1\ ,\\{}\\0&~~{\text{ for }}~~\xi >0~~{\text{ and }}~~s\leq -{\tfrac {\ 1\ }{\xi }}\ ,\\{}\\1&~~{\text{ for }}~~\xi <0~~{\text{ and }}~~s\geq {\tfrac {1}{\ |\ \xi \ |\ }}\ ;\end{cases}}}$

where ${\displaystyle \ \xi \ ,}$ the shape parameter, can be any real number. Thus, for ${\displaystyle \ \xi >0\ ,}$ the expression is valid for ${\displaystyle \ s>-{\tfrac {\ 1\ }{\xi }}\ ,}$ while for ${\displaystyle \ \xi <0\ }$ it is valid for ${\displaystyle \ s<-{\tfrac {\ 1\ }{\xi }}~.}$ In the first case, ${\displaystyle \ -{\tfrac {\ 1\ }{\xi }}\ }$ is the negative, lower end-point, where ${\displaystyle \ F\ }$ is  0 ; in the second case, ${\displaystyle \ -{\tfrac {\ 1\ }{\xi }}\ }$ is the positive, upper end-point, where ${\displaystyle F}$ is 1. For ${\displaystyle \ \xi =0\ }$ the second expression is formally undefined and is replaced with the first expression, which is the result of taking the limit of the second, as ${\displaystyle \ \xi \to 0\ }$ in which case ${\displaystyle \ s\ }$ can be any real number.

In the special case of ${\displaystyle \ x=\mu \ ,}$ so ${\displaystyle \ s=0\ }$ and ${\displaystyle \ F(\ 0;\ \xi \ )=e^{-1}\ \approx 0.368\ }$ for whatever values ${\displaystyle \ \xi \ }$ and ${\displaystyle \ \sigma \ }$ might have.

The probability density function of the standardized distribution is

${\displaystyle f(\ s;\ \xi \ )={\begin{cases}e^{-s}\exp \!{\Bigl (}-e^{-s}{\Bigr )}&~~{\text{ for }}~~\xi =0,\\{}\\{\Bigl (}\ 1+\xi s\ {\Bigr )}^{-\left(1+{\tfrac {\ 1\ }{\xi }}\right)}\ \exp \!{\Bigl (}-\left(1+\xi s\right)^{\tfrac {\ 1\ }{\xi }}{\Bigr )}&~~{\text{ for }}~~\xi \neq 0~~{\text{ and }}~~\xi \ s>-1\ ,\\{}\\0&~~{\text{ otherwise; }}\end{cases}}}$

again valid for ${\displaystyle \ s>-{\tfrac {\ 1\ }{\xi }}\ }$ in the case ${\displaystyle \ \xi >0\ ,}$ and for ${\displaystyle \ s<-{\tfrac {\ 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 \!{\Bigl (}-\log(p)\ {\Bigr )}&~{\text{ for }}~\xi =0~{\text{ and }}~p\in (\ 0\ ,\ 1\ )\ ,\\{}\\\mu +\displaystyle {\frac {\ \sigma \ }{\ \xi \ }}\left({\Bigl (}-\log(p)\ {\Bigr )}^{-\xi }-1\right)&~{\text{ for }}~\xi >0~{\text{ and }}~p\in [\ 0\ ,\ 1\ )\ ,\\{}&~~{\text{ or }}~\,\xi <0~{\text{ and }}~p\in \ (\ 0\ ,\ 1\ ]\ ;\end{cases}}}$

and therefore the quantile density function, ${\displaystyle \ q\equiv {\frac {\;\mathrm {d} \ Q\;}{\mathrm {d} \ p}}\ ,}$ is

${\displaystyle \ q(\ p;\ \sigma ,\ \xi \ )={\frac {\sigma }{\ {\Bigl (}-\log(p)\ {\Bigr )}^{\xi +1}\ p\;}}\quad {\text{ for }}~~p\in (\ 0\ ,\ 1\ )\ ,}$

valid for ${\displaystyle \ \sigma >0\ }$ and for any real ${\displaystyle \ \xi ~.}$

## Summary statistics

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

${\displaystyle \operatorname {E} (X)=\mu +(g_{1}-1){\frac {\sigma }{\xi }}}$ for ${\displaystyle \xi <1}$
${\displaystyle \operatorname {Var} (X)=(g_{2}-g_{1}^{2}){\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 )}$, ${\displaystyle 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 three cases: ${\displaystyle \ \xi =0\ ,}$ ${\displaystyle \ \xi >0\ ,}$ and ${\displaystyle \ \xi <0\ ;}$ these correspond, respectively, to the Gumbel, Fréchet, and Weibull families, whose cumulative distribution functions are displayed below.

• Type I or Gumbel extreme value distribution, case ${\displaystyle ~\xi =0\ ,\quad }$ for all ${\displaystyle \quad x\in {\Bigl (}\ -\infty \ ,\ +\infty \ {\Bigr )}\ :}$
${\displaystyle F(\ x;\ \mu ,\ \sigma ,\ 0\ )=\exp \left(-\exp \left(-{\frac {\ x-\mu \ }{\sigma }}\right)\right)~.}$
• Type II or Fréchet extreme value distribution, case ${\displaystyle ~\xi >0\ ,\quad }$ for all ${\displaystyle \quad x\in \left(\ \mu -{\tfrac {\sigma }{\ \xi \ }}\ ,\ +\infty \ \right)\ :}$
Let ${\displaystyle \quad \alpha \equiv {\tfrac {\ 1\ }{\xi }}>0\quad }$ and ${\displaystyle \quad y\equiv 1+{\tfrac {\xi }{\sigma }}(x-\mu )\ ;}$
${\displaystyle F(\ x;\ \mu ,\ \sigma ,\ \xi \ )={\begin{cases}0&y\leq 0\quad {\mathsf {~or\ equiv.~}}\quad x\leq \mu -{\tfrac {\sigma }{\ \xi \ }}\\\exp \left(-{\frac {1}{~y^{\alpha }\ }}\right)&y>0\quad {\mathsf {~or\ equiv.~}}\quad x>\mu -{\tfrac {\sigma }{\ \xi \ }}~.\end{cases}}}$
• Type III or reversed Weibull extreme value distribution, case ${\displaystyle ~\xi <0\ ,\quad }$ for all ${\displaystyle \quad x\in \left(-\infty \ ,\ \mu +{\tfrac {\sigma }{\ |\ \xi \ |\ }}\ \right)\ :}$
Let ${\displaystyle \quad \alpha \equiv -{\tfrac {1}{\ \xi \ }}>0\quad }$ and ${\displaystyle \quad y\equiv 1-{\tfrac {\ |\ \xi \ |\ }{\sigma }}(x-\mu )\ ;}$
${\displaystyle F(\ x;\ \mu ,\ \sigma ,\ \xi \ )={\begin{cases}\exp \left(-y^{\alpha }\right)&y>0\quad {\mathsf {~or\ equiv.~}}\quad x<\mu +{\tfrac {\sigma }{\ |\ \xi \ |\ }}\\1&y\leq 0\quad {\mathsf {~or\ equiv.~}}\quad x\geq \mu +{\tfrac {\sigma }{\ |\ \xi \ |\ }}~.\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 ${\displaystyle \ -x\;}$ for ${\displaystyle \;x\;}$ in the distribution function, and subtracting the cumulative distribution from one: That is, replace ${\displaystyle \ F(x)\ }$ with ${\displaystyle \ 1-F(-x)\ }$ . Doing so yields yet another 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 formulation of extreme value theory here. This arises because the ordinary Weibull distribution is used for 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, whereas 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 in 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 ,\ {\tfrac {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 ,\ {\tfrac {\ 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.[8][9]
• 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.[11]
• In hydrology the GEV distribution is applied to extreme events such as annual maximum one-day rainfalls and river discharges.[12] The blue picture, made with CumFreq, illustrates an example of fitting the GEV distribution to ranked annually maximum one-day rainfalls showing also the 90% confidence belt based on the binomial distribution. The rainfall data are represented by plotting positions as part of the cumulative frequency analysis.

### Example for Normally distributed variables

Let ${\displaystyle (X_{i})_{i\in [n]}}$ be i.i.d. normally distributed random variables with mean 0 and variance 1. The Fisher–Tippett–Gnedenko theorem tells us that ${\displaystyle \max _{i\in [n]}X_{i}\sim GEV(\mu _{n},\sigma _{n},0)}$, where

{\displaystyle {\begin{aligned}\mu _{n}&=\Phi ^{-1}\left(1-{\frac {1}{n}}\right)\\\sigma _{n}&=\Phi ^{-1}\left(1-{\frac {1}{n}}\cdot \mathrm {e} ^{-1}\right)-\Phi ^{-1}\left(1-{\frac {1}{n}}\right)\end{aligned}}}.

This allow us to estimate e.g. the mean of ${\displaystyle \max _{i\in [n]}X_{i}}$ from the mean of the GEV distribution:

{\displaystyle {\begin{aligned}E\left[\max _{i\in [n]}X_{i}\right]&\approx \mu _{n}+\gamma \sigma _{n}\\&=(1-\gamma )\Phi ^{-1}(1-1/n)+\gamma \Phi ^{-1}(1-1/(en))\\&={\sqrt {\log \left({\frac {n^{2}}{2\pi \log \left({\frac {n^{2}}{2\pi }}\right)}}\right)}}\cdot \left(1+{\frac {\gamma }{\log(n)}}+{\mathcal {o}}\left({\frac {1}{\log(n)}}\right)\right)\end{aligned}},} where ${\displaystyle \gamma }$ is the Euler–Mascheroni constant.

## Related distributions

1. If ${\displaystyle X\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,\xi )}$ then ${\displaystyle mX+b\sim {\textrm {GEV}}(m\mu +b,\,m\sigma ,\,\xi )}$
2. If ${\displaystyle X\sim {\textrm {Gumbel}}(\mu ,\,\sigma )}$ (Gumbel distribution) then ${\displaystyle X\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$
3. If ${\displaystyle X\sim {\textrm {Weibull}}(\sigma ,\,\mu )}$ (Weibull distribution) then ${\displaystyle \mu \left(1-\sigma \log {\tfrac {X}{\sigma }}\right)\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$
4. 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)
5. If ${\displaystyle X\sim {\textrm {Exponential}}(1)\,}$ (Exponential distribution) then ${\displaystyle \mu -\sigma \log X\sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$
6. 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).
7. 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(\operatorname {Logistic} (2\alpha ,\beta )\right)}$.

### Proofs

4. Let ${\displaystyle X\sim {\textrm {Weibull}}(\sigma ,\,\mu )}$, then the cumulative distribution of ${\displaystyle g(x)=\mu \left(1-\sigma \log {\frac {X}{\sigma }}\right)}$ is:

{\displaystyle {\begin{aligned}P(\mu \left(1-\sigma \log {\frac {X}{\sigma }}\right)

which is the cdf for ${\displaystyle \sim {\textrm {GEV}}(\mu ,\,\sigma ,\,0)}$.

5. Let ${\displaystyle X\sim {\textrm {Exponential}}(1)}$, then the cumulative distribution of ${\displaystyle g(X)=\mu -\sigma \log X}$ is:

{\displaystyle {\begin{aligned}P(\mu -\sigma \log X

which is the cumulative distribution of ${\displaystyle \operatorname {GEV} (\mu ,\sigma ,0)}$.

## References

1. ^ a b Muraleedharan. G, C. Guedes Soares and Cláudia Lucas (2011). "Characteristic and Moment Generating Functions of Generalised Extreme Value Distribution (GEV)". In Linda. L. Wright (Ed.), Sea Level Rise, Coastal Engineering, Shorelines and Tides, Chapter-14, pp. 269–276. Nova Science Publishers. ISBN 978-1-61728-655-1
2. ^ Norton, Matthew; Khokhlov, Valentyn; Uryasev, Stan (2019). "Calculating CVaR and bPOE for common probability distributions with application to portfolio optimization and density estimation" (PDF). Annals of Operations Research. Springer. 299 (1–2): 1281–1315. arXiv:1811.11301. doi:10.1007/s10479-019-03373-1. S2CID 254231768. Retrieved 2023-02-27.
3. ^ Weisstein, Eric W. "Extreme Value Distribution". mathworld.wolfram.com. Retrieved 2021-08-06.
4. ^ Haan, Laurens; Ferreira, Ana (2007). Extreme value theory: an introduction. Springer.
5. ^ Jenkinson, Arthur F (1955). "The frequency distribution of the annual maximum (or minimum) values of meteorological elements". Quarterly Journal of the Royal Meteorological Society. 81 (348): 158–171. Bibcode:1955QJRMS..81..158J. doi:10.1002/qj.49708134804.
6. ^ Haan, Laurens; Ferreira, Ana (2007). Extreme value theory: an introduction. Springer.
7. ^ von Mises, R. (1936). "La distribution de la plus grande de n valeurs". Rev. Math. Union Interbalcanique 1: 141–160.
8. ^ Moscadelli, Marco. "The modelling of operational risk: experience with the analysis of the data collected by the Basel Committee." Available at SSRN 557214 (2004).
9. ^ Guégan, D.; Hassani, B.K. (2014), "A mathematical resurgence of risk management: an extreme modeling of expert opinions", Frontiers in Finance and Economics, 11 (1): 25–45, SSRN 2558747
10. ^ CumFreq for probability distribution fitting [1]
11. ^ Kjersti Aas, lecture, NTNU, Trondheim, 23 Jan 2008
12. ^ Liu, Xin; Wang, Yu (2022). "Quantifying annual occurrence probability of rainfall-induced landslide at a specific slope". Computers and Geotechnics. 149: 104877. doi:10.1016/j.compgeo.2022.104877. S2CID 250232752.