4.3 The Binomial Distribution

We have seen how to deal with general discrete random variables, but there are also special cases of DRVs.  If we can identify them, they can provide us some insight and shortcuts.  The first of these is the Binomial Distribution.

The Binomial Setting

There are three characteristics of a binomial experiment.

  1. There are a fixed number of trials. Think of trials as repetitions of an experiment. The letter n denotes the number of trials.
  2. There are only two possible outcomes, called “success” and “failure,” for each trial. The letter p denotes the probability of a success on one trial, and q denotes the probability of a failure on one trial. p + q = 1.
  3. The n trials are independent and are repeated using identical conditions. Because the n trials are independent, the outcome of one trial does not help in predicting the outcome of another trial. Another way of saying this is that for each individual trial, the probability, p, of a success and probability, q, of a failure remain the same.

For example: At ABC College, the withdrawal rate from an elementary physics course is 30% for any given term. This implies that, for any given term, 70% of the students stay in the class for the entire term. A “success” could be defined as an individual who withdrew. The random variable X = the number of students who withdraw from the randomly selected elementary physics class.

Any experiment that has characteristics two and three and where n = 1 is called a Bernoulli trial (named after Jacob Bernoulli who, in the late 1600s, studied them extensively). A binomial experiment takes place when the number of successes is counted in one or more Bernoulli trials.

For example, randomly guessing at a true-false statistics question has only two outcomes. If a success is guessing correctly, then a failure is guessing incorrectly. Suppose Joe always guesses correctly on any statistics true-false question with probability p = 0.6. Then, q = 0.4. This means that for every true-false statistics question Joe answers, his probability of success (p = 0.6) and his probability of failure (q = 0.4) remain the same.  This situation meets the Binomial requirements.

The following example illustrates a problem that is not binomial. It violates the condition of independence. ABC College has a student advisory committee made up of ten staff members and six students. The committee wishes to choose a chairperson and a recorder. What is the probability that the chairperson and recorder are both students? The names of all committee members are put into a box, and two names are drawn without replacement. The first name drawn determines the chairperson and the second name the recorder. There are two trials. However, the trials are not independent because the outcome of the first trial affects the outcome of the second trial. The probability of a student on the first draw is \frac{6}{16}. The probability of a student on the second draw is \frac{5}{15}, when the first draw selects a student. The probability is \frac{6}{15}, when the first draw selects a staff member. The probability of drawing a student’s name changes for each of the trials and, therefore, violates the condition of independence.

Example

Approximately 70% of statistics students do their homework in time for it to be collected and graded. Each student does homework independently. In a statistics class of 50 students, what is the probability that at least 40 will do their homework on time? Students are selected randomly.

a. This is a binomial problem because there is only a success or a __________, there are a fixed number of trials, and the probability of a success is 0.70 for each trial.

b. If we are interested in the number of students who do their homework on time, then how do we define X?

c. What values does x take on?

d. What is a “failure,” in words?

e. If p + q = 1, then what is q?

f. The words “at least” translate as what kind of inequality for the probability question P(x ____ 40).

Your turn!

Sixty-five percent of people pass the state driver’s exam on the first try. A group of 50 individuals who have taken the driver’s exam is randomly selected. Can we use the binomial here?

Notation for the Binomial

The outcomes of a binomial experiment fit a binomial probability distribution. The random variable X counts the number of successes obtained in the n independent trials.

X ~ B(n, p)

Read this as “X is a random variable with a binomial distribution.” The parameters are n and p: n = number of trials, p = probability of a success on each trial.

Since the Binomial counts the number of successes, x, in n trials, the range of vaules for a binomial random variable could be anything from 0 to n (x=0,1,2…, n).

Binomial Probability Function

Once we have decided we can use the binomial for a given situation, we can use the binomial probability function to find the probability of a specific number of successes, P(X=x).  The binomial PMF is made up of two parts:

First, we need to find out how many different ways we can get x successes in n trials.  To do this we can use the “Choose” function, also called the binomial coefficient, written as:

nCx = \ {C_x^n} =\binom nx =\frac{n!}{x!(n-x)!}

Note: The the ! mark is the factorial operator.

The next part gives us the probability of a single one of those ways to get x successes in n trials.  We can do this by using our independent multiplication rule.   We multiply the probability of success (p) raised to the number of successes (x) by the probability of failure (q=1-p) raised to the number of failures (n-x).

pxq(n-x)

Since we know each of these ways are equally likely and how many ways are possible we can now put the two pieces together. We multiply the probability of one way by how many we have to give us our overall probability of x successes in n trials.

P(X = x) = \frac{n!}{x!(n-x)!}pxq(n-x)

Unfortunately the binomial does not have a nice form of CDF, but it is simply the sum of PDFs up until that point. Consider the following example to demonstrate this point.

Example

It has been stated that about 41% of adult workers have a high school diploma but do not pursue any further education. 20 adult workers are randomly selected.

Let X = the number of workers who have a high school diploma but do not pursue any further education.

X takes on the values 0, 1, 2, …, 20 where n = 20, p = 0.41, and q = 1 – 0.41 = 0.59. X ~ B(20, 0.41)

The y-axis contains the probability of x, where X = the number of workers who have only a high school diploma.

The graph of X ~ B(20, 0.41) is as follows:

Histogram showing a binomial probability distribution. It is made up of bars that are fairly normally distributed. The x-axis shows values from 0 to 20. The y-axis shows values from 0 to 0.2 in increments of 0.05.
Figure 4.7: Workers With Diplomas

 

Find the probability that:

(a) Exactly 12 of them have a high school diploma

(b) At most 12 of them have a high school diploma but do not pursue any further education. How many adult workers do you expect to have a high school diploma but do not pursue any further education?

Your turn!

About 32% of students participate in a community volunteer program outside of school. If 30 students are selected at random, find:

(a) The probability that exactly 14 of them participate in a community volunteer program outside of school.  First try plugging in to the binomial formula by hand, then check yourself with technology.

(b) The probability that exactly 14 of them participate in a community volunteer program outside of school. Rely on technology for this cumulative probability.

Measures of the Binomial Distribution

The mean, μ, and variance, σ2, for the binomial probability distribution are μ = np and σ2 = npq. The standard deviation, σ, is then σ = \sqrt{npq}.

 

Example

In the 2013 Jerry’s Artarama art supplies catalog, there are 560 pages. Eight of the pages feature signature artists. Suppose we randomly sample 100 pages. Let X = the number of pages that feature signature artists.

  1. What values does x take on?
  2. What is the probability distribution? Find the following probabilities

2a. the probability that two pages feature signature artists.

2b. the probability that at most six pages feature signature artists

2c. the probability that more than three pages feature signature artists.

3. Using the formulas, calculate the (3a) mean and (3b) standard deviation.

    Your turn!

    According to a Gallup poll, 60% of American adults prefer saving over spending. Let X = the number of American adults out of a random sample of 50 who prefer saving to spending.

    1. What is the probability distribution for X?
    2. Use your calculator to find the following probabilities:
      1. the probability that 25 adults in the sample prefer saving over spending
      2. the probability that at most 20 adults prefer saving
      3. the probability that more than 30 adults prefer saving
    3. Using the formulas, calculate the (i) mean and (ii) standard deviation of X.

    Image References

    Figure 4.7: Kindred Grey (2020). “Figure 4.7.” CC BY-SA 4.0. Retrieved from https://commons.wikimedia.org/wiki/File:Figure_4.7.png
    definition

    License

    Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

    MATH 1260: Significant Statistics Copyright © 2020 by John Morgan Russell, OpenStaxCollege, OpenIntro is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

    Share This Book