For instance, given $\DeclareMathOperator{\P}{\mathbb{P}} \DeclareMathOperator{\E}{\mathbb{E}} G(z) = \E z^X$, what exactly is $z$? and also what does the generating function actually give you? Because it states that it is returning the expected value of $z^X$ but how exactly is that helpful?
Asked
Active
Viewed 58 times
0
-
Cross posted sometime later on https://math.stackexchange.com/q/2952232/321264. – StubbornAtom Oct 12 '18 at 04:36
-
1Would this be a duplicate of https://stats.stackexchange.com/questions/186889/what-is-t-in-generating-functions/ ? – Glen_b Oct 12 '18 at 08:27
1 Answers
0
$z$ is nothing of importance, it's simply a variable. Just as the moment generating function $M_X(t)$ is a function in $t$, the probability function $G_X(z)$ is a function in $z$.
The use of generating functions for a discrete probability distribution is that $G_X(z)$ can be used to obtain the probabilities that define the random variable.
You can retrieve the probability $X=k$ by differentiating $G_X(z)$ a total of $k$ times and using the formula:
$$P(X=k) = \frac{G^{(k)}(0)}{k!}$$
So we simply end up evaluating the generating function at $0$ like with the moment generating function.
It follows if we can show $X$ and $Y$, discrete rv, have the same probability generating function, then they have the same distribution.

Xiaomi
- 2,276
- 6
- 19