Inverse Gamma distribution
What it represents
The Inverse Gamma distribution models a positive variable whose reciprocal is Gamma. Its right tail is heavy; alpha determines which moments exist and beta sets inverse scale.
Historical clue
It is the reciprocal transform of Gamma and became established in Bayesian inference as a conjugate distribution for a normal variance under scale or precision parameterizations.
Relationships that clarify its use
If X is Gamma, 1/X is Inverse Gamma. It is related to Beta prime and F through Gamma and chi-square ratios; the meaning of beta depends on whether the model describes scale or precision.
Data examples
- priors for unknown variances and scales
- lifetimes and positive phenomena with very large possible values
Modelling warning
Check that the moment of interest exists before interpreting a posterior mean or using a quadratic loss.
A Gamma law on the other side of a reciprocal
If a precision or rate is Gamma, its reciprocal is Inverse Gamma. This construction explains the distribution’s historical role as a prior for positive variances and scales. Probability may concentrate away from zero while a power-law tail allows very large values.
That tail imposes clear conditions. The mean exists only when alpha exceeds one, and variance requires a value above two. Fitting the density without checking these limits can produce a numerical summary that the model does not define. In Bayesian work, conjugate convenience does not guarantee a sensible prior either: a seemingly diffuse choice may place unexpected mass near zero or on enormous scales.
Decision guide
A good candidate when: a positive quantity is the reciprocal of a Gamma variable or represents a heavy-tailed scale or variance.
Compare it with: Lognormal and Pareto. Check which moments exist for the estimated shape; mean or variance may not be valid summaries.
References
- SciPy reference: scipy.stats.invgamma — definition and parameterization
- Johnson, N. L., Kotz, S. & Balakrishnan, N. (1995). Continuous Univariate Distributions, 2nd ed., Vol. 2. Wiley.
- Evans, M., Hastings, N. & Peacock, B. (2000). Statistical Distributions, 3rd ed. Wiley.
- Gelman, A. et al. (2013). Bayesian Data Analysis, 3rd ed. CRC Press.