Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Inductive probability wikipedia , lookup
History of statistics wikipedia , lookup
Birthday problem wikipedia , lookup
Central limit theorem wikipedia , lookup
History of network traffic models wikipedia , lookup
Exponential distribution wikipedia , lookup
Law of large numbers wikipedia , lookup
Tweedie distribution wikipedia , lookup
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 the POISSON DISTRIBUTION 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 of occurrences in the time period. If X ~ Po(3), find P(X = 2) 𝑒 −3 32 𝑃 𝑋=3 = 2! = 0.224 (3𝑠𝑓) The number of cars passing a point on a road in a 5-minute Period may be modelled by a Poisson distribution with Parameter 4. Find the probability that, in a 5-minute period (a) 2 cars go past (b) fewer than 3 cars go past 𝑋 ~ 𝑃𝑜(4) 𝑒 −4 42 = 0.147 (3𝑠𝑓) 𝑎 𝑃 𝑋=2 = 2! 𝑏 𝑃 𝑋 < 3 = 𝑃 𝑋 = 0 + 𝑃 𝑋 = 1 + 𝑃(𝑋 = 2) 𝑒 −4 42 𝑒 −4 41 𝑒 −4 40 + + = 2! 1! 0! = 0.01831 + 0.07326 + 0.146525 = 0.238 (3 𝑠. 𝑓. ) 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. 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.1 2.11 = 0.257 (3𝑠𝑓) = 1! 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.2 4.22 = 0.132 (3𝑠𝑓) = 2! 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. 𝑒 −2.1 2.11 𝑃 1 𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛 1 𝑤𝑒𝑒𝑘 = 1! 𝑃 1 𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛 𝑒𝑎𝑐ℎ 𝑜𝑓 2 𝑠𝑢𝑐𝑐𝑒𝑠𝑠𝑖𝑣𝑒 𝑤𝑒𝑒𝑘𝑠 = 𝑃 1 𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛 1 𝑤𝑒𝑒𝑘 𝐴𝑁𝐷 𝑃(1 𝑎𝑐𝑐𝑖𝑑𝑒𝑛𝑡 𝑖𝑛 1 𝑤𝑒𝑒𝑘) = 𝑒 −2.1 1 2 2.1 1! = 0.0661 (3 𝑠. 𝑓. ) 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.40 = 0.670 (3𝑠𝑓) 𝑎 𝑋~𝑃𝑜(0.4) 𝑃(𝑋 = 0) = 0! 𝑏 𝑋~𝑃𝑜(1.2) 𝑒 −1.2 1.21 = 0.361 (3𝑠𝑓) 𝑃(𝑋 = 1) = 1! 𝑎 𝑋~𝑃𝑜(0.2) 𝑒 −0.2 0.21 = 0.164 (3𝑠𝑓) 𝑃(𝑋 = 1) = 1! USING TABLES If 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) 𝑐 𝑃(𝑋 > 4) = 1 − 𝑃(𝑋 ≤ 4) = 1 − 0.0744 = 0.9256 = 1 − 𝑃(𝑋 ≤ 8) = 1 − 0.5231 = 0.4769 𝑑 𝑃(4 < 𝑋 < 9) = 𝑃(𝑋 ≤ 8) − 𝑃(𝑋 ≤ 4) = 0.5231 − 0.0744 = 0.4487 MEAN AND VARIANCE OF THE POISSON DISTRIBUTION If 𝑿 ~ 𝑷𝒐(𝝀) then 𝑬 𝑿 =𝝀 𝑽𝒂𝒓 𝑿 = 𝝀 The number of calls arriving at a switchboard in a 10minute 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 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. Number of Cars Frequency 0 3 1 4 2 4 3 25 4 30 5 3 6 1 (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 Frequency 0 3 1 4 2 4 3 25 4 30 5 3 6 1 (a) Calculate the mean and variance of the number of cars passing in one minute intervals. 𝑀𝑒𝑎𝑛 = 228 𝑓𝑥 = = 3.26 (3 𝑠. 𝑓. ) 70 𝑓 2 𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒 = 𝑓𝑥 − 𝑓 𝑓𝑥 𝑓 2 836 228 = − 70 70 = 1.33 (3 𝑠. 𝑓. ) 2 (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.33 For 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. 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? 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 𝑖 𝑃 𝑋=0 𝑋 ~ 𝑃𝑜(2) = 0.1353 𝑖𝑖 𝑃 𝑋 > 3 = 1 − 𝑃(𝑋 ≤ 3) = 1 − 0.8571 = 0.1429 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. 2 𝑋 ~ 𝑃𝑜 3 𝑃 𝑋=1 = 𝑒 −2 3 1! 2 3 1 = 0.342 (3 𝑠. 𝑓. ) 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 6 0.14291 × 0.85715 = 0.3966 𝑃(𝑋 = 1) = 1 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 𝑿 ~ 𝑩 𝒏, 𝒑 ≈ 𝒀 ~ 𝑷𝒐(𝒏𝒑) 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) 5 = × 0.011 × 0.994 = 0.0480 𝑃(𝑋 = 1) 1 𝑋 ~ 𝐵(250, 0.01) 𝑌 ~ 𝑃𝑜(2.5) 𝑃(𝑌 > 3) = 1 − 𝑃(𝑌 ≤ 3) = 1 − 0.7576 = 0.2424