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.

PDF

00.10.20.3−5−2.502.557.5f(x)mean

CDF

00.250.50.751−5−2.502.557.5F(x)

mean 0.5772 · variance 1.645 · sd 1.283 · mode 0 · entropy 1.577 nats

Formulas

Parameters
  • , the location (mode)
  • , the scale
Support
PDF
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

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?

← GompertzFréchet →