1

So my book says the following:

The moment generating function for the geometric distribution is: $g(t) = \cfrac{pe^t}{1-e^t(1-p)}$ where $|e^t(1-p)| <1$ of course for the geometric series to converge.

The moment generating function for negative binomial distribution is: $$ g(t) = \left(\frac{pe^t}{1-e^t(1-p)}\right)^r, $$ where $r$ is the number of geometric random variables you sum up for the negative binomial.

My books says that you just take the moment generating function for the geometric distribution to the r power to find the moment generating function for the negative binomial distribution as the moment generating function of a sum of independent random variables is equal to the product of each variables moment generating function, but is my question is why is the bolded statement true? Can someone explain this to me?

Thank You!

gt6989b
  • 54,422

1 Answers1

3

HINT

Let $X,Y$ be two independent random variables and $Z=X+Y$. Then, $$ M_Z(t) = \mathbb{E} \left[e^{tZ}\right] = \mathbb{E} \left[e^{t(X+Y)}\right] = \mathbb{E} \left[e^{tX} e^{tY}\right] $$

can you take it from here?

gt6989b
  • 54,422