You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

11.3 Gamma and beta distributions

3 min readjuly 19, 2024

The models continuous, positive quantities like waiting times or failure rates. It's defined by shape and rate parameters, which determine its form and scale. Understanding its probability density function and cumulative distribution function is crucial for calculating probabilities and .

The is perfect for modeling proportions and probabilities between 0 and 1. Its two shape parameters control its appearance, making it versatile for various scenarios. It's especially useful in , where parameters can be interpreted as pseudo-counts of successes and failures.

Gamma Distribution

Gamma distribution and parameters

Top images from around the web for Gamma distribution and parameters
Top images from around the web for Gamma distribution and parameters
  • Continuous probability distribution models waiting times, time until failure, or other positive, continuous quantities
  • Defined by two parameters:
    • α>0\alpha > 0 determines the shape of the distribution (exponential, bell-shaped, or skewed)
    • β>0\beta > 0 controls the scale and rate of decay
  • for a gamma-distributed random variable XX, where x>0x > 0: f(x;α,β)=βαΓ(α)xα1eβxf(x; \alpha, \beta) = \frac{\beta^\alpha}{\Gamma(\alpha)} x^{\alpha-1} e^{-\beta x}
    • Γ(α)\Gamma(\alpha) represents the , an extension of the factorial function to real and complex numbers, defined as Γ(α)=0xα1exdx\Gamma(\alpha) = \int_0^\infty x^{\alpha-1} e^{-x} dx
  • Mean of the gamma distribution equals αβ\frac{\alpha}{\beta}, while the variance is αβ2\frac{\alpha}{\beta^2}

Probabilities in gamma distributions

  • Calculate probabilities for a gamma-distributed random variable XX using the
    • CDF F(x;α,β)F(x; \alpha, \beta) represents the probability that XX is less than or equal to a specific value xx and is defined as F(x;α,β)=0xf(t;α,β)dtF(x; \alpha, \beta) = \int_0^x f(t; \alpha, \beta) dt
    • Probability P(Xx)P(X \leq x) equals the CDF evaluated at xx, i.e., F(x;α,β)F(x; \alpha, \beta)
  • Determine quantiles by inverting the CDF to find the value xpx_p that corresponds to a given probability pp
    • The pp-th quantile xpx_p satisfies the equation F(xp;α,β)=pF(x_p; \alpha, \beta) = p
    • Quantiles help establish and percentiles (median, quartiles)

Gamma vs exponential distributions

  • is a special case of the gamma distribution when the shape parameter α=1\alpha = 1
    • Exponential PDF simplifies to f(x;β)=βeβxf(x; \beta) = \beta e^{-\beta x} for x>0x > 0, where β\beta is the rate parameter
  • Sum of nn independent exponentially distributed random variables with rate β\beta follows a gamma distribution
    • Shape parameter becomes α=n\alpha = n, while the rate parameter β\beta remains unchanged
    • Relationship is useful for modeling total waiting times (customer service) or system reliability (time until nn components fail)

Beta Distribution

Beta distribution for proportions

  • Continuous probability distribution defined on the interval [0,1][0, 1], making it suitable for modeling proportions, probabilities, and fractions
  • Characterized by two shape parameters α>0\alpha > 0 and β>0\beta > 0, which determine the shape of the distribution (symmetric, skewed, U-shaped, or J-shaped)
  • PDF of a beta-distributed random variable XX, where 0<x<10 < x < 1: f(x;α,β)=1B(α,β)xα1(1x)β1f(x; \alpha, \beta) = \frac{1}{B(\alpha, \beta)} x^{\alpha-1} (1-x)^{\beta-1}
    • B(α,β)B(\alpha, \beta) is the , a normalization constant ensuring the PDF integrates to 1, defined as B(α,β)=01xα1(1x)β1dxB(\alpha, \beta) = \int_0^1 x^{\alpha-1} (1-x)^{\beta-1} dx
  • Mean of the beta distribution is αα+β\frac{\alpha}{\alpha + \beta}, and the variance is αβ(α+β)2(α+β+1)\frac{\alpha \beta}{(\alpha + \beta)^2 (\alpha + \beta + 1)}
  • Applications include modeling the proportion of defective items in a batch (quality control) or the success probability of a binary event (coin flips, survey responses)
  • Shape parameters α\alpha and β\beta can be interpreted as pseudo-counts in Bayesian inference
    • α\alpha represents the number of successes plus one, while β\beta represents the number of failures plus one
    • Interpretation allows for updating prior beliefs about a proportion based on observed data (posterior distribution)
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary