Gumbel distribution explained

In probability theory and statistics, the Gumbel distribution (also known as the type-I generalized extreme value distribution) is used to model the distribution of the maximum (or the minimum) of a number of samples of various distributions.

This distribution might be used to represent the distribution of the maximum level of a river in a particular year if there was a list of maximum values for the past ten years. It is useful in predicting the chance that an extreme earthquake, flood or other natural disaster will occur. The potential applicability of the Gumbel distribution to represent the distribution of maxima relates to extreme value theory, which indicates that it is likely to be useful if the distribution of the underlying sample data is of the normal or exponential type.

The Gumbel distribution is a particular case of the generalized extreme value distribution (also known as the Fisher–Tippett distribution). It is also known as the log-Weibull distribution and the double exponential distribution (a term that is alternatively sometimes used to refer to the Laplace distribution). It is related to the Gompertz distribution: when its density is first reflected about the origin and then restricted to the positive half line, a Gompertz function is obtained.

In the latent variable formulation of the multinomial logit model — common in discrete choice theory — the errors of the latent variables follow a Gumbel distribution. This is useful because the difference of two Gumbel-distributed random variables has a logistic distribution.

The Gumbel distribution is named after Emil Julius Gumbel (1891 - 1966), based on his original papers describing the distribution.[1]

Definitions

The cumulative distribution function of the Gumbel distribution is

F(x;\mu,\beta)=

-e-(x-\mu)/\beta
e

Standard Gumbel distribution

The standard Gumbel distribution is the case where

\mu=0

and

\beta=1

with cumulative distribution function

F(x)=

-e(-x)
e

and probability density function

f(x)=

-(x+e-x)
e

.

In this case the mode is 0, the median is

-ln(ln(2))0.3665

, the mean is

\gamma0.5772

(the Euler - Mascheroni constant), and the standard deviation is

\pi/\sqrt{6}1.2825.

The cumulants, for n > 1, are given by

\kappan=(n-1)!\zeta(n).

Properties

The mode is μ, while the median is

\mu-\betaln\left(ln2\right),

and the mean is given by

\operatorname{E}(X)=\mu+\gamma\beta

,where

\gamma

is the Euler–Mascheroni constant.

The standard deviation

\sigma

is

\beta\pi/\sqrt{6}

hence

\beta=\sigma\sqrt{6}/\pi0.78\sigma.

At the mode, where

x=\mu

, the value of

F(x;\mu,\beta)

becomes

e-10.37

, irrespective of the value of

\beta.

If

G1,...,Gk

are iid Gumbel random variables with parameters

(\mu,\beta)

then

max\{G1,...,Gk\}

is also a Gumbel random variable with parameters

(\mu+\betalnk,\beta)

.

If

G1,G2,...

are iid random variables such that

max\{G1,...,Gk\}-\betalnk

has the same distribution as

G1

for all natural numbers

k

, then

G1

is necessarily Gumbel distributed with scale parameter

\beta

(actually it suffices to consider just two distinct values of k>1 which are coprime).

Related distributions

X

has a Gumbel distribution, then the conditional distribution of Y = -X given that Y is positive, or equivalently given that X is negative, has a Gompertz distribution. The cdf G of Y is related to F, the cdf of X, by the formula

G(y)=P(Y\ley)=P(X\ge-y\midX\le0)=(F(0)-F(-y))/F(0)

for y > 0. Consequently, the densities are related by

g(y)=f(-y)/F(0)

: the Gompertz density is proportional to a reflected Gumbel density, restricted to the positive half-line.[2]

X\simGumbel(\alphaX,\beta)

and

Y\simGumbel(\alphaY,\beta)

are independent, then

X-Y\simLogistic(\alphaX-\alphaY,\beta)

(see Logistic distribution).

X,Y\simGumbel(\alpha,\beta)

are independent, then

X+Y\nsimLogistic(2\alpha,\beta)

. Note that

E(X+Y)=2\alpha+2\beta\gamma2\alpha=E\left(Logistic(2\alpha,\beta)\right)

. More generally, the distribution of linear combinations of independent Gumbel random variables can be approximated by GNIG and GIG distributions.[3] Theory related to the generalized multivariate log-gamma distribution provides a multivariate version of the Gumbel distribution.

Occurrence and applications

Gumbel has shown that the maximum value (or last order statistic) in a sample of random variables following an exponential distribution minus the natural logarithm of the sample size [4] approaches the Gumbel distribution as the sample size increases.[5]

Concretely, let

\rho(x)=e-x

be the probability distribution of

x

and

Q(x)=1-e-x

its cumulative distribution. Then the maximum value out of

N

realizations of

x

is smaller than

X

if and only if all realizations are smaller than

X

. So the cumulative distribution of the maximum value

\tilde{x}

satisfies

P(\tilde{x}-log(N)\leX)=P(\tilde{x}\leX+log(N))=[Q(X+log(N))]N=\left(1-

e-X
N

\right)N,

and, for large

N

, the right-hand-side converges to
-e(-X)
e

.

In hydrology, therefore, the Gumbel distribution is used to analyze such variables as monthly and annual maximum values of daily rainfall and river discharge volumes,[6] and also to describe droughts.[7] Gumbel has also shown that the estimator for the probability of an event - where r is the rank number of the observed value in the data series and n is the total number of observations - is an unbiased estimator of the cumulative probability around the mode of the distribution. Therefore, this estimator is often used as a plotting position.

