Factsheet: Gamma distribution

Statistics
Author

Michelle Arnetta and Tom Coleman

Summary
A factsheet for the gamma distribution.
Gamma Distribution Calculator
Parameters

Probability to calculate:
5.00
Gamma distribution plot
Gamma(α = 2.00, θ = 2.00)

Result
Distribution summary
Mean
Variance
Standard deviation
Mode

Where to use: The gamma distribution generalizes the exponential distribution, allowing for greater or lesser variance. It is used to model positive continuous random variables that have skewed distributions.

Notation: \(X \sim \textrm{Gamma}(\alpha,\theta)\) or \(X \sim \textrm{Gam}(\alpha,\theta)\)

Parameters: Two real numbers \(\alpha\) and \(\theta\), which are related to the mean \(\mu\) and variance \(\sigma^2\):

Quantity Value Notes
Mean \(\mathbb{E}(X) = \alpha\theta\)
Variance \(\mathbb{V}(X) = \alpha\theta^2\)
PDF \(\mathbb{P}(X=x)=\dfrac{x^{\alpha-1}\exp\left(-\frac{x}{\theta}\right)}{\Gamma(\alpha)\theta^{\alpha}}\) \(\Gamma(x)\) the gamma function of \(x\)
CDF \(\mathbb{P}(X \leq x)=\dfrac{\textrm{Gam}\left(\alpha,\frac{x}{\theta}\right)}{\Gamma(\alpha)}\) \(\textrm{Gam}(\alpha,\theta)\) is the PDF of the gamma distribution

Example: You collect historical data on the time to failure of a machine from Cantor’s Confectionery. The mean is 83 days and the variance is 50.3. You can then use this to estimate the shape and scale parameters of the gamma distribution:

The distribution can be expressed as \(X \sim \textrm{Gam}(137,0.61)\), where the shape parameter is 137 and the scale parameter is 0.61.

Further reading

This interactive element appears in Overview: Probability distributions. Please click this link to go to the guide.

Version history

v1.0: initial version created 04/25 by tdhc and Michelle Arnetta as part of a University of St Andrews VIP project.

This work is licensed under CC BY-NC-SA 4.0.

Feedback

Your feedback is appreciated and useful. Feel free to leave a comment here,
but please be specific with any issues you encounter so we can help to resolve them
(for example, what page it occured on, what you tried, and so on).