Continuous distribution · also called extreme value type I
Gumbel distribution
The maximum of many independent values with light (exponential-type) tails: the highest flood of the year, the strongest gust, the longest delay. Engineers use it to size dams and sea walls for the "100-year" event, and machine learning uses it in the Gumbel-max trick for sampling categories.
Gumbel probability calculator
P(X ≤ 0.37) = 0.501208
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.5772 · variance 1.645 · sd 1.283 · mode 0 · entropy 1.577 nats
Formulas
| Parameters |
|
|---|---|
| Support | |
| CDF | |
| Mean | |
| Variance | |
| Mode | |
| MGF | |
| Entropy |
Worked example
A river's annual maximum flow is Gumbel with and m³/s. What flow is exceeded on average once in 100 years?
Solve : answer checked by code
How it relates to others
- Transformation← Exponential: If is Exponential(), is standard Gumbel. (The Gumbel is also the limit of the maximum of exponentials, shifted by .) checked by code
- Transformation→ Logistic: The difference of two independent standard Gumbel variables is standard Logistic: why the Gumbel-max trick reproduces logit choice models. checked by code
- Special case← Generalized extreme value: GEV() is Gumbel(). checked by code
All the relationships, as a diagram →
In Python
from scipy import stats
import numpy as np
X = stats.gumbel_r(loc=0, scale=1)
X.pdf(0.5) # f(0.5) = 0.3307
X.cdf(0.5) # P(X ≤ 0.5) = 0.5452
X.mean(), X.var() # 0.5772, 1.645
X.ppf(0.95) # 95th percentile
X.rvs(size=10, random_state=0)
rng = np.random.default_rng(0)
rng.gumbel(loc=0, scale=1, size=10)gumbel_r is the maximum form shown here; gumbel_l is its mirror image, for minima.
Choosing between this and its neighbours? Which distribution for extremes and heavy tails?