α = 3, λ = 2
mean α/λ = 1.5
Variance α/λ² = 0.75.
The gamma distribution with shape and rate has density for , mean and variance .
This page is easier if you are comfortable with:
With , : mean , variance , and the density at is (the gamma function, ). For integer the distribution (Erlang) is the waiting time for the th event of a Poisson process, the sum of independent exponentials (the exponential distribution, the Poisson process).
Its cumulative distribution for integer is , so , linking it to Poisson probabilities. The special case is the exponential distribution and , is the chi-squared distribution (chi-squared degrees of freedom).
The gamma density is the conjugate prior for the rate of a Poisson or exponential likelihood in Bayesian statistics (posterior ∝ likelihood × prior). Its MGF is (the moment generating function), so sums of independent gammas with the same rate are gamma.
The gamma distribution models waiting times and positive, skewed quantities.
The density rises from zero, peaks at x = 1, and has a long right tail.
These examples are worked by hand, step by step, so you can compare your own working.
Find the mean and variance for , .
Find for , .
Find for , .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
mean α/λ = 1.5
Variance α/λ² = 0.75.
λ^α x^(α−1) e^(−λx)/Γ(α)
4e⁻² = 0.5413.
√0.75
0.8660.
exponential distribution
Mean 1/λ.
Gamma(α, λ) has density λ^α x^(α−1) e^(−λx)/Γ(α), mean α/λ, variance α/λ². With α = 1 it is the exponential distribution; sums of exponentials are gamma.
Find the mean for α = 3, λ = 2.
Find the variance.
Find f(1) for α = 3, λ = 2 (Γ(3) = 2).
Find the mean when α = 1, λ = 2.
mean αλ ✗
mean α/λ ✓
Rate parameterisation.
Γ(3) = 6 ✗
Γ(3) = 2! = 2 ✓
Γ(n) = (n − 1)!.
wrong ✗
α/λ² ✓
Square the rate.
allowed ✗
x > 0 ✓
Support.
Try each one on paper, then open the answer. Use the solver above to see the full working.
2.5
1.25
4
8
0.3679
1
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
A flexible positive distribution with shape α and rate λ.
α/λ and α/λ².
α = 1 gives the exponential.
2.
gamma function.
More in Advanced statistics and stochastic processes and the formula sheets.