Topic 7 · Lesson 2 of 3
Mean, variance, sums and linear functions
Mean and variance
Differentiate :
Putting :
So
Worked example
From a polynomial
For :
Show solutionHide solution
- , so .
- , so .
- .
Check: , and .
Worked example
The geometric variance
For , the quotient rule gives
Show solutionHide solution
At , using : and . So
which is the familiar . The same method proves the means and variances of all the standard distributions.
Sums of independent variables
If and are independent, then
(the expectation of a product of independent variables is the product of their expectations). This extends to any number of independent variables: the PGF of a sum is the product of the PGFs.
This gives quick proofs of results you have used:
- If and , then , so .
- If is the number of heads on one coin, , and is independent, then , so .
- The total of independent variables has PGF : it is .
When the sum is not a standard distribution, you can still find its probabilities by multiplying out and reading off coefficients. For two independent scores each equally likely to be 1, 2 or 3, and the total has PGF , so a total of 4 has probability .
To find the mean of a sum from its PGF, use the product rule when differentiating, or simply add the means: .
Linear functions
For ,
For example, if and , then . Differentiating, , so , which agrees with .
Notice the difference: adding a constant multiplies the PGF by a power of , while multiplying by replaces by .
Practise this topic
Both are part of Premium.