Next: Poisson Probability Model Up: Discrete Populations (Probability Models) Previous: More Parameters

# Binomial Probability Model

The binomial  probability model offers a simple but very useful model. An example of this model is the number of heads on 20 flips of a coin. This is certainly simple, but how about: The number of people answering yes to the question, "Do you like the way the president is doing his job?" Both of these are binomial. The second is of interest monthly (if not daily) in the US.

A binomial model is characterized by trials which either end in success (heads) or failure (tails). These are sometimes called Bernoulli  trials .

Suppose we have n Bernoulli trials and p is the probability of success on a trial. Then this is a binomial model if

1.
The Bernoulli trials are independent of one another.
2.
The probability of success, p, remains the same from trial to trial.
Don't those two assumptions look familiar? They should! This is nothing more than the rules for a random sample applied to a particular case; i.e., the sample items are independent of one another and conditions don't change from sample item to sample item.

The binomial random variable , X, is just the number of successes in the n trials. Over the n trials, there could be one success, two successes, etc., up to n successes. So the range of X is the set {0, 1, 2, ... , n}. We will often write X is bin(n,p) , which is read "X is binomial n, p". We can determine (obtain an explicit formula) for the probability model of X.

For this class, we have written some class code to obtain these probabilities. An example will demonstrate it. Suppose we want the probability of getting 7 heads in ten flips of a fair coin. That is, X is bin(10,.5) and we want P( X = 7). In class code the input is:

1.
k = 7
2.
p = .5
3.
n = 10
Choose probability from the analysis menu, select the appropriate probability distribution and enter these values. You should get the results:
   P( X = k)     P( X <= k)
0.1171875     0.9453125

Hence, the probability of getting 7 heads in 10 flips of a fair coin is .1171875. Also, the probability of getting at most 7 heads in 10 flips of a fair coin is .9453125. At most 7 heads in 10 flips is the same event as 7 or less heads. These later probabilities will be useful.

As another example, suppose we have a fair spinner with the numbers 1 through 10 on it. Suppose success is a 1 or 2 or 3, while 4 through 10 are failures; i.e., we win if 3 or less is spun. Now suppose the spinner is spun six times. Let X be the number of times we win. Then X is bin(6,.3). Lets determine the distribution of X by using the probability module. It's easy. Our input is n=6, p = .3 and we let k vary from 0 through 6. Try it! You'll get (rounded to 4 places):

range: x      0       1      2      3     4      5      6
p(x)       0.1176  .3025  .3241  .1852  .0595  .0102  .0072

Notice how the distribution peaks around 2 and then decreases. This will always happen for a binomial.

In general, for a bin(n,p) the probabilities of a binomial will increase until np and then decrease. The probability distribution will be symmetric if p = 1/2, skewed right if p < 1/2 and skewed left if p > 1/2. See the exercises for examples.

Further, the mean of a bin(n,p) is and the variance is .

Exercise 5.5.1
1.
Find the probability of getting 10 heads on 20 flips of a fair coin.
2.
Find the probability of 5 aces (1's) on 5 rolls of a die.
3.
Jack reports he has ESP. To prove it, he states the color (red or black) of a card drawn at random from a deck of 52 cards. He does this for 30 cards (with replacement). Suppose he is correct on 18 of the cards. He states, "See, I got more than half correct? " What do you think? One way of reasoning here is: If Jack is just guessing how odd is it that he gets 18 or more correct out of 30?; i.e., obtain the probability that when X is bin(30,.5).
4.
Same as last problem but this time JACK gets 24 out of 30 correct.
5.
Clyde hits 70% of his free throws in basketball. Determine the probability that Clyde makes 8 out of 14 free throws.
6.
In the last problem, Clyde plays a game in which he sinks only 4 out of 17 free throws. The coach benches him the next game, saying "Clyde, you're slipping." Clyde says, "Hey, coach it's just a bad night." To which the coach says, "A pretty rare night Clyde." Who is right? Consider the probability that when X is bin(17,.7).
7.
Obtain and comment on the distribution of a binomial probability model with n = 6 and p = .5 .
8.
Obtain and comment on the distribution of a binomial probability model with n = 6 and p = .7 .

Next: Poisson Probability Model Up: Discrete Populations (Probability Models) Previous: More Parameters

2001-01-01