Concept Architecture
Concept
Theoretically, the Gamma Distribution is a continuous probability distribution defined on positive real numbers that is commonly used to model positively skewed random variables. It is characterised by separate shape and scale parameters, allowing it to represent a wide range of distributional forms. In health economics, the gamma distribution is frequently used to model healthcare costs, waiting times, survival-related quantities and uncertainty in probabilistic sensitivity analysis because these variables are non-negative and often right-skewed.
Mathematically, the gamma distribution is defined by a probability density function governed by its shape and scale parameters. Its flexibility enables it to represent exponential, chi-square and other positively skewed distributions as special cases. The distribution has closed-form expressions for its mean and variance, making it well suited for statistical estimation, Bayesian analysis and simulation modelling.
In practice, the gamma distribution is fitted to observed data using maximum likelihood estimation, method of moments or Bayesian estimation. It is widely applied in generalised linear models with gamma errors, probabilistic sensitivity analysis, survival modelling and Bayesian health economic models where positive continuous variables must be represented realistically.
Purpose
Used to model positive, right-skewed continuous variables such as healthcare costs, waiting times and uncertainty distributions in health economic analyses and probabilistic sensitivity analysis.
Mathematical Formulae
Primary Formula
f(x) = x???e???? / (�(k)??),?x > 0
where:
- k = shape parameter
- ? = scale parameter
- �(k) = gamma function
Supporting Formulae
Mean:
? = k?
Variance:
�� = k?�
Maximum likelihood estimates are obtained by maximising:
?? = arg max L(?)
Related Mathematical Methods
- Maximum likelihood estimation
- Method of moments
- Bayesian estimation
- Generalised linear models
- Probabilistic sensitivity analysis
- Monte Carlo simulation
Example
Annual healthcare costs for patients with chronic heart failure are highly right-skewed. A gamma distribution with shape parameter k = 4 and scale parameter ? = �2,000 is fitted to the observed costs, giving a mean annual cost of ? = 4 ? �2,000 = �8,000. Random samples from the fitted distribution are then used in probabilistic sensitivity analysis.
Excel Implementation
| Function | Example Formula | Health Economics Application |
|---|---|---|
| GAMMA.DIST | =GAMMA.DIST(A2,4,2000,FALSE) | Calculate the gamma probability density for observed costs. |
| GAMMA.INV | =GAMMA.INV(RAND(),4,2000) | Generate random cost values for probabilistic sensitivity analysis. |
| AVERAGE | =AVERAGE(A2:A101) | Estimate the sample mean for parameter estimation. |
| VAR.S | =VAR.S(A2:A101) | Estimate the sample variance for method-of-moments estimation. |
VBA (Optional)
Automate fitting of gamma distributions to observed cost data and generate random samples for probabilistic sensitivity analyses.
Sources
- Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation.
- Drummond MF, Sculpher MJ, Claxton K, Stoddart GL, Torrance GW. Methods for the Economic Evaluation of Health Care Programmes.
- McCullagh P, Nelder JA. Generalized Linear Models.
- NICE. Health Technology Evaluation Manual.
- ISPOR-SMDM Modeling Good Research Practices Task Force Reports.
Related Concepts (3)
Library
Tools & Resources
1
survHE — Survival Analysis for Health Economic Evaluation (R package) — Gianluca Baio, R package ed., 2023 (CRAN)
An R package for fitting and comparing parametric survival models for health economic evaluation, including Bayesian estimation, and for extrapolating time-to-event data to inform cost-effectiveness models.
Software (R package)View source →
Frequently Asked Questions (6)
What is the gamma distribution?
A flexible probability distribution capable of representing increasing, decreasing, or constant hazard patterns, commonly used for time-to-event and cost data.
Source: Collett 2015
What range of values does the gamma distribution cover?
The gamma distribution is defined only for positive values and is typically skewed, with a long right tail, which matches quantities that cannot be negative but occasionally take large values. This makes it a natural choice for representing things such as durations or costs, where a few cases run much higher than the average and none fall below zero. Its shape can be adjusted to be more or less skewed. These features explain its common use for time-to-event and cost data alike. Briggs and colleagues (2006) note this suitability.
Source: Briggs et al. 2006
What hazard shapes can the gamma distribution represent?
The gamma distribution can represent increasing, decreasing, or constant hazards depending on its shape parameter: a shape greater than one gives a hazard that rises from zero and approaches a constant, less than one gives a hazard that declines, and equal to one reduces to the exponential distribution with a constant hazard. This flexibility to capture monotonic increasing or decreasing hazards makes the gamma distribution more versatile than the exponential, though its hazard approaches a constant asymptotically rather than continuing to rise or fall indefinitely.
Source: Collett 2015
Why is the gamma distribution used for cost data?
The gamma distribution is used for cost data because costs are non-negative and typically right-skewed, with many modest values and a few large ones, a pattern the gamma distribution, defined only for positive values and able to be skewed, represents well. It provides a realistic model for the distribution of costs, better than a normal distribution that allows negative values and symmetry. This makes the gamma distribution common in analysing and representing the uncertainty in cost parameters in economic evaluation.
Source: Kalbfleisch & Prentice 2002
How is the gamma distribution used in survival analysis?
In survival analysis, the gamma distribution is used as a parametric model for time-to-event data where the hazard increases or decreases over time, offering more flexibility than the exponential. It can be fitted to survival data and used to describe and extrapolate survival. However, because its hazard approaches a constant asymptotically, it may not capture hazards that keep rising or falling, so it is one of several candidate distributions compared when modelling survival, chosen where its hazard shapes suit the data.
Source: Collett 2015
What are the limitations of the gamma distribution?
The gamma distribution's hazard, while flexible, is monotonic and approaches a constant asymptotically, so it cannot represent hazards that rise then fall or continue changing indefinitely, limiting its ability to fit complex patterns or some extrapolations. For cost data, its shape assumptions may not suit every distribution. As with any parametric model, extrapolation beyond the data relies on the assumed form. These limitations mean the gamma distribution is used where its available shapes are appropriate, and compared with alternatives when modelling survival or costs.
Source: Collett 2015
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 20 Oct 2025
Content version: 1.0.0
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/gamma-distribution
- Term code
- HE-EM-SM-026
Stable URI · Machine-readable · Resolvable · CC BY 4.0