Gamma
Study guides: Exam P-1, Exam MAS-I, Exam ACIA-CAPSTONE
A Gamma distribution is a continuous distribution on (0, \infty) with shape \alpha > 0 and scale \theta > 0. Its probability density function is
f(x) = \frac{x^{\alpha-1}e^{-x/\theta}}{\theta^{\alpha}\,\Gamma(\alpha)}
x > 0.\Gamma(\alpha)is the gamma function, with\Gamma(n) = (n-1)!for a positive integern.
With \alpha = 1, it is the exponential distribution with mean \theta. A density proportional to x^{a}e^{-x/b} on x > 0 is a gamma distribution with \alpha = a + 1 and \theta = b.
The idea A gamma with whole-number shape
\alphais the sum of\alphaindependent exponentials with mean\theta.
A loss has density
f(x) = c\,x^3e^forx > 0. What isc?
- The power 3 gives
\alpha = 4, and the exponent gives\theta = 2.\Gamma(4) = 3! = 6.c = \frac{1}{2^4 \times 6} = \frac{1}{96}.
Mean and variance
The mean and the variance of X are
E[X] = \alpha\theta
\text{Var}(X) = \alpha\theta^2
Dividing the variance by the mean gives \theta, and then \alpha = E[X]/\theta.
A loss is gamma with mean 900 and variance 270,000. What are
\alphaand\theta?
\theta = \frac{270{,}000}{900} = 300.\alpha = \frac{900}{300} = 3.
Scale or rate Some texts use the rate
\beta = 1/\theta, with mean\alpha/\betaand variance\alpha/\beta^2. A density withe^{-0.01x}has scale 100, not 0.01.
Sums of exponentials
If X_1, \ldots, X_n are independent exponentials with mean \theta, then
X_1 + X_2 + \cdots + X_n \sim \text{Gamma}(n, \theta)
Independent gammas with the same scale add the same way: their shapes add. The waiting time to the nth event of a Poisson process with rate \lambda is gamma with \alpha = n and \theta = 1/\lambda.
A loss is the sum of three independent pieces, each exponential with mean 200. What are the mean and variance of the loss?
- The loss is gamma with
\alpha = 3and\theta = 200.E[X] = 3 \times 200 = 600.\text{Var}(X) = 3 \times 200^2 = 120{,}000.
Tail probabilities for a whole-number shape
When \alpha is a positive integer, the probability that X exceeds x is
P(X > x) = \sum_{k=0}^{\alpha-1} \frac{e^{-x/\theta}(x/\theta)^k}{k!}
X exceeds x exactly when fewer than \alpha events of a Poisson process with rate 1/\theta have occurred by x. That count is Poisson with mean x/\theta.
A loss is gamma with
\alpha = 3and\theta = 300. What is the probability that it exceeds 600?
x/\theta = 2, and the sum runs overk = 0, 1, 2.\begin{aligned} P(X > 600) &= e^{-2}\left(1 + 2 + \frac{2^2}{2}\right) \\ &= 5e^{-2} \\ &= 0.6767 \end{aligned}
Moment generating function
For every shape \alpha > 0, whole number or not, the moment generating function of X is
M_X(t) = (1 - \theta t)^{-\alpha}
t < 1/\theta.
With \alpha = 1 it is the exponential's (1 - \theta t)^{-1}.
Hazard rate and mean excess loss
The hazard rate h(x) = f(x)/P(X > x) is constant at 1/\theta when \alpha = 1. A gamma with shape \alpha > 1 has an increasing hazard rate bounded above by 1/\theta, and one with \alpha < 1 has a decreasing hazard rate bounded below by 1/\theta. In both cases the hazard rate levels off at 1/\theta as x grows. An increasing hazard rate implies a decreasing mean excess loss, so for \alpha > 1 the mean excess loss falls as the threshold rises and approaches \theta.
On later exams
MAS-II uses the gamma as the conjugate prior for a Poisson mean. MAS-I uses it to model claim severity, which is positive and skewed right.
Practice questions
- CAS Exam MAS-I Spring 2018, Question 20
- CAS Exam MAS-I Fall 2019, Question 22
- CAS Exam MAS-I Spring 2019, Question 2
- Exam MAS-I Practice Question 1
- Exam MAS-I Practice Question 9
- Exam MAS-I Practice Question 12
- Exam MAS-I Practice Question 15
- Exam MAS-I Practice Question 63
- Exam MAS-I Practice Question 71
- Exam MAS-I Practice Question 72
- Exam MAS-I Practice Question 73
- Exam MAS-I Practice Question 92
- Exam MAS-I Practice Question 93
- Exam MAS-I Practice Question 97
- Exam MAS-I Practice Question 104
- Exam MAS-I Practice Question 130
- CAS Exam MAS-I Sample Question 1
- CAS Exam MAS-II Fall 2019, Question 27
- CAS Exam MAS-II Fall 2019, Question 35
- CAS Exam MAS-II Spring 2019, Question 7
- SOA Exam P Sample Question 390
- SOA Exam P Sample Question 420
- SOA Exam P Sample Question 507
- SOA Exam P Sample Question 579
- Exam P Practice Question 955
- Exam P Practice Question 956