Gamma random variable
Introducing gamma function
Definition The is defined as for all
Note that converge if and only if , as the following analysis shows:
If ,
this means
And by comparison test, exists.
Now if , is just a definite integral, so converges for . If , by directly evaluating the indefinite integral.
If , , and we know converges iff , i.e, . By comparison test, we know converges for .
If , integration by part shows diverge, then comparison test can show that for all diverge.
Some properties of :
- for all ,
- Convexity of : is convex on We say a real function is convex on if and only if for every , and ,
(a) can be shown with integration by part, and (b) can be shown by first find out , then apply (a). for (c), we need Holder's inequality:
If $f$ and are Riemann integrable real functions on , for any , s.t
With this inequality,
Therefore
Now it is actually very cool that these 3 properties uniquely determines , as the following theorem shows.
theorem 1 Let be a real function defined on , such that:
(a) for all ,
(b)
(c) is convex on
then is uniquely determined. This says, is $\Gamma$, since $\Gamma$ satisfies all three properties.
proof Let . first note . Since is convex,
Now by squeezing theorem, on . By the continuity of , on . And by (a), is uniquely determined on .
The by-product of this proof is that we know point wise (at least) on . If we plug in x = 1, we find too!
Theorem 2 There is a relationship between gamma and beta function, namely
proof Note that by direct integration.
Also note, (integration by part) So
For any , such that , and for any such that , we can apply Holder's inequality (equation (1))to obtain,
so is convex with respect to x.
Now for every y fixed, let By (5), and convexity of , is also convex. Also,
and
By \textbf{theorem 1}, (6), (7), and (8) shows , so
Gamma distribution
Definition We say a continuous r.v is a gamma r.v with parameters , denoted , if
Property If ,
Proof 1 By definition
Proof 2 By moment generating function First note that is continuous on , we can apply m.g.f method.
The moment generating function
There is a connection between gamma and Poisson r.v that often appears in the analysis of computer networks, namely:
Theorem If be the number of events happen during time , let denote the time it takes for the nth event to happen, then
proof because the time at which nth event happens if and only if n events happened in . We can differentiate a power series by differentiating it term by term as long as lies in the radius of convergence. I.e, if converges in an open disk containing x, then . Since radius of convergence for is , we know