4.5 - Probability generating functions
A probability distribution can be stored in a single algebraic expression: the powers record the possible values, and the coefficients record their probabilities. You will construct these probability generating functions, derive the standard forms and recover probabilities without confusing a coefficient with a function value.
Encoding probabilities
How can one polynomial store both the possible values of a random variable and their probabilities? Suppose a count takes the values with probabilities . Attach each probability to a power whose exponent is the corresponding value:
The missing term in records . The symbol is a variable used to organise the information; it is not an observation of .
Probability generating function
For a nonnegative integer-valued random variable , with , its probability generating function, or PGF, is
For finite support, the sum is a polynomial. A distribution on is included: its coefficient is zero.
The definition is in the formula booklet.
A PGF uses integer powers starting at zero. A variable that can take negative values or arbitrary real values does not have a PGF in this sense. At , the constant term gives ; here the constant monomial is interpreted as .
Worked example 1: a gap in the possible values
Question. The distribution of is given by
Find .
Plan. Make each value of an exponent, and use its probability as the coefficient.
Answer. .
Check. The coefficients are nonnegative and add to . Also, : this agrees with the even-value probability minus the odd-value probability, .
Now add one to every possible value. The probabilities stay fixed, so only the exponents change.
Worked example 2: shifting the count
Question. A random variable takes values with probabilities , respectively. Find , and relate it to the PGF in Worked example 1.
Plan. Encode the new values, then factor out the common power of .
Multiplying by shifts every exponent up by one, just as adding one shifts every outcome up by one.
Answer. .
Check. , matching the absence of a zero outcome. Its odd-value probability is and its even-value probability is , so , as the polynomial gives.
The location of a coefficient matters as much as its value. Write zero coefficients mentally when there are gaps.
Watch out
The power is the value of the random variable, not the position of that value in a table. Values require powers , not .
Construct a new PGF with two gaps in its support.
Standard distribution PGFs
Standard distributions lead to standard algebraic forms, because their probability formulae are already the coefficients of familiar series. Recall the probability mass functions for the binomial, geometric and Poisson distributions; these are supplied in the formula booklet.
Use a positive integer for a uniform distribution, a nonnegative integer and for a binomial distribution, for a geometric distribution, and for a Poisson distribution.
For a discrete uniform variable on , each probability is , so
This is a finite geometric sum. At , use the polynomial to obtain ; the fraction has a removable gap there. If the uniform values are instead , omit the leading factor .
For , put . The binomial theorem gives
For , counts the trial of the first success: its possible values are , and . Therefore
For , this convergence interval contains . If , with certainty and .
Finally, for , the exponential series gives
The exponential series converges for every real . For an infinite PGF in general, is safe because the probability series converges there; a stated closed form may have a wider domain.
Standard PGFs
The PGF forms are not listed in the formula booklet: derive them from the definition and the supplied probability formulae and series.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account