Gamma distribution
What it describes
The Gamma distribution is a positive family for accumulated times, waiting quantities, and latent rates. Its shape and scale parameters range from decreasing curves to profiles with an interior peak.
Its support is the entire positive line. alpha controls shape and beta scale in Phitter’s convention; always check whether another package uses beta as a rate.
History and names
Euler’s Gamma function emerged in eighteenth-century analysis; the distribution became established in probability and statistics as a continuous extension of sums of exponentials.
How it connects to other distributions
Erlang is Gamma with integer shape and Exponential is alpha=1. Chi-square is Gamma with a particular scale; Beta results from normalizing two independent Gammas.
Where it appears
- time to complete several stages
- rainfall, insurance, reliability, and Bayesian models for rates
Fitting cautions
A good Gamma fit does not prove a stage process exists: the family can approximate many positive mechanisms.
Waiting once or accumulating many stages
When its shape equals one, Gamma becomes Exponential. When the shape is an integer, it describes a sum of that many exponential waiting times and is called Erlang. Away from the integers it retains mathematical flexibility even though a literal count of stages is no longer available.
The family also connects observations with uncertainty about rates. In Bayesian inference, a Gamma distribution can represent an unknown Poisson rate and produce an algebraically manageable update. In a Gamma process, positive increments model accumulated damage or rainfall. These stories share a shape but are not interchangeable: an elapsed time, a latent rate, and an accumulated amount demand different parameter interpretations.
Decision guide
A good candidate when: a positive quantity accumulates waiting times, costs, or small contributions and is skewed with a tail lighter than a power law.
Compare it with: Weibull and Lognormal. Compare hazard, coefficient of variation, and quantiles; a similar fit does not make their additive and multiplicative mechanisms equivalent.
References
- SciPy reference: scipy.stats.gamma — definition and parameterization
- Johnson, N. L., Kotz, S. & Balakrishnan, N. (1994). Continuous Univariate Distributions, 2nd ed., Vol. 1. Wiley.
- Feller, W. (1968). An Introduction to Probability Theory and Its Applications, Vol. 1, 3rd ed. Wiley.
- Abramowitz, M. & Stegun, I. A., eds. (1972). Handbook of Mathematical Functions. Dover.