Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lesson 2: Binomial Distribution

Similar presentations


Presentation on theme: "Lesson 2: Binomial Distribution"β€” Presentation transcript:

1 Lesson 2: Binomial Distribution
S2 – Chapter 2 – Binomial Distribution Lesson 2: Binomial Distribution

2 Frost True Stories Back in 2010 I was on holiday in Hawaii and visited the family of a friend. We noticed that at the dinner table that out of the 8 of us, 6 of us were left-handed (including myself). One of them asked, β€œThe chances of that must be very low”. I saw that as a challenge. Consider the 8 people in a line. Suppose 10% of the population is left-handed. Can you now work out the probability of 6 being left-handed now? ? One possibility say is LLRLLRLL. The probability of this particular possibility is 𝟎.πŸΓ—πŸŽ.πŸΓ—πŸŽ.πŸ—Γ—πŸŽ.πŸΓ—β€¦= 𝟎.𝟏 πŸ” Γ— 𝟎.πŸ— 𝟐 But there are πŸ– πŸ” =πŸπŸ– possible ways in which 6 people in the room could be left handed. So probability is πŸ– πŸ” Γ— 𝟎.𝟏 πŸ” Γ— 𝟎.πŸ— 𝟐 =𝟎.πŸŽπŸŽπŸŽπŸπŸπŸ”πŸ– β‰ˆπŸ π’Šπ’ πŸ’πŸ’ 𝟎𝟎𝟎

3 Test Your Understanding
Q I throw a unfair coin 10 times, where the probability of heads is 𝑝. What’s the probability of throwing 3 heads? Let 𝑋 be a random variable which counts the number of heads seen in 10 throws. Determine the probability distribution. For convenience you can use π‘ž as the probability of tails (where π‘ž=1βˆ’π‘) 𝒙 𝟎 𝟏 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ– πŸ— 𝟏𝟎 𝑃 𝑋=π‘₯ π‘ž 10 10 1 𝑝 π‘ž 9 𝑝 2 π‘ž 8 𝑝 3 π‘ž 7 𝑝 4 π‘ž 6 𝑝 5 π‘ž 5 𝑝 6 π‘ž 4 𝑝 7 π‘ž 3 𝑝 8 π‘ž 2 𝑝 9 π‘ž 1 𝑝 10 ? ? ? ? ? ? ? ? ? ? ? Notice that each of the terms form the Binomial Expansion of 𝑝+π‘ž 10 (as per C2). Since 𝑝+π‘ž=1, 𝑝+π‘ž 10 =1, which shows that the probabilities add to 1 (as we’d hope!) For this reason we call this type of distribution a Binomial Distribution.

4 FICT Binomial Distribution !
e.g. We threw a coin 𝑛 times. We have a Binomial Distribution when we have: a FIXED number 𝑛 trials. The trials are INDEPENDENT. A CONSTANT probability 𝑝 of success (in each trial) TWO outcomes in each trial, β€œsuccess” and β€œfailure”. If these conditions are met, a random variable 𝑋 whose outcome is the number of successes is Binomially distributed: 𝑋~𝐡 𝑛,𝑝 𝑃 𝑋=π‘₯ = 𝑛 π‘₯ 𝑝 π‘₯ 1βˆ’π‘ π‘›βˆ’π‘₯ So that we’re allowed to multiply the probabilities together from each trial We’re counting heads, so throwing a heads is the β€œsuccess”. π‘₯ is number of successes. If 𝑛 trials and π‘₯ successes, must be π‘›βˆ’π‘₯ failures. FICT

5 Quickfire Questions 𝑋~𝐡 10,0.3 𝑷 𝑿=πŸ’ = 𝟏𝟎 πŸ’ 𝟎.πŸ‘ πŸ’ 𝟎.πŸ• πŸ” ?
Show the calculation required to find the indicated probability given the distribution. 𝑋~𝐡 10, 𝑷 𝑿=πŸ’ = 𝟏𝟎 πŸ’ 𝟎.πŸ‘ πŸ’ 𝟎.πŸ• πŸ” 𝑋~𝐡 10, 𝑷 𝑿=πŸ‘ = 𝟏𝟎 πŸ‘ 𝟎.𝟐 πŸ‘ 𝟎.πŸ– πŸ• 𝑋~𝐡 5, 𝑷 𝑿=𝟐 = πŸ“ 𝟐 𝟎.𝟏 𝟐 𝟎.πŸ— πŸ‘ 𝑋~𝐡 20, 𝑷 𝑿=𝟐𝟎 = 𝟎.πŸ’πŸ“ 𝟐𝟎 𝑋~𝐡 20, 𝑷 𝑿=𝟎 = 𝟎.πŸ“πŸ“ 𝟐𝟎 ? ? ? ? ?

6 Is it Binomially Distributed?
Is a Binomial Distribution appropriate as a model? The number of red balls selected when 3 balls are drawn from bag of 15 white and 5 red balls. Some number out of 8 people being left-handed Number of throws on die until 6 obtained Number of girls in family of 4 children ? ? ? ? We have a fixed number 𝑛 trials. Each trial has two possibilities, β€œsuccess” and β€œfailure”. The trials are independent. There is a fixed probability 𝑝 of success in each trial. No, not fixed. This is known as a β€˜Geometric Distribution’ (which we won’t cover) οƒΌ οƒΌ οƒΌ οƒΌ οƒΌ οƒΌ οƒΌ οƒΌ Technically the probability of having a girl increases if you previously had a girl, and vice versa. But the probability is still close to 0.5, so Binomial Distribution is appropriate. Usually. But in my story, genetics has an influence on handedness. Only if balls drawn with replacement. οƒΌ Only if balls drawn with replacement, 𝑝= 1 4 οƒΌ οƒΌ οƒΌ

7 Test Your Understanding
𝑋~𝐡 12, 1 6 What is 𝑃(𝑋=2)? 𝑷 𝑿=𝟐 = 𝟏𝟐 𝟐 𝟏 πŸ” 𝟐 πŸ“ πŸ” 𝟏𝟎 =𝟎.πŸπŸ—πŸ” What is 𝑃(𝑋≀1)? 𝑷 π‘Ώβ‰€πŸ =𝑷 𝑿=𝟎 +𝑷 𝑿=𝟏 = πŸ“ πŸ” 𝟏𝟐 + 𝟏𝟐 𝟏 𝟏 πŸ” 𝟏 πŸ“ πŸ” 𝟏𝟏 =𝟎.πŸ‘πŸ–πŸ I have a bag of 2 red and 8 white balls. 𝑋 represents the number of red balls I chose after 5 selections (with replacement). How is 𝑋 distributed? 𝑿~𝑩 πŸ“,𝟎.𝟐 Determine the probability that I chose 3 red balls. 𝑷 𝑿=πŸ‘ = πŸ“ πŸ‘ 𝟎.𝟐 πŸ‘ 𝟎.πŸ– 𝟐 =𝟎.πŸŽπŸ“πŸπŸ Q1 ? ? Q2 a ? b ? (If you get these quickly, go on to Exercise 1B)


Download ppt "Lesson 2: Binomial Distribution"

Similar presentations


Ads by Google