2 The Poisson distribution

The Poisson distribution is a probability model which can be used to find the probability of a single event occurring a given number of times in an interval of (usually) time. The occurrence of these events must be determined by chance alone which implies that information about the occurrence of any one event cannot be used to predict the occurrence of any other event. It is worth noting that only the occurrence of an event can be counted; the non-occurrence of an event cannot be counted. This contrasts with Bernoulli trials where we know the number of trials, the number of events occurring and therefore the number of events not occurring.

The Poisson distribution has widespread applications in areas such as analysing traffic flow, fault prediction in electric cables, defects occurring in manufactured objects such as castings, email messages arriving at a computer and in the prediction of randomly occurring events or accidents. One well known series of accidental events concerns Prussian cavalry who were killed by horse kicks. Although not discussed here (death by horse kick is hardly an engineering application of statistics!) you will find accounts in many statistical texts. One example of the use of a Poisson distribution where the events are not necessarily time related is in the prediction of fault occurrence along a long weld - faults may occur anywhere along the length of the weld. A similar argument applies when scanning castings for faults - we are looking for faults occurring in a volume of material, not over an interval if time.

The following definition gives a theoretical underpinning to the Poisson distribution.

2.1 Definition of a Poisson process

Suppose that events occur at random throughout an interval. Suppose further that the interval can be divided into subintervals which are so small that:

  1. the probability of more than one event occurring in the subinterval is zero
  2. the probability of one event occurring in a subinterval is proportional to the length of the subinterval
  3. an event occurring in any given subinterval is independent of any other subinterval

then the random experiment is known as a Poisson process .

The word ‘process’ is used to suggest that the experiment takes place over time, which is the usual case. If the average number of events occurring in the interval (not subinterval) is λ ( > 0 ) then the random variable X representing the actual number of events occurring in the interval is said to have a Poisson distribution and it can be shown (we omit the derivation) that

P ( X = r ) = e λ λ r r ! r = 0 , 1 , 2 , 3 ,

The following Key Point provides a summary.

Key Point 7

The Poisson Probabilities

If X is the random variable

‘number of occurrences in a given interval’

for which the average rate of occurrence is λ then, according to the Poisson model, the probability of r occurrences in that interval is given by

P ( X = r ) = e λ λ r r ! r = 0 , 1 , 2 , 3 ,
Task!

Using the Poisson distribution P ( X = r ) = e λ λ r r ! write down the formulae for P ( X = 0 ) , P ( X = 1 ) , P ( X = 2 ) and P ( X = 6 ) , noting that 0 ! = 1.

P ( X = 0 ) = e λ × λ 0 0 ! = e λ × 1 1 e λ P ( X = 1 ) = e λ × λ 1 ! = λ e λ P ( X = 2 ) = e λ × λ 2 2 ! = λ 2 2 e λ P ( X = 6 ) = e λ × λ 6 6 ! = λ 6 720 e λ
Task!

Calculate P ( X = 0 ) to P ( X = 5 ) when λ = 2 , accurate to 4 d.p.

r 0 1 2 3 4 5
P ( X = r ) 0.1353 0.2707 0.2707 0.1804 0.0902 0.0361

Notice how the values for P ( X = r ) in the above answer increase, stay the same and then decrease relatively rapidly (due to the significant increase in r ! with increasing r ). Here two of the probabilities are equal and this will always be the case when λ is an integer.

In this last Task we only went up to P ( X = 5 ) and calculated each entry separately. However, each probability need not be calculated directly. We can use the following relations (which can be checked from the formulae for P ( X = r ) ) to get the next probability from the previous one:

P ( X = 1 ) = λ 1 P ( X = 0 ) , P ( X = 2 ) = λ 2 P ( X = 1 ) , P ( X = 3 ) = λ 3 P ( X = 2 ) , etc.

Key Point 8

Recurrence Relation for Poisson Probabilities

In general, for ease of calculation the recurrence relation below can be used

P ( X = r ) = λ r P ( X = r 1 ) for r 1.
Example 15

Calculate the value for P ( X = 6 ) to extend the Table in the previous Task using the recurrence relation and the value for P ( X = 5 ) .

Solution

The recurrence relation gives the formula

P ( X = 6 ) = 2 6 P ( X = 5 ) = 1 3 × 0.0361 = 0.0120

We now look further at the Poisson distribution by considering an example based on traffic flow.

Example 16

Suppose it has been observed that, on average, 180 cars per hour pass a specified point on a particular road in the morning Ôrush hour.Õ Due to impending roadworks it is estimated that congestion will occur closer to the city centre if more than 5 cars pass the point in any one minute. What is the probability of congestion occurring?

