Worked question 1 - Further Statistics: Discrete Distributions Depth
Key facts: discrete distributions and probability generating functions
Original content written for Revision Library.
For X ~ Po(lambda), P(X = x) = e^(-lambda) * lambda^x / x!, for x = 0, 1, 2, ..., with E(X) = lambda and Var(X) = lambda. If X ~ Po(lambda1) and Y ~ Po(lambda2) are independent, then X + Y ~ Po(lambda1 + lambda2).
For X ~ Geo(p), the number of independent trials up to and including the first success (write q = 1 - p), P(X = x) = q^(x-1) * p, for x = 1, 2, 3, ..., with E(X) = 1/p and Var(X) = q/p^2. The geometric distribution has the memoryless property: P(X > m+n | X > m) = P(X > n) for positive integers m and n.
For X ~ NB(r, p), the number of independent trials up to and including the rth success, P(X = x) = C(x-1, r-1) * p^r * q^(x-r), for x = r, r+1, r+2, ..., with E(X) = r/p and Var(X) = rq/p^2. X can be written as the sum of r independent Geo(p) random variables.
The probability generating function of a discrete random variable X taking non-negative integer values is G_X(t) = E(t^X) = sum of P(X = x) * t^x. It satisfies G_X(1) = 1, E(X) = G_X'(1), and Var(X) = G_X''(1) + G_X'(1) - [G_X'(1)]^2. If X and Y are independent random variables, then G_(X+Y)(t) = G_X(t) * G_Y(t).
| Y | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| P(Y = y) | 0.1 | 0.4 | 0.3 | 0.2 |
Answer and mark scheme
Question 1
| Credit | Answer or working |
|---|---|
| M1 | (a) GY(t) = sum of P(Y=y)*ty, using the table |
| A1 | (a) GY(t) = 0.1t + 0.4t2 + 0.3t3 + 0.2t4, oe |
| M1 | (b) differentiates: GY'(t) = 0.1 + 0.8t + 0.9t2 + 0.8t3 |
| A1 | (b) E(Y) = GY'(1) = 2.6, cao |
| M1 | (b) differentiates again: GY''(t) = 0.8 + 1.8t + 2.4t2, so GY''(1) = 5.0 |
| M1 | (b) uses Var(Y) = GY''(1) + GY'(1) - [GY'(1)]2, oe |
| A1 | (b) Var(Y) = 0.84, cao |
| M1 | (c) uses E(Y) = sum of y*P(Y=y) = 1(0.1)+2(0.4)+3(0.3)+4(0.2) |
| A1 | (c) = 2.6, matching part (b), cao |
- (a) Answer: GY(t) = 0.1t + 0.4t2 + 0.3t3 + 0.2t4
- (b) Answer: E(Y) = 2.6, Var(Y) = 0.84
- (c) Answer: E(Y) = 0.1+0.8+0.9+0.8 = 2.6, matching part (b).







