Section 5.5 Generating Functions
In the previous section, you were able to take a given probability distribution and create several "special" expected value metrics that provided useful or interesting facts about the particular distribution...such as the mean and variance. It is possible however to embed a lot of these metrics in a "generating function".
Definition 5.5.1. Moment Generating Function.
Given a probability function \(f(x)\text{,}\) the moment generating function is a transformation given by
where the expected value is a summation or integral dependent upon the nature of the random variable x. If the expected value does not exist (due perhaps to a f(x) with asymptotes) then the M(t) does not exist.
Definition 5.5.2. Probability Generating Function.
Given a probability function \(f(x)\text{,}\) the probability generating function is a transformation given by
where the expected value is a summation or integral dependent upon the nature of the random variable x and again presuming that the resulting expected value exists.
Theorem 5.5.3. Relationship between \(M(t)\) and \(N(t)\).
\(M(t) = N(e^t)\) and \(N(t) = M(\ln(t))\)Proof.
Obvious? :)
Theorem 5.5.4. \(M(t)\) Properties.
Proof.
For the first result, notice
is pretty trivial.
For the next results, take derivatives and use the linearity of the summation or integral. Here, let's consider the case where \(X\) is a continuous variable and leave the discrete case for you.
and then evaluating at t=0 gives
Continuing,
and evaluating at t=0 gives
It should be noted that one may also determine the skewness and the kurtosis in a similar manner.
Theorem 5.5.5. N(t) Properties.
For discrete variable \(X\text{,}\)
Proof.
Notice, in the discrete case where \(R\) = {0, 1, 2, ... }
Therefore, by continually taking derivatives with respect to t and then evaluating those derivatives at t=0,
etc.
Corollary 5.5.6. Identical Random Variables have Identical Probability Generating Functions.
If random variables \(X_1\) and \(X_2\) have the same probability generating function (and therefore the same moment generating function) then the variables have identical distributions.Proof.
Apply previous result and notice that both variables have the same probability function \(f(x)\text{.}\)