Continuous distribution · also called GEV, Fisher–Tippett
Generalized extreme value distribution
The distribution of the largest of many independent values (the maximum of a block: the highest daily rainfall in a year, the strongest wind gust in a month). The Fisher–Tippett–Gnedenko theorem says that, suitably scaled, such maxima can only tend to this family. The shape sets the tail: is the heavy-tailed Fréchet type, the Gumbel, and the reversed Weibull, with a finite upper end. Hydrologists and insurers fit it to annual maxima to estimate return levels.
Generalized extreme value probability calculator
P(X ≤ 0.37) = 0.498893
At the parameters set by the sliders. The shaded region on the plot is the probability; the dots on the CDF mark F at its ends.
CDF
mean 0.6863 · variance 2.226 · sd 1.492 · mode −0.09486 · entropy 1.635 nats
Formulas
| Parameters |
|
|---|---|
| Support | |
| CDF | |
| Mean | |
| Variance | |
| Mode | |
| Entropy |
The mean is infinite for and the variance for . Sign warning: SciPy's genextreme uses c , so a heavy tail has negative c there. The quantile (return level) is .
Worked example
Annual maximum daily rainfall at a station is GEV with mm, mm and . What is the 100-year return level?
The level exceeded with probability 0.01 in any year is the 0.99 quantile: A Gumbel fit () would give mm: the shape matters most far out in the tail. answer checked by code
How it relates to others
- Special case→ Gumbel: GEV() is Gumbel(). checked by code
- Special case→ Fréchet: For , GEV() is Fréchet(, , ). checked by code
- Transformation→ Weibull: For , if is GEV() then is Weibull(, ): the reversed Weibull, with a finite upper end. checked by code
All the relationships, as a diagram →
In Python
from scipy import stats
import numpy as np
X = stats.genextreme(c=-0.1, loc=0, scale=1)
X.pdf(1.5) # f(1.5) = 0.1679
X.cdf(1.5) # P(X ≤ 1.5) = 0.781
X.mean(), X.var() # 0.6863, 2.226
X.ppf(0.95) # 95th percentile
X.rvs(size=10, random_state=0)
rng = np.random.default_rng(0)
0 + 1 * ((-np.log(rng.uniform(size=10))) ** -0.1 - 1) / 0.1SciPy's c is −ξ. NumPy has no GEV sampler; this inverts the CDF.
Choosing between this and its neighbours? Which distribution for extremes and heavy tails?