- Source: Gumbel distribution
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.
Definitions
The cumulative distribution function of the Gumbel distribution is
F
(
x
;
μ
,
β
)
=
e
−
e
−
(
x
−
μ
)
/
β
{\displaystyle F(x;\mu ,\beta )=e^{-e^{-(x-\mu )/\beta }}\,}
= Standard Gumbel distribution
=The standard Gumbel distribution is the case where
μ
=
0
{\displaystyle \mu =0}
and
β
=
1
{\displaystyle \beta =1}
with cumulative distribution function
F
(
x
)
=
e
−
e
(
−
x
)
{\displaystyle F(x)=e^{-e^{(-x)}}\,}
and probability density function
f
(
x
)
=
e
−
(
x
+
e
−
x
)
.
{\displaystyle f(x)=e^{-(x+e^{-x})}.}
In this case the mode is 0, the median is
−
ln
(
ln
(
2
)
)
≈
0.3665
{\displaystyle -\ln(\ln(2))\approx 0.3665}
, the mean is
γ
≈
0.5772
{\displaystyle \gamma \approx 0.5772}
(the Euler–Mascheroni constant), and the standard deviation is
π
/
6
≈
1.2825.
{\displaystyle \pi /{\sqrt {6}}\approx 1.2825.}
The cumulants, for n > 1, are given by
κ
n
=
(
n
−
1
)
!
ζ
(
n
)
.
{\displaystyle \kappa _{n}=(n-1)!\zeta (n).}
Properties
The mode is μ, while the median is
μ
−
β
ln
(
ln
2
)
,
{\displaystyle \mu -\beta \ln \left(\ln 2\right),}
and the mean is given by
E
(
X
)
=
μ
+
γ
β
{\displaystyle \operatorname {E} (X)=\mu +\gamma \beta }
,
where
γ
{\displaystyle \gamma }
is the Euler–Mascheroni constant.
The standard deviation
σ
{\displaystyle \sigma }
is
β
π
/
6
{\displaystyle \beta \pi /{\sqrt {6}}}
hence
β
=
σ
6
/
π
≈
0.78
σ
.
{\displaystyle \beta =\sigma {\sqrt {6}}/\pi \approx 0.78\sigma .}
At the mode, where
x
=
μ
{\displaystyle x=\mu }
, the value of
F
(
x
;
μ
,
β
)
{\displaystyle F(x;\mu ,\beta )}
becomes
e
−
1
≈
0.37
{\displaystyle e^{-1}\approx 0.37}
, irrespective of the value of
β
.
{\displaystyle \beta .}
If
G
1
,
.
.
.
,
G
k
{\displaystyle G_{1},...,G_{k}}
are iid Gumbel random variables with parameters
(
μ
,
β
)
{\displaystyle (\mu ,\beta )}
then
max
{
G
1
,
.
.
.
,
G
k
}
{\displaystyle \max\{G_{1},...,G_{k}\}}
is also a Gumbel random variable with parameters
(
μ
+
β
ln
k
,
β
)
{\displaystyle (\mu +\beta \ln k,\beta )}
.
If
G
1
,
G
2
,
.
.
.
{\displaystyle G_{1},G_{2},...}
are iid random variables such that
max
{
G
1
,
.
.
.
,
G
k
}
−
β
ln
k
{\displaystyle \max\{G_{1},...,G_{k}\}-\beta \ln k}
has the same distribution as
G
1
{\displaystyle G_{1}}
for all natural numbers
k
{\displaystyle k}
, then
G
1
{\displaystyle G_{1}}
is necessarily Gumbel distributed with scale parameter
β
{\displaystyle \beta }
(actually it suffices to consider just two distinct values of k>1 which are coprime).
Related distributions
If
X
{\displaystyle 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
≤
y
)
=
P
(
X
≥
−
y
∣
X
≤
0
)
=
(
F
(
0
)
−
F
(
−
y
)
)
/
F
(
0
)
{\displaystyle G(y)=P(Y\leq y)=P(X\geq -y\mid X\leq 0)=(F(0)-F(-y))/F(0)}
for y > 0. Consequently, the densities are related by
g
(
y
)
=
f
(
−
y
)
/
F
(
0
)
{\displaystyle g(y)=f(-y)/F(0)}
: the Gompertz density is proportional to a reflected Gumbel density, restricted to the positive half-line.
If X is an exponentially distributed variable with mean 1, then −log(X) has a standard Gumbel distribution.
If
X
∼
G
u
m
b
e
l
(
α
X
,
β
)
{\displaystyle X\sim \mathrm {Gumbel} (\alpha _{X},\beta )}
and
Y
∼
G
u
m
b
e
l
(
α
Y
,
β
)
{\displaystyle Y\sim \mathrm {Gumbel} (\alpha _{Y},\beta )}
are independent, then
X
−
Y
∼
L
o
g
i
s
t
i
c
(
α
X
−
α
Y
,
β
)
{\displaystyle X-Y\sim \mathrm {Logistic} (\alpha _{X}-\alpha _{Y},\beta )\,}
(see Logistic distribution).
Despite this, if
X
,
Y
∼
G
u
m
b
e
l
(
α
,
β
)
{\displaystyle X,Y\sim \mathrm {Gumbel} (\alpha ,\beta )}
are independent, then
X
+
Y
≁
L
o
g
i
s
t
i
c
(
2
α
,
β
)
{\displaystyle X+Y\nsim \mathrm {Logistic} (2\alpha ,\beta )}
. This can easily be seen by noting that
E
(
X
+
Y
)
=
2
α
+
2
β
γ
≠
2
α
=
E
(
L
o
g
i
s
t
i
c
(
2
α
,
β
)
)
{\displaystyle E(X+Y)=2\alpha +2\beta \gamma \neq 2\alpha =E\left(\mathrm {Logistic} (2\alpha ,\beta )\right)}
(where
γ
{\displaystyle \gamma }
is the Euler-Mascheroni constant). Instead, the distribution of linear combinations of independent Gumbel random variables can be approximated by GNIG and GIG distributions.
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 approaches the Gumbel distribution as the sample size increases.
Concretely, let
ρ
(
x
)
=
e
−
x
{\displaystyle \rho (x)=e^{-x}}
be the probability distribution of
x
{\displaystyle x}
and
Q
(
x
)
=
1
−
e
−
x
{\displaystyle Q(x)=1-e^{-x}}
its cumulative distribution. Then the maximum value out of
N
{\displaystyle N}
realizations of
x
{\displaystyle x}
is smaller than
X
{\displaystyle X}
if and only if all realizations are smaller than
X
{\displaystyle X}
. So the cumulative distribution of the maximum value
x
~
{\displaystyle {\tilde {x}}}
satisfies
P
(
x
~
−
log
(
N
)
≤
X
)
=
P
(
x
~
≤
X
+
log
(
N
)
)
=
[
Q
(
X
+
log
(
N
)
)
]
N
=
(
1
−
e
−
X
N
)
N
,
{\displaystyle P({\tilde {x}}-\log(N)\leq X)=P({\tilde {x}}\leq X+\log(N))=[Q(X+\log(N))]^{N}=\left(1-{\frac {e^{-X}}{N}}\right)^{N},}
and, for large
N
{\displaystyle N}
, the right-hand-side converges to
e
−
e
(
−
X
)
.
{\displaystyle e^{-e^{(-X)}}.}
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, and also to describe droughts.
Gumbel has also shown that the estimator r⁄(n+1) 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 as well as the trend-adjusted sizes of maximal prime gaps and maximal gaps between prime constellations.
It appears in the coupon collector's problem.
= Gumbel reparameterization 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 "reparameterization tricks".
In detail, let
(
π
1
,
…
,
π
n
)
{\displaystyle (\pi _{1},\ldots ,\pi _{n})}
be nonnegative, and not all zero, and let
g
1
,
…
,
g
n
{\displaystyle g_{1},\ldots ,g_{n}}
be independent samples of Gumbel(0, 1), then by routine integration,
P
r
(
j
=
arg
max
i
(
g
i
+
log
π
i
)
)
=
π
j
∑
i
π
i
{\displaystyle Pr(j=\arg \max _{i}(g_{i}+\log \pi _{i}))={\frac {\pi _{j}}{\sum _{i}\pi _{i}}}}
That is,
arg
max
i
(
g
i
+
log
π
i
)
∼
Categorical
(
π
j
∑
i
π
i
)
j
{\displaystyle \arg \max _{i}(g_{i}+\log \pi _{i})\sim {\text{Categorical}}\left({\frac {\pi _{j}}{\sum _{i}\pi _{i}}}\right)_{j}}
Equivalently, given any
x
1
,
.
.
.
,
x
n
∈
R
{\displaystyle x_{1},...,x_{n}\in \mathbb {R} }
, we can sample from its Boltzmann distribution by
P
r
(
j
=
arg
max
i
(
g
i
+
x
i
)
)
=
e
x
j
∑
i
e
x
i
{\displaystyle Pr(j=\arg \max _{i}(g_{i}+x_{i}))={\frac {e^{x_{j}}}{\sum _{i}e^{x_{i}}}}}
Related equations include:
If
x
∼
Exp
(
λ
)
{\displaystyle x\sim \operatorname {Exp} (\lambda )}
, then
(
−
ln
x
−
γ
)
∼
Gumbel
(
−
γ
+
ln
λ
,
1
)
{\displaystyle (-\ln x-\gamma )\sim {\text{Gumbel}}(-\gamma +\ln \lambda ,1)}
.
arg
max
i
(
g
i
+
log
π
i
)
∼
Categorical
(
π
j
∑
i
π
i
)
j
{\displaystyle \arg \max _{i}(g_{i}+\log \pi _{i})\sim {\text{Categorical}}\left({\frac {\pi _{j}}{\sum _{i}\pi _{i}}}\right)_{j}}
.
max
i
(
g
i
+
log
π
i
)
∼
Gumbel
(
log
(
∑
i
π
i
)
,
1
)
{\displaystyle \max _{i}(g_{i}+\log \pi _{i})\sim {\text{Gumbel}}\left(\log \left(\sum _{i}\pi _{i}\right),1\right)}
. That is, the Gumbel distribution is a max-stable distribution family.
E
[
max
i
(
g
i
+
β
x
i
)
]
=
log
(
∑
i
e
β
x
i
)
+
γ
.
{\displaystyle \mathbb {E} [\max _{i}(g_{i}+\beta x_{i})]=\log \left(\sum _{i}e^{\beta x_{i}}\right)+\gamma .}
Random variate generation
Since the quantile function (inverse cumulative distribution function),
Q
(
p
)
{\displaystyle Q(p)}
, of a Gumbel distribution is given by
Q
(
p
)
=
μ
−
β
ln
(
−
ln
(
p
)
)
,
{\displaystyle Q(p)=\mu -\beta \ln(-\ln(p)),}
the variate
Q
(
U
)
{\displaystyle Q(U)}
has a Gumbel distribution with parameters
μ
{\displaystyle \mu }
and
β
{\displaystyle \beta }
when the random variate
U
{\displaystyle U}
is drawn from the uniform distribution on the interval
(
0
,
1
)
{\displaystyle (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
{\displaystyle F}
:
−
ln
[
−
ln
(
F
)
]
=
x
−
μ
β
{\displaystyle -\ln[-\ln(F)]={\frac {x-\mu }{\beta }}}
In the paper the horizontal axis is constructed at a double log scale. The vertical axis is linear. By plotting
F
{\displaystyle F}
on the horizontal axis of the paper and the
x
{\displaystyle x}
-variable on the vertical axis, the distribution is represented by a straight line with a slope 1
/
β
{\displaystyle /\beta }
. When distribution fitting software like CumFreq became available, the task of plotting the distribution was made easier.
See also
Type-2 Gumbel distribution
Extreme value theory
Generalized extreme value distribution
Fisher–Tippett–Gnedenko theorem
Emil Julius Gumbel
Notes
References
External links
Kata Kunci Pencarian:
- Amerika Serikat
- HBO
- Westworld (seri televisi)
- NBC Sports
- Silicon Valley (seri televisi)
- NBC News
- Gumbel distribution
- Type-2 Gumbel distribution
- Generalized extreme value distribution
- Laplace distribution
- Emil Julius Gumbel
- List of probability distributions
- Double exponential distribution
- Categorical distribution
- Probability distribution fitting
- Fréchet distribution