2.2 The Gamma Distribution
2.2 The Gamma Distribution
2.2 The Gamma Distribution
In this section we look at some of the basic properties of gamma random variables; see
Hogg and Tanis [6].
A random variable X is said to have a gamma distribution with parameters m > 0 and
> 0 if its probability density function has the form
In this case we shall say X is a gamma random variable with parameters m and and
write X ~ (m,). Sometimes m is called the shape parameter and the scale parameter.
In general, m might not be an integer.
Gamma random variables are used to model a number of physical quantities. Some
examples are
1. The time it takes for something to occur, e.g. a lifetime or the service time
in a queue.
2. The rate at which some physical quantity is accumulating during a certain
period of time, e.g. the excess water flowing into a dam during a certain
period of time due to rain or the amount of grain harvested during a certain
season.
Sometimes it is convenient to use = 1/ as a parameter instead of . The pdf then has
the form
for t > 0. We shall also write X ~ (m,1/) in this case. It should be clear from the
context whether f(t; m,) or f(t; m,) stands for (1) or (2).
(3) = 1
2.2 - 1
Proof. = = 1 since (m) = .
Proposition 2. If X has a gamma distribution with parameters m and , then the mean of
X is
(4) X = E(X) = = m
expected value of X2 is
The variance of X is
(7) X =
m(m+1) (m) and (3). This proves (5). Since E((X - X)2) = E(X2) - X2 the formula (6)
(8) f '(t) =
Proof. (8) is a straightforward computation and (9) and (10) follow from (8).
2.2 - 2
Proposition 5. Assume X has a gamma distribution with parameters m and and let
Y = cX for some positive number c. Then Y has a gamma distribution with parameters m
and c.
Proof. If f(t) given by (1) is the density function of X then the density function of Y is
(1/c)f(t/c) =
where
(12) B(m, q) = = 2
is the beta function. To see this first note that (m) (q) = . Make the change of
variables r = t + s and u = t/(t+s). Then t = ru and s = r(1-u) and dsdt = rdudr and the first
quadrant in the st-plane gets mapped into the strip {(r,u): 0 < r < , 0 < u < 1}. So
(m) (q) = = (m +q ) and (12) follows. Next we show that
(13) * =
To see this note that tm-1 * tq-1 = . Make the change of variables s = tu. We get tm-1 * tq-1
= = and (13) follows. It follows from (11) and (13) that
f(t; m,) * f(t; q,) = * = = f(t; m+q,)
2.2 - 3
Proposition 6. If X has a gamma distribution with parameters m and = 1/, then the
Laplace transform L(s) and moment generating function M(r) of X are given by
(14) L(s) = =
(15) M(r) = =
Proof. One has
L(s) = [ (m)]-1 = [ (m)]-1
If one makes the change of variables u = (s + 1/)t one obtains
L(s) = [ (m)]-1
= (1/(1 + s))m[ (m)]-1 =
This proves (14). (15) follows from the (14) and the fact that M(r) = L(-r).
Let
(16) G(t) = G(t;m,) = =
be the cummulative distribution function of the gamma random variable X ~ (m,) and
let
(17) H(t) = H(t;m,) = 1 - G(t) =
be the complementary distribution function (or survival function). Let
(18) m(t) =
be the upper incomplete gamma function and
(19) m(t) =
be the lower incomplete gamma function.
Proposition 7.
(20) G(t;m,) =
(21) H(t;m,) =
Proof. (20) follows by making the change of variables u = s/ in (16) and (21) follows
by making the change of variables u = s/ in (17).
2.2 - 4