Английская Википедия:Gumbel distribution

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Probability distribution</math>

|mean       =<math>\mu + \beta\gamma</math> 
where <math>\gamma</math> is the Euler–Mascheroni constant |median =<math>\mu - \beta\ln(\ln 2)</math> |mode =<math>\mu</math> |variance =<math>\frac{\pi^2}{6}\beta^2</math> |skewness =<math>\frac{12\sqrt{6}\,\zeta(3)}{\pi^3} \approx 1.14</math> |kurtosis =<math>\frac{12}{5}</math> |entropy =<math>\ln(\beta)+\gamma+1</math> |mgf =<math>\Gamma(1-\beta t) e^{\mu t}</math> |char =<math>\Gamma(1-i\beta t) e^{i\mu t}</math>

|notation=<math>\text{Gumbel}(\mu, \beta)</math>}} 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. This article uses the Gumbel distribution to model the distribution of the maximum value. To model the minimum value, use the negative of the original values.

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][2]

Definitions

The cumulative distribution function of the Gumbel distribution is

<math>F(x;\mu,\beta) = e^{-e^{-(x-\mu)/\beta}}.\,</math>

Standard Gumbel distribution

The standard Gumbel distribution is the case where <math>\mu = 0</math> and <math>\beta = 1</math> with cumulative distribution function

<math>F(x) = e^{-e^{(-x)}}\,</math>

and probability density function

<math>f(x) = e^{-(x+e^{-x})}.</math>

In this case the mode is 0, the median is <math>-\ln(\ln(2)) \approx 0.3665</math>, the mean is <math>\gamma\approx 0.5772</math> (the Euler–Mascheroni constant), and the standard deviation is <math>\pi/\sqrt{6} \approx 1.2825.</math>

The cumulants, for n > 1, are given by

<math>\kappa_n = (n-1)! \zeta(n).</math>

Properties

The mode is μ, while the median is <math>\mu-\beta \ln\left(\ln 2\right),</math> and the mean is given by

<math>\operatorname{E}(X)=\mu+\gamma\beta</math>,

where <math> \gamma </math> is the Euler–Mascheroni constant.

The standard deviation <math> \sigma </math> is <math>\beta \pi/\sqrt{6}</math> hence <math>\beta = \sigma \sqrt{6} / \pi \approx 0.78 \sigma. </math> [3]

At the mode, where <math> x = \mu </math>, the value of <math>F(x;\mu,\beta)</math> becomes <math> e^{-1} \approx 0.37 </math>, irrespective of the value of <math> \beta. </math>

If <math>G_1,...,G_k</math> are iid Gumbel random variables with parameters <math>(\mu,\beta)</math> then <math>\max\{G_1,...,G_k\}</math> is also a Gumbel random variable with parameters <math>(\mu+\beta\ln k, \beta)</math>.

If <math>G_1, G_2,...</math> are iid random variables such that <math>\max\{G_1,...,G_k\}-\beta\ln k </math> has the same distribution as <math>G_1</math> for all natural numbers <math> k </math>, then <math>G_1</math> is necessarily Gumbel distributed with scale parameter <math>\beta</math> (actually it suffices to consider just two distinct values of k>1 which are coprime).

Related distributions

  • If <math>X </math> 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 <math>G(y) = P(Y \le y) = P(X \ge -y \mid X \le 0) = (F(0)-F(-y))/F(0)</math> for y > 0. Consequently, the densities are related by <math>g(y) = f(-y)/F(0)</math>: the Gompertz density is proportional to a reflected Gumbel density, restricted to the positive half-line.[4]
  • If X is an exponentially distributed variable with mean 1, then −log(X) has a standard Gumbel distribution.
  • If <math>X \sim \mathrm{Gumbel}(\alpha_X, \beta) </math> and <math> Y \sim \mathrm{Gumbel}(\alpha_Y, \beta) </math> are independent, then <math> X-Y \sim \mathrm{Logistic}(\alpha_X-\alpha_Y,\beta) \,</math> (see Logistic distribution).
  • If <math>X, Y \sim \mathrm{Gumbel}(\alpha, \beta) </math> are independent, then <math>X+Y \nsim \mathrm{Logistic}(2 \alpha,\beta)</math>. Note that <math> E(X+Y) = 2\alpha+2\beta\gamma \neq 2\alpha = E\left(\mathrm{Logistic}(2 \alpha,\beta) \right) </math>. More generally, the distribution of linear combinations of independent Gumbel random variables can be approximated by GNIG and GIG distributions.[5]

