1 Binomial and Poisson Distribution
1 Binomial and Poisson Distribution
H T
H T H T
H T H T H T H T
No. heads 0 1 2 3
Probability 1 3 3 1
8 8 8 8
Many people say that it is just ‘pure chance’, and that you are as likely to get
3 heads in a row as you are to get any other combination, but this is wrong!
This is because there are more combinations that give 1 head or 2 heads
Consider the number of combinations from tossing coins:
1 coin Outcome 1H 1T
1 pick No. of combinations 1 1 This pattern is known as
Pascal’s Triangle
2 coins Outcome 2H 1H,1T 2T
2 picks No. of combinations 1 2 1
It gives the number of combinations that Eg how many ways can you
give r matches from n picks between 2 get 3 tails out of 4 tosses?
options (in this case heads or tails) n4 r 3 4 ways
Pascal realised that the number of combinations This calculation is known as
could be directly calculated from n and r: n
or n Cr
n! r
Number of combinations
r!(n r )! and has a calculator key
ie how many ways can you obtain 3 heads and 2 tails with 5 coins?
Call the 3 heads H1, H2 and H3 and the two tails T1 and T2
Any of the 5 could be the first you toss
Any of the remaining 4 could be the second
Etc until last position Hence 5 x 4 x 3 x 2 x 1 = 5! ways to arrange the 5 coins
But we don’t care which Head came 1st, 2nd or 3rd and which tail came 1st or 2nd
0.33 0.7 2
P(heads) = 0.3 P(tails) = 1 – P(heads)
Hence the probability of getting 3 heads out of 5 tosses 5C3 0.33 0.7 2 0.1323
P r n Cr p r 1 p
nr
x P(x)
0 5
C0 0.30 0.7 5 0.1681
1
5
C1 0.31 0.7 4 0.3602
2 5
C2 0.32 0.73 0.3087
3 5
C3 0.33 0.7 2 0.1323
4 5
C4 0.34 0.71 0.0284
5 5
C5 0.35 0.7 0 0.0024
P r n Cr p r 1 p
nr
P X r n C r p r 1 p
nr
0.0000000000 89 (2sf)
P( X 1) 0.95
where P ( X 0) 0.85
n
P( X 0) 0.05
0.85 n 0.05
n log 0.85 log 0.05
n log 0.05
log 0.85 18.43... At least 19 calls
Mean and variance for X~ B(n,p)
An important theme in S2 is the notion of a probability distribution
having measures of average and spread. For a Binomial Distribution:
E X np Var X np1 p
Eg X ~ B(20,0.2) 20 0.2 20 0.2 0.8
4 3.2
Eg Jan 12, Q3 The probability of a sales representative making a sale on a call is 0.15
Representatives are required to achieve a mean of 5 sales each day.
c) Find the least number of calls each day a
representative should make to achieve this target.
If X = number of sales each day
then X ~ B(n,0.15) and mean = 0.15n
0.15n 5
n 0.515 33 31
At least 34 calls
Now try Ex1D, p14
Poisson Distributions
Many situations fit a different probability model called the Poisson Distribution
The Poisson Distribution is used when events occur : Singly (one at a time)
Independently of each other
Eg the number of accidents Eg the number of hits
At a constant rate
on a certain road each year a website receives in
a 1 hour period
A Poisson Distribution is defined by its mean λ, and is denoted by X ~ Po(λ)
x
In which case, P X x e .
The derivation of this rule
x! is beyond the scope of S2
Eg X ~ Po(4). Find:
c) P(X≤1) P (0) P (1)
4
a) P(X=0) e . 40!
0 4
b) P(X=1) e . 41!
1
0.0183 0.0733
e 4 . 40! 41!
0 1
0.0916
The formulae booklet provides POISSON CUMULATIVE
DISTRIBUTION FUNCTION tables for λ up to 10 in increments of 0.5
b) P X 5 P X 4 0.6288
0.00098 P X 6 1 P X 6
0.8699
WB1. In a town, 30% of residents listen to the local radio station. Four residents
are chosen at random.
(a) State the distribution of the random variable X, the number of these four
residents that listen to local radio.
P X r nCr p r 1 p
nr
x P(X=x)
0 0.7 4 0.2401
1
4
C1 0.3 0.73 0.4116
2 4
C2 0.3 2 0.72 0.2646
3 4
C3 0.33 0.7 0.0756
4 0.3 4 0.0081
(c) Write down the most likely (d) Find E(X) and Var (X).
number of these four residents that
listen to the local radio station. E X np 4 0.3 1.2
X ~ Po1.5
A researcher has suggested that 1 in 150 people is likely to catch a particular virus.
Assuming that a person catching the virus is independent of any other person
catching it,
(b) find the probability that in a random sample of 12 people, exactly 2 of them
catch the virus.
X ~ B12 , 150
1
P X 12 12 C 2 150 149
1 2 10
0.0027 (4dp)
P X x nC x p x 1 p
n x
X ~ B1200 , 150
1
Po 8 P X 7 P X 6 0.3134
Do weaker players have a better chance of winning shorter or longer matches?
Suppose the weaker player has the same probability p of winning any one game
Best of 3 P 2 1C1 pp p 2
P 3 2C1 p1 p p 2 p 2 1 p
P win p 2 1 21 p p 2 3 2 p
Best of 5 P 3 2C 2 p 2 p p 3
P 4 3 C2 p 2 1 p p 3 p 3 1 p
P 5 4C2 p 2 1 p p 6 p 3 1 p
2