Binomial DistN
Binomial DistN
Binomial DistN
Probability Distributions
In S1 we saw that a random variable has an associated probability distribution.
This had two components:
1 Outcomes
expressed as a set
2 A probability distribution
which maps outcomes to probabilities
{
Number of heads seen 1
𝑥= 0,2
after throwing a coin 4
Note that we said on the left 𝑃 ( 𝑋 =𝑥 ) =
twice. ?is the outcome,
that the count ?1 𝑥 =1
not what each coin was! 2
S2 – Chapter 2 – Binomial Distribution
There are 5 choices for the first beads. 4 for the second, and so on.
So possibilities.
is the factorial function, and gives us ?
the number of ways of arranging
distinguishable objects.
Factorial and Choose Function
How many ways are there of arranging 2 red beads and 3 blue beads in a line?
Q2
We can’t distinguish each of the red beads, nor the blue beads.
?
Exercise 1X (Not in textbook)
?
?
Probability based Questions
A fair die is rolled 8 times. Find the probability of:
a) No sixes
Q b) Only 3 sixes
c) 4 twos and 4 sixes
?
S2 – Chapter 2 – Binomial Distribution
? ? ? ? ? ? ? ? ? ? ?
Notice that each of the terms form the Binomial Expansion of (as per
C2). Since , , which shows that the probabilities add to 1 (as we’d
hope!)
4. TWO outcomes in each trial, “success” and “failure”. We’re counting heads, so throwing
a heads is the “success”.
FICT
Quickfire Questions
Show the calculation required to find the indicated probability given the distribution.
?
Is it Binomially Distributed?
Is a Binomial Distribution appropriate as a model? The number of red
balls selected
when 3 balls are
Some number out drawn from bag of
of 8 people being Number of throws on Number of girls in 15 white and 5 red
left-handed die until 6 obtained family of 4 children balls.
Q1 What is ?
What is ?
?
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.
Q2
a
?
b
?
Exercise 1B
The random variable A student suggests using a binomial distribution
1 5 to model the following situations. Give a
Find description of the random variable, state any
assumptions that must be made and give possible
values for and .
?
A sample of 20 bolts is checked for defects from a
a large batch. The production process should
The random variable produce 1% of defective bolts.
3 Find assuming bolts being defective are independent
from each other. ?
? b Some traffic lights have three phases: stop 48% of
? the time, wait or get ready 4% of the time and go
? 48% of the time. Assuming that you only cross a
traffic light when it is in the go position, model
A balloon manufacturer claims that 95% the number of times that you have to wait or stop
4 of his balloons will not burst when blown on a journey passing through 6 sets of traffic
up. You have 20 balloons. lights.
assuming lights operate independently.
What is the probability that none of
them burst?
?
When Stephanie plays tennis with Tim on average
one in eight of her serves is an ‘ace’. How many
c
?
What is the probability exactly 2 burst? ‘aces’ does Stephanie serve in the next 30 serves
against Tim?
assuming serves are independent and
? probability of an ace is constant.
?
Overview So Far
Probability of
? ?
with two outcomes success in each
(‘success’ and ‘failure’).
e.g. Number of heads
after 10 throws of an
trial
? ? ?
unfair coin.
Still to cover:
• The Cumulative Distribution Function
• Calculating and
Binomial Distribution
Based on what you learnt in Year 8/9, how many people would you expect on
average to be left-handed?
If
Bro Tip: It’s perhaps easier to
remember variance as (where
is the probability of failure,
although these are given the
formula book)
Examples
A fair, 4-sided die has the numbers 1, 2, 3, 4 on its faces. The die is rolled 20 times. The random
variable represents the number of 4s obtained.
?
David believes that 35% of people in a certain town will vote for him in the next election and he
commissions a survey. Find the minimum number of people the survey should ask to have a
Q mean number of more than 100 voting for David.
?
So people should be asked.
An examiner is trying to design a multiple choice test. For students answering the test at
random, he requires that the mean score on the test should be 20 and standard deviation at
least 4. Find how many choices each question should have and the number of questions there
should be. Number of choices is fixed across questions and show be as small as possible.
Q
So there should be 5 choices per question.
?
or is unknown
The previous question was to establish an unknown . But if the parameter or is
unknown, we just have to use mathematical common sense (see part c).
S2 May 2013 Q7
𝑿 𝑩 (𝒏?,𝟎.𝟏 )
12
𝑃 ( 𝑋=0) =( 1−𝑝
? ) =0.05
Exercise
Further Exercises
1 I play a game 10 times with a probability of winning. Given
that the probability I win every time is 10%, determine .
?
I play a different game 10 times with a probability of
winning. Given that , where is the number of times I win,
2 determine
?
If a third game has a 40% chance of winning, how many
times will I have to play it to have at least a 99% chance of
3
winning more than once.
?
Summary
We use a Binomial distribution when we want the probability of some number of
‘successes’ out of independent trials, in which each trial has only two outcomes.