The Poisson distribution and linear combinations

A-Level Mathematics · Probability & Statistics — Further

The Poisson distribution

$$X\sim\text{Po}(\lambda):\qquad P(X=r)=e^{-\lambda}\frac{\lambda^{r}}{r!},\qquad \text{E}(X)=\text{Var}(X)=\lambda$$

Poisson models the number of events in a fixed interval when events occur singly, independently, and at a constant average rate. All three conditions are examinable in words.

Linear combinations

$$\text{E}(aX+bY)=a\,\text{E}(X)+b\,\text{E}(Y)$$$$\text{Var}(aX+bY)=a^{2}\text{Var}(X)+b^{2}\text{Var}(Y)\quad(X,Y\ \text{independent})$$

Two consequences that decide most questions: the coefficients are squared in the variance, and $\text{Var}(X-Y)=\text{Var}(X)+\text{Var}(Y)$ — variances add even when the means subtract.

λ = 3 = E(X) = Var(X) 0 1 2 3 4 5 6 7 8 P(X = r) Skewed right, long tail — and no upper bound unlike the binomial
Three things read straight from the picture. First, the distribution is skewed right: it is bounded at $0$ on the left but has no limit on the right — quite unlike the binomial, which is bounded at $n$. Second, the two tallest bars at $r=2$ and $r=3$ are equal; this always happens when $\lambda$ is an integer, because $\dfrac{P(X=\lambda)}{P(X=\lambda-1)}=\dfrac{\lambda}{\lambda}=1$. Third, $\lambda=3$ is both the mean and the variance — a property unique to Poisson, and also a quick test on real data: a sample mean far from the sample variance is a sign that the Poisson model is not appropriate.

Worked example: Poisson when the interval length changes

Calls arrive at a call center following a Poisson distribution with a mean of $3$ calls per $10$ minutes. Find the probability of more than $8$ calls in a $30$-minute period.

Solution

Step 1 — change the parameter to match the interval length. The interval is three times as long, so the mean is also three times as large:

$$\lambda=3\times 3=9\;\Longrightarrow\;X\sim\text{Po}(9)$$

This is the step that decides the whole question, and it is forgotten very often: candidates calculate with $\lambda=3$ when the question is about $30$ minutes.

Step 2 — convert "more than $8$" to cumulative form. "More than $8$" means $X\ge 9$, that is

$$P(X>8)=1-P(X\le 8)$$

Step 3 — look up the cumulative table. For $\lambda=9$, the table gives $P(X\le 8)=0.4557$.

$$P(X>8)=1-0.4557=0.544$$

Sanity check: the expectation is $9$, and $8$ lies just below the expectation, so the probability of exceeding it must be slightly more than $0.5$. We got $0.544$ — it matches.

Note the difference between four ways of wording: "more than $8$" is $X\ge 9$; "at least $8$" is $X\ge 8$; "at most $8$" is $X\le 8$; "fewer than $8$" is $X\le 7$. Four different numbers, and the table gives only one of them.

Worked example: variance of a sum and of a multiple

The mass of an empty box is $B\sim\text{N}(200,\,25)$ grams; the mass of one product is $I\sim\text{N}(60,\,9)$ grams, and all quantities are independent. Find the distribution of the total mass of a box containing $5$ products, and compare it with the distribution of $B+5I$.

Solution

Case 1 — a box containing five products. The total is $T=B+I_{1}+I_{2}+\cdots+I_{5}$, where the five $I$ variables are independent of one another:

$$\text{E}(T)=200+5(60)=500$$$$\text{Var}(T)=25+9+9+9+9+9=25+45=70$$$$T\sim\text{N}(500,\,70)$$

Case 2 — the expression $B+5I$. Here there is only one variable $I$, multiplied by five, so the coefficient is squared:

$$\text{Var}(B+5I)=25+5^{2}(9)=25+225=250$$

Why they differ by more than a factor of three. $5I$ describes a single product whose mass is then multiplied by five — if that product is heavier than average, all five parts are heavier at the same time. By contrast, $I_{1}+\cdots+I_{5}$ is five different products: heavy and light ones offset each other, so the total is far less spread out.

The expectations of the two cases are equal ($500$), but the variances are not. That is why you must read carefully whether the question is about five objects or five times one object.

Common mistake

Writing $\text{Var}(X-Y)=\text{Var}(X)-\text{Var}(Y)$. The correct formula is $\text{Var}(aX+bY)=a^{2}\text{Var}(X)+b^{2}\text{Var}(Y)$, and with $b=-1$ we get $b^{2}=+1$, so variances always add. In terms of meaning: variance measures uncertainty, and when you take the difference of two random quantities the two sources of uncertainty pile up rather than cancel. There is also an undeniable mathematical reason: variance is never negative, yet the wrong formula gives a negative number as soon as $\text{Var}(Y)>\text{Var}(X)$ — for example $\text{Var}(X)=4$, $\text{Var}(Y)=9$ gives $-5$. Seeing a negative variance tells you for certain that you subtracted by mistake, and it is also the final self-check worth doing in every linear combination question.

Key takeaway

Poisson counts rare events over an interval, and the whole technique lies in two preparation steps: adjust $\lambda$ for the length of the interval, and convert the wording of the question into the cumulative form that the tables give. For linear combinations there is only one rule to remember correctly — coefficients are squared, and variances always add.

← Discrete random variables and the normal distribution · All A-Level Mathematics lessons · Practice A-Level Mathematics questions (free, instant scoring) · Continuous random variables →