Processing math: 100%
Press "Enter" to skip to content

Back to basics - Gamma law

Agner Krarup Erlang (1878 – 1929) Danish mathematician, statistician and engineer, who invented queueing theory and the Gamma law.

This tiny post is about some basics on the Gamma law, one of my favorite laws. Recall that the Gamma law Gamma(a,λ) with shape parameter a(0,) and scale parameter λ(0,) is the probability measure on [0,) with density

x[0,)λaΓ(a)xa1eλx

where we used the eponymous Euler Gamma function

Γ(a)=0xa1exdx.

Recall that Γ(n)=(n1)! for all n{1,2,}. The normalization λa/Γ(a) is easily recovered from the definition of Γ and the fact that if f is a univariate density then the scaled density λf(λ) is also a density for all λ>0, hence the name scale parameter'' for λ. So what we have to keep in mind essentially is the Euler Gamma function, which is fundamental in mathematics far beyond probability theory.

The Gamma law has an additive behavior on its shape parameter under convolution, in the sense that for all λ(0,) and all a,b(0,),

Gamma(a,λ)Gamma(b,λ)=Gamma(a+b,λ).

The Gamma law with integer shape parameter, known as the Erlang law, is linked with the exponential law since Gamma(1,λ)=Expo(λ) and for all n{1,2,}

Gamma(n,λ)=Gamma(1,λ)Gamma(1,λ)n times=Expo(λ)n.

In queueing theory and telecommunication modeling, the Erlang law Gamma(n,λ) appears typically as the law of the n-th jump time of a Poisson point process of intensity λ, via the convolution power of exponentials. This provides a first link with the Poisson law.

The Gamma law is also linked with chi-square laws. Recall that the χ2(n) law, n{1,2,} is the law of Z22=Z21++Z2n where Z1,,Zn are independent and identically distributed standard Gaussian random variables N(0,1). The link starts with the identity

χ2(1)=Gamma(1/2,1/2),

which gives, for all n{1,2,},

χ2(n)=χ2(1)χ2(1)n times=Gamma(n/2,1/2).

In particular we have

χ2(2n)=Gamma(n,1/2)=Expo(1/2)n

and we recover the Box--Muller formula

χ2(2)=Gamma(1,1/2)=Expo(1/2).

We also recover by this way the density of χ2(n) via the one of Γ(n/2,1/2).

The Gamma law enters the definition of the Dirichlet law. Recall that the Dirichlet law Dirichlet(a1,,an) with size parameter n{1,2,} and shape parameters (a1,,an)(0,)n is the law of the self-normalized random vector

(V1,,Vn)=(Z1,,Zn)Z1++Zn

where Z1,,Zn are independent random variables of law

Gamma(a1,1),,Gamma(an,1).

When a1==an the random variables Z1,,Zn are independent and identically distributed of exponential law and Dirichlet(1,,1) is nothing else but the uniform law on the simplex {(v1,,vn)[0,1]:v1++vn=1}. Note also that the components of the random vector V follow Beta laws namely VkBeta(ak,a1++anak) for all k{1,,n}. Let us finally mention that the density of Dirichlet(a1,,an) is given by (v1,,vn)nk=1vkak1/Beta(a1,,an) where

Beta(a1,,an)=Γ(a1)Γ(an)Γ(a1++an).

The Gamma law is linked with Poisson and Pascal negative-binomial laws, in particular to the geometric law. Indeed the geometric law is an exponential mixture of Poisson laws and more generally the Pascal negative-binomial law, the convolution power of the geometric distribution, is a Gamma mixture of Poisson laws. More precisely, for all p[0,1] and n{1,2,,}, if XGamma(n,) with =p/(1p), and if Y|XPoisson(X) then YNegativeBinomial(n,p), since for all kn, P(Y=k) writes

0eλλkk!nλn1Γ(n)eλdλ=nk!Γ(n)0λn+k1eλ(+1)dλ=Γ(n+k)k!Γ(n)(1p)kpn.

The Gamma and Poisson laws are deeply connected. Namely if XGamma(n,λ) with n{1,2,} and λ(0,) and YPoisson(r) with r(0,) then

P(Xλr)=1(n1)!rxn1exdx=ern1k=0rkk!=P(Yn).

Bayesian statisticians are quite familiar with these Gamma-Poisson duality games.

The law Gamma(n,λ) is log-concave when n1, and its density as a Boltzmann--Gibbs measure involves the convex energy x(0,)λx(n1)log(x) and writes

x(0,)λnΓ(n)e(λx(n1)log(x)).

The orthogonal polynomials with respect to Gamma(a,λ) are Laguerre polynomials.

The Gamma law appears in many other situations, for instance in the law of the moduli of the eigenvalues of the complex Ginibre ensemble of random matrices. The multivariate version of the Gamma law is used in mathematical statistics and is connected to Wishart laws which are just multivariate χ2-laws. Namely the Wishart law of dimension parameter p, sample size parameter n, and mean C in the cone S+p of p×p positive symmetric matrices has density

SS+pdet(S)np12eTrace(C1S)2np2det(C)n2Γp(n2)

where Γp is the multivariate Gamma function defined by

x(0,)Γp(x)=S+pdet(S)xp+12eTrace(S)dS.

Non-central Wishart or matrix Gamma laws play a crucial role in the proof of the Gaussian correlation conjecture of geometric functional analysis by Thomas Royen arXiv:1408.1028, see also the expository work by Rafał Latała and Dariusz Matlak and Franck Barthe.

One Comment

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Syntax · Style · .