The Binomial Probability Distribution PDF
The Binomial Probability Distribution PDF
P(X)=Cxnpxqnx
where
Cxn is a combination
P(X) gives the probability of successes in n binomial trials.
Mean and Variance of Binomial Distribution
If p is the probability of success and q is the probability of failure in a binomial trial, then
the expected number of successes in n trials (i.e. the mean value of the binomial
distribution) is
E(X) = = np
The variance of the binomial distribution is
V(X) = 2 = npq
Note: In a binomial distribution, only 2 parameters, namely n and p, are
needed to determine the probability.
Example 1
A die is tossed 3 times. What is the probability of
(a) No fives turning up?
(b) 1 five?
(c) 3 fives?
Answer
This is a binomial distribution because there are only 2 possible outcomes
(we get a 5 or we don't).
Now, n=3 for each part. Let X= number of fives appearing.
(a) Here, x = 0.
P(X=3)=Cxnpxqnx=C33(61)3(65)0=2161=4.6296103
Example 2
Hospital records show that of patients suffering from a certain disease, 75% die of it.
What is the probability that of 6 randomly selected patients, 4 will recover?
Answer
This is a binomial distribution because there are only 2 outcomes (the patient
dies, or does not).
Let X = number who recover.
Here, n=6 and x=4. Let p=0.25 (success, that is, they live), q=0.75 (failure,
i.e. they die).
The probability that 4 will recover:
X Probability
0 0.17798
1 0.35596
2 0.29663
3 0.13184
4 3.2959102
5 4.3945103
6 2.4414104
The histogram (using Excel) is as follows:
It means that out of the 6 patients chosen, the probability that none of them will recover
is 0.17798, the probability that one will recover is 0.35596, and the probability that
all 6 will recover is extremely small.
SNB "Histogram"
Alternatively, we can
use Scientific Notebook's
"Plot Approximate Integral" to
give us something
approaching the histogram of
this experiment. Of course,
the x-values are not quite
right in the SNB answer
(because it was not designed
to do this), so I have made an
adjustment to the x-axis.
Example 3
In the old days, there was a probability of 0.8 of success in any attempt to make a
telephone call. (This often depended on the importance of the person making the call, or
the operator's curiosity!)
Calculate the probability of having 7 successes in 10 attempts.
Answer
Probability of success p=0.8, so q=0.2.
Probability=P(X=7)
=C710(0.8)7(0.2)107
=0.20133
Histogram
Using the
following
function in SNB,
C(10,x)(0.8)x
(0.2)10x
we have:
Example 4
A (blindfolded) marksman finds that on the average he hits the target 4 times out of 5. If
he fires 4 shots, what is the probability of
(a) more than 2 hits?
(b) at least 3 misses?
Answer
Here, n=4, p=0.8, q=0.2.
Let X= number of hits.
Let x0 = no hits, x1 =1 hit, x2 =2 hits, etc.
(a) P(X)=P(x3)+P(x4)
=C34(0.8)3(0.2)1+C44(0.8)4(0.2)0
=4(0.8)3(0.2)+(0.8)4
=0.8192
(b) 3 misses means 1 hit, and 4 misses means 0 hits.
P(X)=P(x1)+P(x0)
=C14(0.8)1(0.2)3+C04(0.8)0(0.2)4
=4(0.8)1(0.2)3+(0.2)4
=0.0272
Example 5
The ratio of boys to girls at birth in Singapore is quite high at 1.09:1.
What proportion of Singapore families with exactly 6 children will have at least 3boys?
(Ignore the probability of multiple births.)
[Interesting and disturbing trivia: In most countries the ratio of boys to girls is
about 1.04:1, but in China it is 1.15:1.]
Answer
p=0.5215,
q=10.52153=0.4785
When x=3:
Probability=P(X3)
=0.31077+0.25402+0.11074+2.0115102
=0.69565
NOTE: We could have calculated it like this:
P(X3)=1(P(x0)+P(x1)+P(x2))