Solution

We note that we cannot use the binomial model since we have no values of n and p . Essentially we are saying that there is no fixed number ( n ) of cars passing the specified point and that we have no way of estimating p . The only information available is the average rate at which cars pass the specified point.

Let X be the random variable X = number of cars arriving in any minute. We need to calculate the probability that more than 5 cars arrive in any one minute. Note that in order to do this we need to convert the information given on the average rate (cars arriving per hour) into a value for λ (cars arriving per minute). This gives the value λ = 3 .

Using λ = 3 to calculate the required probabilities gives:

r 0 1 2 3 4 5 Sum
P ( X = r ) 0.04979 0.149361 0.22404 0.22404 0.168031 0.10082 0.91608

To calculate the required probability we note that

P ( more than 5 cars arrive in one minute ) = 1 P ( 5  cars or less arrive in one minute )

Thus

P ( X > 5 ) = 1 P ( X 5 ) = 1 P ( X = 0 ) P ( X = 1 ) P ( X = 2 ) P ( X = 3 ) P ( X = 4 ) P ( X = 5 )

Then P (more than 5) = 1 0.91608 = 0.08392 = 0.0839 (4 d.p).

Example 17

The mean number of bacteria per millilitre of a liquid is known to be 6. Find the probability that in 1 ml of the liquid, there will be:

  1. 0,
  2. 1,
  3. 2,
  4. 3,
  5. less than 4,
  6. 6 bacteria.
Solution

Here we have an average rate of occurrences but no estimate of the probability so it looks as though we have a Poisson distribution with λ = 6 . Using the formula in Key Point 7 we have:

  1. P ( X = 0 ) = e 6 6 0 0 ! = 0.00248 .

    That is, the probability of having no bacteria in 1 ml of liquid is 0.00248

  2. P ( X = 1 ) = λ 1 × P ( X = 0 ) = 6 × 0.00248 = 0.0149 .

    That is, the probability of having 1 bacteria in 1 ml of liquid is 0.0149

  3. P ( X = 2 ) = λ 2 × P ( X = 1 ) = 6 2 × 0.01487 = 0.0446 .

    That is, the probability of having 2 bacteria in 1 ml of liquid is 0.0446

  4. P ( X = 3 ) = λ 3 × P ( X = 2 ) = 6 3 × 0.04462 = 0.0892 .

    That is, the probability of having 3 bacteria in 1 ml of liquid is 0.0892

  5. P ( X < 4 ) = P ( X = 0 ) + P ( X = 1 ) + P ( X = 2 ) + P ( X = 3 ) = 0.1512
  6. P ( X = 6 ) = e 6 6 6 6 ! = 0.1606

Note that in working out the first 6 answers, which link together, all the digits were kept in the calculator to ensure accuracy. Answers were rounded off only when written down.

Never copy down answers correct to, say, 4 decimal places and then use those rounded figures to calculate the next figure as rounding-off errors will become greater at each stage. If you did so here you would get answers 0.0025, 0.0150, 0.0450, 0.9000 and P ( X < 4 ) = 0.1525 . The difference is not great but could be significant.

Task!

A Council is considering whether to base a recovery vehicle on a stretch of road to help clear incidents as quickly as possible. The road concerned carries over 5000 vehicles during the peak rush hour period. Records show that, on average, the number of incidents during the morning rush hour is 5. The Council won’t base a vehicle on the road if the probability of having more than 5 incidents in any one morning is less than 30%. Based on this information should the Council provide a vehicle?

We need to calculate the probability that more than 5 incidents occur i.e. P ( X > 5 ) . To find this we use the fact that P ( X > 5 ) = 1 P ( X 5 ) . Now, for this problem:

P ( X = r ) = e 5 5 r r !

Writing answers to 5 d.p. gives:

P ( X = 0 ) = e 5 5 0 0 ! = 0.00674 P ( X = 1 ) = 5 × P ( X = 0 ) = 0.03369 P ( X = 2 ) = 5 2 × P ( X = 1 ) = 0.08422 P ( X = 3 ) = 5 3 × P ( X = 2 ) = 0.14037 P ( X = 4 ) = 5 4 × P ( X = 3 ) = 0.17547 P ( X = 5 ) = 5 5 × P ( X = 4 ) = 0.17547

P ( X 5 ) = P ( X = 0 ) + P ( X = 1 ) + P ( X = 2 ) + P ( X = 3 ) + P ( X = 4 ) + P ( X = 5 ) = 0.61596

The probability of more than 5 incidents is P ( X > 5 ) = 1 P ( X 5 ) = 0.38403 , which is 38.4% (to 3 s.f.) so the Council should provide a vehicle.