21
S2 Poisson Distribution

Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

Embed Size (px)

Citation preview

Page 1: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

S2Poisson

Distribution

Page 2: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

Think about the following random variables…• The number of dandelions in a square metre of open ground• The number of errors in a page of a typed manuscript• The number of cars passing under a bridge on a motorway in a minute (when there is no traffic interference on the motorway)• The number of telephone calls received by a company switchboard in half an hour

… what do they have in common?

The behaviour of these random variables follows thePOISSON DISTRIBUTION

Page 3: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The conditions required for a Poisson distribution are:

• Events occur at random• Events occur independently of each other

• The average rate of occurrences remains constant

• There is zero probability of simultaneous occurrences

The Poisson distribution is defined as…

𝑷 ( 𝑿=𝒓 )=𝒆− 𝝀𝝀𝒓

𝒓 !𝒇𝒐𝒓 𝒓=𝟎 ,𝟏 ,𝟐 ,𝟑 ,…

𝑿 𝑷𝒐(𝝀)

λ is the only parameter and represents the mean number ofoccurrences in the time period.

Page 4: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

If X ~ Po(3), find P(X = 2)

𝑃 (𝑋=3 )¿𝑒−332

2 ! ¿0.224 (3 𝑠𝑓 )

Page 5: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of cars passing a point on a road in a 5-minutePeriod may be modelled by a Poisson distribution withParameter 4.Find the probability that, in a 5-minute period(a) 2 cars go past (b) fewer than 3 cars go past

𝑋 𝑃𝑜 (4)

(𝑎 ) 𝑃 ( 𝑋=2 )¿𝑒−4 42

2!¿0.147 (3 𝑠𝑓 )

(𝑏) 𝑃 (𝑋<3 )¿𝑃 ( 𝑋=0 )+𝑃 (𝑋=1 )+𝑃 (𝑋=2)¿ 𝑒

−4 40

0 !+𝑒−4 41

1 !+𝑒−4 42

2 !¿0 .01831+0.07326+0.146525¿0 .238 (3 𝑠 . 𝑓 .)

Page 6: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of accidents in a week on a stretch of road is known to follow a Poisson distribution with parameter 2.1.Find the probability that(a) In a given week there is 1 accident(b) In a two week period there are 2 accidents(c) There is 1 accident in each of two successive weeks.

Page 7: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of accidents in a week on a stretch of road is known to follow a Poisson distribution with parameter 2.1.Find the probability that(a) In a given week there is 1 accident

𝑋 𝑃𝑜 (2.1)

𝑃 (𝑋=1 )¿𝑒−2.12.11

1 !¿0.257 (3 𝑠𝑓 )

Page 8: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of accidents in a week on a stretch of road is known to follow a Poisson distribution with parameter 2.1.Find the probability that(b) In a two week period there are 2 accidents

𝑋 𝑃𝑜 (4.2)

𝑃 (𝑋=2 )¿𝑒−4.24.22

2!¿0.132 (3𝑠𝑓 )

Page 9: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of accidents in a week on a stretch of road is known to follow a Poisson distribution with parameter 2.1.Find the probability that(c) There is 1 accident in each of two successive weeks.

𝑃 (1𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛1𝑤𝑒𝑒𝑘)=¿

𝑃 (1𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛 h𝑒𝑎𝑐 𝑜𝑓 2𝑠𝑢𝑐𝑐𝑒𝑠𝑠𝑖𝑣𝑒𝑤𝑒𝑒𝑘𝑠 )=¿

𝑃 (1𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛1𝑤𝑒𝑒𝑘) 𝐴𝑁𝐷𝑃 (1𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛1𝑤𝑒𝑒𝑘)

=

𝑒− 2.12.11

1 !

¿ (𝑒− 2.12.11

1! )2

Page 10: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of flaws in a metre length of dress material is known to follow a Poisson distribution with parameter 0.4.Find the probabilities that:(a) There are no flaws in a 1-metre length(b) There is 1 flaw in a 3-metre length(c) There is 1 flaw in a half-metre length.

(𝑎 ) 𝑋 𝑃𝑜(0.4) 𝑃 (𝑋=0)¿𝑒−0.40.40

0 !¿0.670 (3 𝑠𝑓 )

(𝑏) 𝑋 𝑃𝑜(1.2) 𝑃 (𝑋=1)¿𝑒−1.21.21

1 !¿0.361 (3𝑠𝑓 )

(𝑎 ) 𝑋 𝑃𝑜(0.2) 𝑃 (𝑋=1)¿𝑒−0.20.21

1 !¿0.164 (3 𝑠𝑓 )

Page 11: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

USING TABLESIf X ~ Po(8.5) find:(a) P(X < 7) (b) P(X ≥ 9) (c) P(X > 4) (d) P(4 < X < 9)

(𝑎 ) 𝑃 (𝑋<7)¿𝑃 (𝑋 ≤6)¿0.2562

(𝑏) 𝑃 (𝑋 ≥9)¿1−𝑃 (𝑋 ≤8)¿1−0.5231¿0.4769

(𝑐 )𝑃 (𝑋>4)¿1−𝑃 (𝑋 ≤4)¿1−0.0744¿0.9256

