Probability and Binomial Distributions
The Mean and Variance of the Binomial Distribution

If you play ten games of table tennis against an opponent who, from past experience, you know only has a chance of winning a game with you, how many games do you expect him to win?

Most people would reply 'two' and would argue that since the opponent wins on average of the games he can expect to be successful in × 10 = 2 .

Another way of writing this would be to say, if X ~ B(10, ), what is the value of E(X) where E(X) means the expected value of X? The answer then is E(X) = 10 × = 2.

In general, if X ~ B (n, p) , then the expected value of X is given by

E(X) = n p

The formal proof of this result requires some work from pure maths, and in particular uses the result that

\binom{n}{r} = \frac{n!}{r!(n - r)!}

The variance of X is given by

V(X) = n p q

Worked Examples

1

A biased die is thrown thirty times and the number of sixes seen is eight. If the die is thrown a further twelve times find:

(a)

the probability that a six will occur exactly twice;

Show me

Let X be defined by 'the number of sixes seen in twelve throws'.

Then X ~ B(12, p) where p = = .

Since X ~ B(12, ),

P(X = 2)= \binom{12}{2}\left(\frac{4}{15}\right)^2\left(\frac{11}{15}\right)^{10}
= \frac{66 × 4^2 × 11^{10}}{15^{12}}
= 0.211 (to 3 d.p.).
(b)

the expected number of sixes;

Show me

E(X) = n p = 12 × = 3.2

(c)

the variance of the number of sixes.

Show me

V(X) = n p q = 12 × × = 2 = 2.347 (to 3 d.p.).

2

A random variable X is binomially distributed with mean 6 and variance 4.2. Find P(X ≤ 6).

Show me

Since X is a binomial distribution,

mean = n p = 6 ,

variance = n p q = 4.2

Dividing,

q = = 0.7

and so

p = 1 − q = 0.3

This gives

0.3n = 6

⇒ n = 20

Hence

X ~ B(20, 0.3) ⇒ P(X ≤ 6) = 0.6080 (from tables).

Note that tables of cumulative binomial probabilities are available.

For example, B(10, 0.1) has entries as shown opposite.

So if X is distributed B(10, 0.1) , then P(X ≤ 3) = 0.9872.

But

P(X = 3)= P(X ≤ 3) − P(X ≤ 2)
= 0.9872 − 0.9298
= 0.0574

This figure may be inaccurate in the last digit as it has come from two numbers which have both been rounded. Using tables usually saves having to do several calculations and the benefit is considerable in cases such as Y ~ B(30, 0.1) when the value of quantities like P(Y ≤ 8) are needed.

Exercises

On average a bowler takes a wicket every eight overs. What is the probability that he will bowl ten overs without succeeding in getting a wicket?

How many times must an unbiased coin be tossed so that the probability that at least one tail will occur is at least 0.99?

The random variable X has a binomial distribution B(11, p).

If P(X = 8) = P(X = 7) find the value of p.

100 families each with three children are found to have the following number of boys.

Number of boys0123
Frequency13344013
(a)

Find the probability that a single baby born is a boy.

(b)

Calculate the number of families with three children you would expect to have two boys in a sample of 100 using your value from (a).

A multiple choice test has twenty questions and five possible answers for each one with only one correct per question. If X is 'the number of questions answered correctly' give:

(a)

the distribution of X;

B(, )
(b)

the mean and variance of X;

;
(c)

the probability that a student will achieve a pass mark of 10 or more purely by guessing.

(Drunkard's Walk) A drunk is ten steps away from falling in the dock. Every step he takes is either directly towards or away from the dock and he is equally likely to move in either direction. Find the probability that he will fall in the dock on his

Give your answers rounded to 3 s.f. when necessary.

(a)

10th step

(b)

12th step.

(c)

Find the probability that he is further from the dock after ten steps than he was at the start.

Find the probability that at most four heads will occur when a coin is tossed ten times.

(to 4 d.p.)

If the probability that Don will hit a target on any shot is 0.2 and the probability for Yvette is 0.4, which of them is more likely to score at least three hits if Don has ten goes and Yvette has five goes?

P(Don scores at least 3) = (to 4 d.p.)

P(Yvette scores at least 3) = (to 4 d.p.)