Module 4: Discrete Random Variables

Binomial Distribution

Barbara Illowsky & OpenStax et al.

There are three characteristics of a binomial experiment. There are a fixed number of trials. Think of trials as repetitions of an experiment. The letter n denotes the number of trials. 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. [latex]p+q=1[/latex]. 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, 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 [latex]p=0.6[/latex]. Then, [latex]q=0.4[/latex]. This means that for every true-false statistics question Joe answers, his probability of success [latex](p=0.6)[/latex] and his probability of failure [latex](q=0.4)[/latex] remain the same.

The outcomes of a binomial experiment fit a binomial probability distribution. The random variable [latex]X=[/latex] the number of successes obtained in the n independent trials.

The mean, [latex]mu[/latex], and variance, [latex]sigma^{2}[/latex], for the binomial probability distribution are [latex]mu=np[/latex] and [latex]sigma^{2}=npq[/latex]. The standard deviation, [latex]sigma[/latex], is then [latex]sigma=sqrt{{{n}{p}{q}}}[/latex].

Any experiment that has characteristics two and three and where [latex]n=1[/latex] 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.

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 [latex]X=[/latex] the number of students who withdraw from the randomly selected elementary physics class.

Try It

The state health board is concerned about the amount of fruit available in school lunches. Forty-eight percent of schools in the state offer fruit in their lunches every day. This implies that 52% do not. What would a “success” be in this case?

[reveal-answer q=”539268″]Show Solution[/reveal-answer]
[hidden-answer a=”539268″]A success would be a school that offers fruit in their lunch every day.[/hidden-answer]

Example

Suppose you play a game that you can only either win or lose. The probability that you win any game is 55%, and the probability that you lose is 45%. Each game you play is independent. If you play the game 20 times, write the function that describes the probability that you win 15 of the 20 times.

[reveal-answer q=”328186″]Show Solution[/reveal-answer]
[hidden-answer a=”328186″]Here, if you define X as the number of wins, then X takes on the values 0, 1, 2, 3, …, 20. The probability of a success is [latex]p=0.55[/latex]. The probability of a failure is [latex]q=0.45[/latex]. The number of trials is [latex]n=20[/latex]. The probability question can be stated mathematically as [latex]P(x=15)[/latex].

[/hidden-answer]

Try It

A trainer is teaching a dolphin to do tricks. The probability that the dolphin successfully performs the trick is 35%, and the probability that the dolphin does not successfully perform the trick is 65%. Out of 20 attempts, you want to find the probability that the dolphin succeeds 12 times. State the probability question mathematically.

[reveal-answer q=”564040″]Show Solution[/reveal-answer]
[hidden-answer a=”564040″][latex]P(x=12)[/latex][/hidden-answer]

Example

A fair coin is flipped 15 times. Each flip is independent. What is the probability of getting more than ten heads? Let [latex]X=[/latex] the number of heads in 15 flips of the fair coin. X takes on the values 0, 1, 2, 3, …, 15. Since the coin is fair, [latex]p=0.5[/latex] and [latex]q=0.5[/latex]. The number of trials is [latex]n=15[/latex]. State the probability question mathematically.

[reveal-answer q=”995613″]Show Solution[/reveal-answer]
[hidden-answer a=”995613″][latex]P(x>10)[/latex][/hidden-answer]

Try It

A fair, six-sided die is rolled ten times. Each roll is independent. You want to find the probability of rolling a one more than three times. State the probability question mathematically.

[reveal-answer q=”244297″]Show Solution[/reveal-answer]
[hidden-answer a=”244297″][latex]P(x>3)[/latex][/hidden-answer]

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.

  1. 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.
  2. If we are interested in the number of students who do their homework on time, then how do we define X?
  3. What values does x take on?
  4. What is a “failure,” in words?
  5. If [latex]p+q=1[/latex], then what is q?
  6. The words “at least” translate as what kind of inequality for the probability question P(x ____40).

