The Gamma Distribution

Introduces the Gamma distribution with shape parameter α and scale parameter β: its probability density function, its mean and variance formulas, and how to recover the parameters from given moments.

Step 1 of 119%

Tutorial

The Gamma Distribution

A continuous random variable XX has the Gamma distribution with shape parameter α>0\alpha > 0 and scale parameter β>0,\beta > 0, written XΓ(α,β),X \sim \Gamma(\alpha, \beta), if its probability density function is

f(x)=1Γ(α)βαxα1ex/β,x>0,f(x) = \dfrac{1}{\Gamma(\alpha)\,\beta^{\alpha}}\, x^{\alpha - 1}\, e^{-x/\beta}, \qquad x > 0,

and f(x)=0f(x) = 0 for x0.x \le 0. Here Γ(α)\Gamma(\alpha) is the Gamma function.

The Gamma distribution generalizes the exponential distribution: when α=1,\alpha = 1, we have Γ(1)=1\Gamma(1) = 1 and x0=1,x^{0} = 1, so the PDF reduces to f(x)=1βex/β,f(x) = \dfrac{1}{\beta} e^{-x/\beta}, the exponential distribution with mean β.\beta.

To illustrate, suppose XΓ(α=3,β=1).X \sim \Gamma(\alpha = 3, \beta = 1). Recall that Γ(3)=2!=2.\Gamma(3) = 2! = 2. The density at x=2x = 2 is

f(2)=1Γ(3)13231e2/1=124e2=2e2.\begin{align*} f(2) &= \dfrac{1}{\Gamma(3) \cdot 1^{3}} \cdot 2^{3-1} \cdot e^{-2/1} \\[3pt] &= \dfrac{1}{2} \cdot 4 \cdot e^{-2} \\[3pt] &= 2 e^{-2}. \end{align*}
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle