Skip to main content
Examonaut

Topic 7

Probability generating functions

A probability distribution is a list of numbers: P(X=0)\text{P}(X = 0), P(X=1)\text{P}(X = 1), P(X=2)\text{P}(X = 2) and so on. A probability generating function stores the whole list in a single function, as the coefficients of a power series. That sounds like bookkeeping, but it is powerful: differentiating the function gives the mean and variance, and multiplying two functions gives the distribution of a sum of independent variables, which would otherwise need long convolution sums.

What you need to know

  • Define the probability generating function (PGF) GX(t)=E(tX)\text{G}_X(t) = \text{E}(t^X) of a discrete random variable, and use it to find probabilities.
  • Know and derive the PGFs of the binomial, Poisson, geometric and negative binomial distributions.
  • Use E(X)=GX′(1)\text{E}(X) = \text{G}_X'(1) and Var(X)=GX′′(1)+GX′(1)−[GX′(1)]2\text{Var}(X) = \text{G}_X''(1) + \text{G}_X'(1) - [\text{G}_X'(1)]^2.
  • Use GX+Y(t)=GX(t)GY(t)\text{G}_{X+Y}(t) = \text{G}_X(t)\text{G}_Y(t) for independent XX and YY, and GaX+b(t)=tbGX(ta)\text{G}_{aX+b}(t) = t^b\text{G}_X(t^a).

Key points

  • GX(t)=E(tX)=∑P(X=x)tx\text{G}_X(t) = \text{E}(t^X) = \sum \text{P}(X = x)t^x; the coefficient of txt^x is P(X=x)\text{P}(X = x) and GX(1)=1\text{G}_X(1) = 1.
  • Binomial (q+pt)n(q + pt)^n, Poisson eλ(t−1)e^{\lambda(t - 1)}, geometric pt1−qt\frac{pt}{1 - qt}, negative binomial (pt1−qt)r\left(\frac{pt}{1 - qt}\right)^r.
  • E(X)=G′(1)\text{E}(X) = \text{G}'(1) and Var(X)=G′′(1)+G′(1)−[G′(1)]2\text{Var}(X) = \text{G}''(1) + \text{G}'(1) - [\text{G}'(1)]^2.
  • For independent XX and YY, GX+Y(t)=GX(t)GY(t)\text{G}_{X+Y}(t) = \text{G}_X(t)\text{G}_Y(t).
  • GaX+b(t)=tbGX(ta)\text{G}_{aX + b}(t) = t^b\text{G}_X(t^a).

Practise this topic

Both are part of Premium.

Next lesson1. Generating functions and standard distributions