[reveal-answer q=”872394″]Show Solution[/reveal-answer]
[hidden-answer a=”872394″]

  1. failure
  2. [latex]X=[/latex] the number of statistics students who do their homework on time
  3. 0, 1, 2, …, 50
  4. Failure is defined as a student who does not complete his or her homework on time. The probability of a success is [latex]p=0.70[/latex]. The number of trials is [latex]n=50[/latex].
  5. [latex]q=0.30[/latex]
  6. greater than or equal to (≥)The probability question is [latex]P(xgeq40)[/latex].

[/hidden-answer]

Try It

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. Give two reasons why this is a binomial problem.

[reveal-answer q=”720742″]Show Solution[/reveal-answer]
[hidden-answer a=”720742″]This is a binomial problem because there is only a success or a failure, and there are a definite number of trials. The probability of a success stays the same for each trial.

[/hidden-answer]

Notation for the Binomial: [latex]B=[/latex] Binomial Probability Distribution Function

[latex]Xsim{B}(n,p)[/latex]

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

Example

It has been stated that about 41% of adult workers have a high school diploma but do not pursue any further education. If 20 adult workers are randomly selected, find the probability that 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?

Let [latex]X=[/latex] 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 [latex]n=20[/latex], [latex]p=0.41[/latex], and [latex]q=1–0.41=0.59[/latex]. [latex]Xsim{B}(20,0.41)[/latex]

Find [latex]P(xleq12)[/latex]. [latex]P(xleq12)=0.9738[/latex]. (calculator or computer)

[reveal-answer q=”156496″]Show Solution[/reveal-answer]
[hidden-answer a=”156496″]

  • Go into 2nd DISTR. The syntax for the instructions are as follows:
  • To calculate ([latex]x=[/latex] value): binompdf(n, p, number) if “number” is left out, the result is the binomial probability table.
  • To calculate P([latex]xleq[/latex] value): binomcdf(n, p, number) if “number” is left out, the result is the cumulative binomial probability table.
  • For this problem: After you are in 2nd DISTR, arrow down to binomcdf. Press ENTER. Enter 20,0.41,12). The result is [latex]P(xleq12)=0.9738[/latex].

Note

If you want to find [latex]P(x=12)[/latex], use the pdf (binompdf). If you want to find [latex]P(x>12)[/latex], use [latex]1-text{binomcdf}(20,0.41,12)[/latex].

The probability that at most 12 workers have a high school diploma but do not pursue any further education is 0.9738.

The graph of [latex]Xsim{B}(20,0.41)[/latex] is as follows:

This histogram shows 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.

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

The number of adult workers that you expect to have a high school diploma but not pursue any further education is the mean, [latex]mu=np=(20)(0.41)=8.2[/latex].

The formula for the variance is [latex]sigma^{2}=npq[/latex]. The standard deviation is [latex]sqrt{{{n}{p}{q}}}[/latex].

[latex]sigma=sqrt{(20)(0.41)(0.59)}={2.20}[/latex]

[/hidden-answer]

Try It

About 32% of students participate in a community volunteer program outside of school. If 30 students are selected at random, find the probability that at most 14 of them participate in a community volunteer program outside of school. Use the TI-83+ or TI-84 calculator to find the answer.

[reveal-answer q=”226275″]Show Solution[/reveal-answer][hidden-answer a=”226275″][latex]P(xleq14)=0.9695[/latex][/hidden-answer]

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 [latex]X=[/latex] 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:
    1. the probability that two pages feature signature artists
    2. the probability that at most six pages feature signature artists
    3. the probability that more than three pages feature signature artists.
  3. Using the formulas, calculate the (i) mean and (ii) standard deviation.

[reveal-answer q=”81853″]Show Solution[/reveal-answer]
[hidden-answer a=”81853″]

  1. [latex]x=0,1,2,3,4,5,6,7,8[/latex]
  2. [latex]{X}sim{B}{({100},frac{{8}}{{560}})}[/latex]
    1. [latex]{P}{({x}={2})}=text{binompdf}{({100},frac{{8}}{{560}},{2})}={0.2466}[/latex]
    2. [latex]{P}{({x}leq{6})}=text{binomcdf}{({100},frac{{8}}{{560}},{6})}={0.9994}[/latex]
    3. [latex]{P}{({x}{>}{3})}={1}-{P}{({x}leq{3})}={1}-text{binomcdf}{({100},frac{{8}}{{560}},{3})}={1}-{0.9443}={0.0557}[/latex]
  3.  
    1. [latex]text{Mean}={n}{p}={({100})}{(frac{{8}}{{560}})}=frac{{800}}{{560}}approx{1.4286}[/latex]
    2. [latex]text{Standard Deviation}=sqrt{{{n}{p}{q}}}=sqrt{{{({100})}{({8560})}{({552560})}}}approx{1.1867}[/latex]