(𝑑) 𝑃 (4<𝑋<9)¿𝑃 (𝑋 ≤8)¿0.5231¿0.4487

−0.0744−𝑃 (𝑋 ≤4 )

Page 12: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

MEAN AND VARIANCE OF THE POISSON DISTRIBUTION

If then 𝑬 ( 𝑿 )=𝝀 𝑽𝒂𝒓 (𝑿 )=𝝀

The number of calls arriving at a switchboard in a 10-minute period can be modelled by a Poisson distribution with parameter 3.5. Give the mean and variance of the number of calls which arrive in(a) 10 minutes (b) an hour (c) 5 minutes

(𝑎 )𝜆=3.5𝐸 (𝑋 )=3.5𝑉𝑎𝑟 (𝑋 )=3.5

(𝑏)𝜆=21𝐸 (𝑋 )=21𝑉𝑎𝑟 (𝑋 )=21

(𝑐 )𝜆=1.75𝐸 (𝑋 )=1.75𝑉𝑎𝑟 (𝑋 )=1.75

Page 13: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

A dual carriageway has one lane blocked off due to roadworks. The number of cars passing a point in a road in a number of one-minute intervals is summarised in the table.

(a) Calculate the mean and variance of the number of cars passing in one minute intervals.

(b) Is the Poisson distribution likely to be an adequate model for the distribution of the number of cars passing in one-minute intervals?

Number of Cars 0 1 2 3 4 5 6Frequency 3 4 4 25 30 3 1

Page 14: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

Number of Cars 0 1 2 3 4 5 6Frequency 3 4 4 25 30 3 1

(a) Calculate the mean and variance of the number of cars passing in one minute intervals.

𝑀𝑒𝑎𝑛=∑ 𝑓𝑥

∑ 𝑓¿22870 ¿3.26 (3 𝑠 . 𝑓 .)

𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒=∑ 𝑓 𝑥2

∑ 𝑓−(∑ 𝑓𝑥

∑ 𝑓 )2

¿ 83670−( 22870 )

2

¿1.33 (3𝑠 . 𝑓 .)

Page 15: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

(b) Is the Poisson distribution likely to be an adequate model for the distribution of the number of cars passing in one-minute intervals?

𝑀𝑒𝑎𝑛=3.26 𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒=1.33For a Poisson distribution to be valid, the mean and variance need to be equal or very close.

In this situation they are not close and so a Poisson distribution would not be a likely model.

Page 16: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of cyclists passing a village post office during the day can be modelled as a Poisson random variable.On average two cyclists pass by in an hour.What is the probability that(a) Between 10am and 11am (i) no cyclists passes (ii) more than 3 cyclists pass(b) Exactly one cyclist passes while the shop-keeper is on a

20-minute tea break.(c) More than 3 cyclists pass in an hour exactly once in a

six-hour period?

Page 17: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of cyclists passing a village post office during the day can be modelled as a Poisson random variable.On average two cyclists pass by in an hour.What is the probability that(a) Between 10am and 11am (i) no cyclists passes (ii) more than 3 cyclists pass

𝑋 𝑃𝑜 (2)(𝑖 ) 𝑃 ( 𝑋=0 )¿0.1353(𝑖𝑖) 𝑃 (𝑋>3 )¿1−𝑃 (𝑋 ≤3)

¿1−0.8571¿0.1429

Page 18: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of cyclists passing a village post office during the day can be modelled as a Poisson random variable.On average two cyclists pass by in an hour.What is the probability that(b) Exactly one cyclist passes while the shop-keeper is on a

20-minute tea break.

𝑋 𝑃𝑜 ( 23 )𝑃 (𝑋=1 )=¿

𝑒− 23 ( 23 )

1

1 !¿0.342 (3𝑠 . 𝑓 .)

Page 19: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The number of cyclists passing a village post office during the day can be modelled as a Poisson random variable.On average two cyclists pass by in an hour.What is the probability that(c) More than 3 cyclists pass in an hour exactly once in a

six-hour period?

𝑋 𝐵 (6,0.1429 )

𝑃 (𝑋=1)¿ (61)0.14291×0.85715¿0.3966

Page 20: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

APPROXIMATING BINOMIAL WITH POISSON

If X ~ B(n, p) and n is large (>50) and p is small (<0.1)Then you can approximate X using the Poisson distribution where λ = np

𝑿 𝑩 (𝒏 ,𝒑 )≈𝒀 𝑷𝒐 (𝒏𝒑)

Page 21: Think about the following random variables… The number of dandelions in a square metre of open ground The number of errors in a page of a typed manuscript

The probability that a component coming off a production line is faulty is 0.01.(a) If a sample of size 5 is taken, find the probability that

one of the components is faulty.(b) What is the probability that a batch of 250 of these

components has more than 3 faulty components in it?

(𝑎) 𝑋 𝐵 (5 ,0.01)

𝑃 (𝑋=1)¿ (51)×0.011×0.994¿0.0480(𝑏) 𝑋 𝐵 (250 ,0.01) 𝑌 𝑃𝑜(2.5)

𝑃 (𝑌 >3)¿1−𝑃 (𝑌 ≤3)¿1−0.7576¿0.2424