Statistics/Distributions/Gamma

From testwiki
Revision as of 12:18, 7 September 2007 by 85.18.14.27 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Gamma distribution is very important for technical reasons, since it is the parent of the exponential distribution and can explain many other distributions.

The probability distribution function is:

fx(x)={1apΓ(p)xp1ex/a,if x00,if x<0

The cumulative distribution function cannot be found unless p=1, in which case the Gamma distribution becomes the exponential distribution. The Gamma distribution of the stochastic variable X is denoted as XΓ(p,a).

Alternatively, the gamma distribution can be parameterized in terms of a shape parameter α=k and an inverse scale parameter β=1/θ, called a rate parameter:

g(x;α,β)=Kxα1eβx for x>0.

where the K constant can be calculated setting the integral of the density function as 1:

+g(x;α,β)dt=0+Kxα1eβxdx=1

following:

K0+xα1eβxdx=1
K=10+xα1eβxdx

and, with change of variable y=βx :

K=10+yα1βα1eydyβ=11βα0+yα1eydy=βα0+yα1eydy=βαΓ(α)

following:

g(x;α,β)=xα1βαeβxΓ(α) for x>0.