[/hidden-answer]

Try It

According to a Gallup poll, 60% of American adults prefer saving over spending. Let [latex]X=[/latex] 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.

[reveal-answer q=”457993″]Show Solution[/reveal-answer]
[hidden-answer a=”457993″]

  1. [latex]X∼B(50,0.6)[/latex]
  2. Using the TI-83, 83+, 84 calculator with instructions as provided earlier:
    1. [latex]P(x=25)=text{binompdf}(50,0.6,25)=0.0405[/latex]
    2. [latex]P(xleq20)=text{binomcdf}(50,0.6,20)=0.0034[/latex]
    3. [latex]P(x>30)=1-text{binomcdf}(50,0.6,30)=1–0.5535=0.4465[/latex]
    1. [latex]text{Mean}=np=50(0.6)=30[/latex]
    2. Standard Deviation[latex]=sqrt{{{n}{p}{q}}}=sqrt{{{50}{({0.6})}{({0.4})}}}approx{3.4641}[/latex]

[/hidden-answer]

Example

The lifetime risk of developing pancreatic cancer is about one in 78 (1.28%). Suppose we randomly sample 200 people. Let [latex]X=[/latex] the number of people who will develop pancreatic cancer.

  1. What is the probability distribution for X?
  2. Using the formulas, calculate the (i) mean and (ii) standard deviation of X.
  3. Use your calculator to find the probability that at most eight people develop pancreatic cancer.
  4. Is it more likely that five or six people will develop pancreatic cancer? Justify your answer numerically.

[reveal-answer q=”586098″]Show Solution[/reveal-answer]
[hidden-answer a=”586098″]

  1. [latex]Xsim{B}(200,0.0128)[/latex]
  2.  
    1. Mean[latex]=np=200(0.0128)=2.56[/latex]
    2. [latex]text{Standard Deviation}=sqrt{{{n}{p}{q}}}=sqrt{{{({200})}{({0.0128})}{({0.9872})}}}approx{1.5897}[/latex]
  3. Using the TI-83, 83+, 84 calculator:
    [latex]P(xleq8)=text{binomcdf}(200,0.0128,8)=0.9988[/latex]
  4. [latex]P(x=5)=text{binompdf}(200,0.0128,5)=0.0707[/latex]
    [latex]P(x=6)=text{binompdf}(200,0.0128,6)=0.0298[/latex] So [latex]P(x=5)>P(x=6)[/latex]; it is more likely that five people will develop cancer than six.

[/hidden-answer]

Try It

During the 2013 regular NBA season, DeAndre Jordan of the Los Angeles Clippers had the highest field goal completion rate in the league. DeAndre scored with 61.3% of his shots. Suppose you choose a random sample of 80 shots made by DeAndre during the 2013 season. Let [latex]X=[/latex] the number of shots that scored points.

  1. What is the probability distribution for X?
  2. Using the formulas, calculate the (i) mean and (ii) standard deviation of X.
  3. Use your calculator to find the probability that DeAndre scored with 60 of these shots.
  4. Find the probability that DeAndre scored with more than 50 of these shots.

[reveal-answer q=”522994″]Show Solution[/reveal-answer]
[hidden-answer a=”522994″]

  1. [latex]Xsim{B}(80,0.613)[/latex]
  2.  
    1. Mean = np = 80(0.613) = 49.04
    2. Standard Deviation = [latex]displaystylesqrt{{{n}{p}{q}}}=sqrt{{{80}{({0.613})}{({0.387})}}}approx{4.3564}[/latex]
  3. Using the TI-83, 83+, 84 calculator:
    [latex]P(x=60)=text{binompdf}(80,0.613,60)=0.0036[/latex]
  4. [latex]P(x>50)=1–P(x≤50)=1–text{binomcdf}(80,0.613,50)=1–0.6282=0.3718[/latex]