Theory related to the generalized multivariate log-gamma distribution provides a multivariate version of the Gumbel distribution.

Occurrence and applications

Файл:FitGumbelDistr.tif
Distribution fitting with confidence band of a cumulative Gumbel distribution to maximum one-day October rainfalls.[6]

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 [7] approaches the Gumbel distribution as the sample size increases.[8]

Concretely, let <math> \rho(x)=e^{-x} </math> be the probability distribution of <math> x </math> and <math> Q(x)=1- e^{-x} </math> its cumulative distribution. Then the maximum value out of <math> N </math> realizations of <math> x </math> is smaller than <math> X </math> if and only if all realizations are smaller than <math> X </math>. So the cumulative distribution of the maximum value <math> \tilde{x} </math> satisfies

<math>P(\tilde{x}-\log(N)\le X)=P(\tilde{x}\le X+\log(N))=[Q(X+\log(N))]^N=\left(1- \frac{e^{-X}}{N}\right)^N, </math>

and, for large <math> N </math>, the right-hand-side converges to <math> e^{-e^{(-X)}}. </math>

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,[3] and also to describe droughts.[9]

Gumbel has also shown that the estimator Шаблон:Frac 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[10] as well as the trend-adjusted sizes of maximal prime gaps and maximal gaps between prime constellations.[11]

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".[12]

In detail, let <math>(\pi_1, \ldots, \pi_n)</math> be nonnegative, and not all zero, and let <math>g_1,\ldots , g_n</math> be independent samples of Gumbel(0, 1), then by routine integration,<math display="block">Pr(j = \arg\max_i (g_i + \log\pi_i)) = \frac{\pi_j}{\sum_i \pi_i}</math>That is, <math>\arg\max_i (g_i + \log\pi_i) \sim \text{Categorical}\left(\frac{\pi_j}{\sum_i \pi_i}\right)_j</math>

Equivalently, given any <math>x_1, ..., x_n\in \R</math>, we can sample from its Boltzmann distribution by

<math display="block">Pr(j = \arg\max_i (g_i + x_i)) = \frac{e^{x_j}}{\sum_i e^{x_i}}</math>Related equations include:[13]

  • If <math>x\sim \operatorname{Exp}(\lambda)</math>, then <math>(-\ln x - \gamma)\sim \text{Gumbel}(-\gamma + \ln\lambda, 1)</math>.
  • <math>\arg\max_i (g_i + \log\pi_i) \sim \text{Categorical}\left(\frac{\pi_j}{\sum_i \pi_i}\right)_j</math>.
  • <math>\max_i (g_i + \log\pi_i) \sim \text{Gumbel}\left(\log\left(\sum_i \pi_i \right), 1\right)</math>. That is, the Gumbel distribution is a max-stable distribution family.
  • <math>\mathbb E[\max_i (g_i + \beta x_i)] = \log \left(\sum_i e^{\beta x_i}\right) + \gamma.</math>

Random variate generation

Шаблон:Further

Since the quantile function (inverse cumulative distribution function), <math>Q(p)</math>, of a Gumbel distribution is given by

<math>Q(p)=\mu-\beta\ln(-\ln(p)),</math>

the variate <math>Q(U)</math> has a Gumbel distribution with parameters <math>\mu</math> and <math>\beta</math> when the random variate <math>U</math> is drawn from the uniform distribution on the interval <math>(0,1)</math>.

Probability paper

Файл:Gumbel paper.JPG
A piece of graph paper that incorporates the Gumbel distribution.

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 <math>F</math> :

<math> -\ln[-\ln(F)] = \frac{x-\mu}\beta </math>

In the paper the horizontal axis is constructed at a double log scale. The vertical axis is linear. By plotting <math>F</math> on the horizontal axis of the paper and the <math>x</math>-variable on the vertical axis, the distribution is represented by a straight line with a slope 1<math>/\beta</math>. When distribution fitting software like CumFreq became available, the task of plotting the distribution was made easier.

See also

References

Шаблон:Reflist

External links

Шаблон:Commons and category

Шаблон:ProbDistributions