Gamma Distribution
Modeling waiting times and the sum of exponential variables.
The Gamma distribution is a versatile, two-parameter continuous probability distribution that is strictly positive. It's often used to model the waiting time until a specified number of events occur.
Think of it this way: if the time until the *next* bus arrives is modeled by an Exponential distribution, then the time until the *third* bus arrives is modeled by a Gamma distribution. In finance, it can be used to model the size of insurance claims, loan defaults, or operational losses, where the values are always positive and often skewed.
Core Concepts
- .
- (alpha) is the shape parameter. If `α` is an integer, it represents the number of events to wait for.
- (beta) is the rate parameter (the inverse of the scale).
- is the Gamma function, a generalization of the factorial function.
The CDF is expressed using the lower incomplete gamma function, , and is usually computed numerically.
Key Derivations
Deriving the Expected Value (Mean)
Step 1: Set up the Integral for E[X]
The expected value is the integral of times the PDF over its entire range.
Step 2: Simplify and Rearrange
Combine terms and move constants outside the integral.
Step 3: Use u-Substitution
Let , which implies and .
Step 4: Apply the Gamma Function Definition
The integral is the definition of .
Using the property , we get .
Deriving the Variance
We use . We first need to find .
Step 1: Set up the Integral for E[X²]
Step 2: Apply u-Substitution Again
Using the same substitution .
Step 3: Apply Gamma Function Properties
The integral is , which equals .