[/hidden-answer]

Example

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?

[reveal-answer q=”52898″]Show Solution[/reveal-answer]
[hidden-answer a=”52898″]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 [latex]frac{6}{16}[/latex], 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.[/hidden-answer]

Try It

A lacrosse team is selecting a captain. The names of all the seniors are put into a hat, and the first three that are drawn will be the captains. The names are not replaced once they are drawn (one person cannot be two captains). You want to see if the captains all play the same position. State whether this is binomial or not and state why.

[reveal-answer q=”395022″]Show Solution[/reveal-answer]
[hidden-answer a=”395022″]This is not binomial because the names are not replaced, which means the probability changes for each time a name is drawn. This violates the condition of independence.

[/hidden-answer]

Concept Review

A statistical experiment can be classified as a binomial experiment if the following conditions are met:

  1. There are a fixed number of trials, n.
  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.
  3. The n trials are independent and are repeated using identical conditions.

The outcomes of a binomial experiment fit a binomial probability distribution. The random variable [latex]X=[/latex] the number of successes obtained in the n independent trials. The mean of X can be calculated using the formula [latex]mu=np[/latex], and the standard deviation is given by the formula

[latex]sigma=sqrt{npq}[/latex]

Formula Review

[latex]Xsim{B}(n,p)[/latex] means that the discrete random variable X has a binomial probability distribution with n trials and probability of success p.

[latex]X=[/latex] the number of successes in n independent trials

[latex]n=[/latex] the number of independent trials

X takes on the values [latex]x=0,1,2,3,...,n[/latex]

[latex]p=[/latex] the probability of a success for any trial

[latex]q=[/latex] the probability of a failure for any trial

[latex]p+q=1[/latex]

[latex]q=1–p[/latex]

The mean of X is [latex]mu=np[/latex]. The standard deviation of X is [latex]sigma=sqrt{{{n}{p}{q}}}[/latex]

[reveal-answer q=”609833″]Show References[/reveal-answer]
[hidden-answer a=”609833″]

“Access to electricity (% of population),” The World Bank, 2013. Available online at http://data.worldbank.org/indicator/EG.ELC.ACCS.ZS?order=wbapi_data_value_2009%20wbapi_data_value%20wbapi_data_value-first&sort=asc (accessed May 15, 2015).

“Distance Education.” Wikipedia. Available online at http://en.wikipedia.org/wiki/Distance_education (accessed May 15, 2013).

“NBA Statistics – 2013,” ESPN NBA, 2013. Available online at http://espn.go.com/nba/statistics/_/seasontype/2 (accessed May 15, 2013).

Newport, Frank. “Americans Still Enjoy Saving Rather than Spending: Few demographic differences seen in these views other than by income,” GALLUP® Economy, 2013. Available online at http://www.gallup.com/poll/162368/americans-enjoy-saving-rather-spending.aspx (accessed May 15, 2013).

Pryor, John H., Linda DeAngelo, Laura Palucki Blake, Sylvia Hurtado, Serge Tran. The American Freshman: National Norms Fall 2011. Los Angeles: Cooperative Institutional Research Program at the Higher Education Research Institute at UCLA, 2011. Also available online at http://heri.ucla.edu/PDFs/pubs/TFS/Norms/Monographs/TheAmericanFreshman2011.pdf (accessed May 15, 2013).

“The World FactBook,” Central Intelligence Agency. Available online at https://www.cia.gov/library/publications/the-world-factbook/geos/af.html (accessed May 15, 2013).

“What are the key statistics about pancreatic cancer?” American Cancer Society, 2013. Available online at http://www.cancer.org/cancer/pancreaticcancer/detailedguide/pancreatic-cancer-key-statistics (accessed May 15, 2013).

[/hidden-answer]

License

Icon for the Creative Commons Attribution 4.0 International License

Binomial Distribution Copyright © 2018 by Barbara Illowsky & OpenStax et al. is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book