Note for Gamma Distribution
Motivation for Gamma Function
We all know how to compute the factorial of integer. BUT what is the factorial of 1/2?
In other words, how to interpolate the factorial function?
The gamma function can be seen as a solution to the following interpolation problem:
“Find a smooth curve that connects the points (x, y) given by y = (x − 1)! at the positive integer values for x.”
More details, check the wiki page.
Definition of Gamma Function
Definition 1 (Gamma Function)
For the the Gamma function, it is enough to know the following properties for now.
Lemma 1
Easy to prove using integration by parts.
Now, what is
Recall that,
Gamma Distribution
From the Gamma function, it is pretty natural to get Gamma pdf. JUST normalizing!
Clearly,
What is the pdf for the general
We’ll get
Here,
How to remember the Gamma pdf?
That’s my trick: exponential density times the power rise to (shape-1), then divided by normalizer.
Exponential density (very familiar):
power rise to (shape-1):
normalizing constant (using shape):
Another way to remember is this:
Exponential key part:
Add Power part:
- multiply the power part in exponential
- rate rises to shape
- variable rises to shape-1
Add Normalizing part:
Gamma & Exponential Connection
Let’s recall the Poisson Process,
Let
What is the pdf of
Proposition 1 Gamma is the sum of iid Exponentials.
Proof:
Since
It is enough to show the MGF of Gamma equals the above value.
Let
Proved!
Remark. The Exponential is the continous analog of the Geometric. Similarly, the Gamma is the continous analog of the Negative Binomial.