Loading…

Mean of Gamma Distribution

What is the mean of gamma distribution, and how does it depend on whether the parameters are shape-scale or shape-rate?

Subject: Statistics Chapter: Continuous Random Variables and the Normal Distribution Topic: Continuous Probability Distribution Answer included
mean of gamma distribution gamma distribution mean expected value gamma shape scale gamma shape rate gamma gamma function variance of gamma distribution continuous probability distribution
Accepted answer Answer included

The mean of gamma distribution is the expected value \(E[X]\) of a continuous random variable \(X\) whose probability density function follows a gamma form. Two parameterizations are common (shape-scale and shape-rate), and the mean depends on which one is used.

Gamma distribution (shape-scale form)

For shape \(k>0\) and scale \(\theta>0\), the gamma density is \[ f(x)=\frac{1}{\Gamma(k)\,\theta^{k}}\,x^{k-1}e^{-x/\theta},\quad x>0. \] The mean of gamma distribution in this form is \[ E[X]=k\cdot\theta. \]

Equivalent parameterization (shape-rate)

Some texts use shape \(\alpha>0\) and rate \(\beta>0\), where \(\theta=1/\beta\). The density is \[ f(x)=\frac{\beta^{\alpha}}{\Gamma(\alpha)}\,x^{\alpha-1}e^{-\beta x},\quad x>0, \] and the mean of gamma distribution becomes \[ E[X]=\frac{\alpha}{\beta}. \]

Parameterization Parameters PDF form Mean Variance (often paired with the mean)
Shape-scale \(k,\theta\) \(\dfrac{1}{\Gamma(k)\theta^k}x^{k-1}e^{-x/\theta}\) \(E[X]=k\cdot\theta\) \(\mathrm{Var}(X)=k\cdot\theta^2\)
Shape-rate \(\alpha,\beta\) \(\dfrac{\beta^\alpha}{\Gamma(\alpha)}x^{\alpha-1}e^{-\beta x}\) \(E[X]=\alpha/\beta\) \(\mathrm{Var}(X)=\alpha/\beta^2\)

Derivation of the mean in the shape-scale form

The expected value of a continuous random variable is \(E[X]=\int_0^\infty x f(x)\,dx\). Using the shape-scale gamma density:

  1. Substitute the density into the expectation integral: \[ E[X]=\int_{0}^{\infty}x\cdot\frac{1}{\Gamma(k)\theta^{k}}x^{k-1}e^{-x/\theta}\,dx =\frac{1}{\Gamma(k)\theta^{k}}\int_{0}^{\infty}x^{k}e^{-x/\theta}\,dx. \]
  2. Use the substitution \(u=x/\theta\), so \(x=\theta u\) and \(dx=\theta\,du\): \[ \int_{0}^{\infty}x^{k}e^{-x/\theta}\,dx =\int_{0}^{\infty}(\theta u)^{k}e^{-u}\,\theta\,du =\theta^{k+1}\int_{0}^{\infty}u^{k}e^{-u}\,du. \]
  3. Recognize the gamma function \(\Gamma(k+1)=\int_{0}^{\infty}u^{k}e^{-u}\,du\): \[ E[X]=\frac{1}{\Gamma(k)\theta^{k}}\cdot\theta^{k+1}\Gamma(k+1) =\theta\cdot\frac{\Gamma(k+1)}{\Gamma(k)}. \]
  4. Apply the recursion \(\Gamma(k+1)=k\Gamma(k)\): \[ E[X]=\theta\cdot\frac{k\Gamma(k)}{\Gamma(k)}=k\theta. \]

Numeric example

Suppose \(X\sim\mathrm{Gamma}(k=3,\theta=2)\) in the shape-scale parameterization. Then the mean of gamma distribution is \[ E[X]=k\theta=3\cdot 2=6. \] Using the shape-rate form gives \(\beta=1/\theta=0.5\) and \(\alpha=k=3\), so \(E[X]=\alpha/\beta=3/0.5=6\), matching the same mean.

Visualization: gamma density with the mean marked

The curve shows a gamma density for \(k=3\) and \(\theta=2\). The vertical reference line marks the mean \(E[X]=k\theta=6\).

Common pitfalls when using the mean of gamma distribution

  • Scale vs rate confusion: \(\theta\) is the scale, \(\beta\) is the rate, and \(\theta=1/\beta\). The mean is \(k\theta\) or \(\alpha/\beta\), depending on notation.
  • Skewness: For many parameter choices, the gamma distribution is right-skewed; the mean can exceed the median, so “typical” values may be smaller than the mean.
  • Units: The mean has the same units as \(X\). If \(X\) measures time, then \(E[X]\) is a time.
Key result

The mean of gamma distribution equals shape times scale: \(E[X]=k\theta\), equivalently shape divided by rate: \(E[X]=\alpha/\beta\).

Vote on the accepted answer
Upvotes: 0 Downvotes: 0 Score: 0
Community answers No approved answers yet

No approved community answers are published yet. You can submit one below.

Submit your answer Moderated before publishing

Plain text only. Your name is required. Links, HTML, and scripts are blocked.

Fresh

Most recent questions

109 questions · Sorted by newest first

Showing 1–10 of 109
per page
  1. Mar 5, 2026 Published
    Formula of the Variance (Population and Sample)
    Statistics Numerical Descriptive Measures Measures of Dispersion for Ungrouped Data
  2. Mar 5, 2026 Published
    Mean Median Mode Calculator (Formulas, Interpretation, and Example)
    Statistics Numerical Descriptive Measures Measures of Central Tendency for Ungrouped Data
  3. Mar 4, 2026 Published
    How to Calculate Standard Deviation in Excel (STDEV.S vs STDEV.P)
    Statistics Numerical Descriptive Measures Measures of Dispersion for Ungrouped Data
  4. Mar 4, 2026 Published
    Suppose T and Z Are Random Variables: How T Relates to Z in the t Distribution
    Statistics Estimation of the Mean and Proportion Estimation of a Population Mean σ Not Known the T Distribution
  5. Mar 4, 2026 Published
    What Does R Squared Mean in Statistics (Coefficient of Determination)
    Statistics Simple Linear Regression Coefficient of Determination
  6. Mar 3, 2026 Published
    Box and Plot Graph (Box Plot) Explained
    Statistics Numerical Descriptive Measures Box and Whisker Plot
  7. Mar 3, 2026 Published
    How to Calculate a Z Score
    Statistics Continuous Random Variables and the Normal Distribution Standardizing a Normal Distribution
  8. Mar 3, 2026 Published
    How to Calculate Relative Frequency
    Statistics Organizing and Graphing Data Organizing and Graphing Quantitative Data
  9. Mar 3, 2026 Published
    Is zero an even number?
    Statistics Numerical Descriptive Measures Measures of Central Tendency for Ungrouped Data
  10. Mar 3, 2026 Published
    Monty Hall Paradox (Conditional Probability Explained)
    Statistics Probability Marginal and Conditional Probabilities
Showing 1–10 of 109
Open the calculator for this topic