Home page for accesible maths 5 Models for discrete random variables

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

5.6 Poisson random variables

Unlike the other random variables discussed here, we define the Poisson random variable directly through its pmf:

The pmf of a Poisson random variable R is pR⁢(r)=λr⁢exp⁡(-λ)r!, for r=0,1,2,…, with pR⁢(r)=0 otherwise, where the parameter λ>0. We say R∼Pois⁢(λ).

The Poisson random variable arises physically in two ways:

  1. 1.

    The number of events in a fixed time interval of a continuous time process where events occur at random at a given rate over time. (Covered in later courses.)

  2. 2.

    The number of successes when the probability of success is very rare.

Examples of Poisson random variables are

  • •

    the number of raindrops to land on your head in a given time interval,

  • •

    the number of floods of a river in a year,

  • •

    the number of deaths due to typhoid over a year, (assuming typhoid cases are independent),

  • •

    the number of hits on a website in a given period of time.

Exercise 5.19.

Calculate the probabilities of 0, 1 and 2 deaths from typhoid in a year if the number R has a Poisson random variable with λ=4.6.

R hint: dpois(0:2,lambda=4.6)

Solution.
pR⁢(r) = λr⁢exp⁡(-λ)r!
pR⁢(0) = exp⁡(-λ)
= exp⁡(-4.6)=0.01,
pR⁢(1) = λ⁢exp⁡(-λ)
= 4.6⁢exp⁡(-4.6)=0.046,
pR⁢(2) = λ2⁢exp⁡(-λ)/2
= 4.62⁢exp⁡(-4.6)/2=0.106.
Example 5.20.

Verify that pR⁢(r)=λr⁢exp⁡(-λ)r! is a proper probability mass function. This proof makes use of the definition of the exponential function in terms of its series expansion.

Solution.

For each r≥0,

pR⁢(r) = λr⁢exp⁡(-λ)r!
≥ 0.
∑r=0∞pR⁢(r) = ∑r=0∞λr⁢exp⁡(-λ)r!
= exp⁡(-λ)⁢∑r=0∞λrr!
= exp⁡(-λ)⁢exp⁡(λ)
= 1.
Exercise 5.21.

If R∼Pois⁢(λ) show that E⁢(R)=λ. The technique is similar to that in the above example.

Solution.
E⁢(R) = ∑r=0∞r⁢p⁢(r)
= ∑r=0∞r⁢λr⁢exp⁡(-λ)r!
= 0+∑r=1∞r⁢λr⁢exp⁡(-λ)r!
= λ⁢exp⁡(-λ)⁢∑r=1∞λr-1(r-1)!
= λ⁢exp⁡(-λ)⁢exp⁡(λ)
= λ.
Example 5.22.

Find the variance of the Poisson rv by first computing E⁢[R⁢(R-1)].

Solution.
E⁢[R⁢(R-1)] = ∑r=0∞r⁢(r-1)⁢pR⁢(r)
= 0+0+∑r=2∞r⁢(r-1)⁢pR⁢(r)
= ∑r=2∞r⁢(r-1)⁢λr⁢exp⁡(-λ)r!
= λ2⁢exp⁡(-λ)⁢∑r=2∞λr-2(r-2)!
= λ2⁢exp⁡(-λ)⁢exp⁡(λ)=λ2.

Hence

Var⁢(R) = E⁢[R⁢(R-1)]+E⁢[R]-(E⁢[R])2
= λ2+λ-(λ)2
= λ.

Thus a key property of the Poisson pmf is that the expectation and variance are both equal to λ.

Exercise 5.23.

Use R to give a barplot of the Poisson pmf on 0,1,…,7, when λ=0.5 and when λ=3.

par(mfrow=c(1,2))
barplot( dpois(0:7,lambda=0.5),names.arg=c(0:7),ylim=c(0,1) )
barplot( dpois(0:7,lambda=3),names.arg=c(0:7),ylim=c(0,1)  )