In number theory, the Gumbel distribution approximates the number of terms in a random partition of an integer[8] as well as the trend-adjusted sizes of maximal prime gaps and maximal gaps between prime constellations.[9]

It appears in the coupon collector's problem.

Gumbel reparametrization tricks

In machine learning, the Gumbel distribution is sometimes employed to generate samples from the categorical distribution. This technique is called "Gumbel-max trick" and is a special example of "reparametrization tricks".[10]

In detail, let

(\pi1,\ldots,\pin)

be nonnegative, and not all zero, and let

g1,\ldots,gn

be independent samples of Gumbel(0, 1), then by routine integration,Pr(j = \arg\max_i (g_i + \log\pi_i)) = \fracThat is,

\argmaxi(gi+log\pii)\simCategorical\left(

\pij
\sumi\pii

\right)j

Equivalently, given any

x1,...,xn\in\R

, we can sample from its Boltzmann distribution by

Pr(j = \arg\max_i (g_i + x_i)) = \fracRelated equations include:[11]

x\sim\operatorname{Exp}(λ)

, then

(-lnx-\gamma)\simGumbel(-\gamma+lnλ,1)

.

\argmaxi(gi+log\pii)\simCategorical\left(

\pij
\sumi\pii

\right)j

.

maxi(gi+log\pii)\simGumbel\left(log\left(\sumi\pii\right),1\right)

. That is, the Gumbel distribution is a max-stable distribution family.

E[maxi(gi+\betaxi)]=log\left(\sumi

\betaxi
e

\right)+\gamma.

Random variate generation

Since the quantile function (inverse cumulative distribution function),

Q(p)

, of a Gumbel distribution is given by

Q(p)=\mu-\betaln(-ln(p)),

the variate

Q(U)

has a Gumbel distribution with parameters

\mu

and

\beta

when the random variate

U

is drawn from the uniform distribution on the interval

(0,1)

.

Probability paper

In pre-software times probability paper was used to picture the Gumbel distribution (see illustration). The paper is based on linearization of the cumulative distribution function

F

:

-ln[-ln(F)]=

x-\mu
\beta
In the paper the horizontal axis is constructed at a double log scale. The vertical axis is linear. By plotting

F

on the horizontal axis of the paper and the

x

-variable on the vertical axis, the distribution is represented by a straight line with a slope 1

/\beta

. When distribution fitting software like CumFreq became available, the task of plotting the distribution was made easier.

See also

Notes and References

  1. Gumbel E.J. (1941). "The return period of flood flows". The Annals of Mathematical Statistics, 12, 163–190.
  2. 10.1016/j.insmatheco.2006.07.003 . Rational reconstruction of frailty-based mortality models by a generalisation of Gompertz' law of mortality . 2007 . Willemse . W.J. . Kaas . R. . Insurance: Mathematics and Economics . 40 . 3 . 468 . 2019-09-24 . 2017-08-09 . https://web.archive.org/web/20170809050854/https://www.dnb.nl/binaries/Working%20Paper%20135-2007_tcm46-146792.pdf . dead .
  3. Marques. F.. Coelho. C.. de Carvalho. M.. On the distribution of linear combinations of independent Gumbel random variables . Statistics and Computing. 2015. 25 . 3 . 683‒701. 10.1007/s11222-014-9453-5 . 255067312 .
  4. Web site: Gumbel distribution and exponential distribution. Mathematics Stack Exchange.
  5. Book: Gumbel, E.J. . 1954 . B0007DSHG4 . Statistical theory of extreme values and some practical applications . Applied Mathematics Series . 33 . 1st . U.S. Department of Commerce, National Bureau of Standards.
  6. Book: Ritzema . H.P. . R.J. . Oosterbaan . Chapter 6 Frequency and Regression Analysis . 1994 . Drainage Principles and Applications, Publication 16 . International Institute for Land Reclamation and Improvement (ILRI) . Wageningen, The Netherlands . 175–224 . http://www.waterlog.info/pdf/freqtxt.pdf . 90-70754-33-9 .
  7. 10.1016/j.jhydrol.2010.04.035 . An extreme value analysis of UK drought and projections of change in the future . 2010 . Burke . Eleanor J. . Perry . Richard H.J. . Brown . Simon J. . Journal of Hydrology . 388 . 1–2 . 131–143 . 2010JHyd..388..131B.
  8. 10.1215/S0012-7094-41-00826-8 . The distribution of the number of summands in the partitions of a positive integer . 1941 . Erdös . Paul . Lehner . Joseph . Duke Mathematical Journal . 8 . 2 . 335.
  9. 1301.2242 . Kourbatov . A. . Maximal gaps between prime k-tuples: a statistical approach . Journal of Integer Sequences . 16 . 2013. 2013arXiv1301.2242K . Article 13.5.2.
  10. Eric . Jang . Shixiang . Gu . Ben . Poole . April 2017 . Categorical Reparametrization with Gumble-Softmax . International Conference on Learning Representations (ICLR) 2017.
  11. Balog . Matej . Tripuraneni . Nilesh . Ghahramani . Zoubin . Weller . Adrian . 2017-07-17 . Lost Relatives of the Gumbel Trick . International Conference on Machine Learning . en . PMLR . 371–379. 1706.04161 .