1 of 25

Discrete Probability and the Binomial Distribution

An introduction to probability and probabilistic thinking

2 of 25

�Discrete versus Continuous Random Variables

Discrete Random Variables

  • Have outcomes that can be counted
    • Number of times heads comes up on a coin flip out of 10 total flips
    • Number of cars arriving at a parking garage in one hour
    • Number of participants falling within a category

Continuous Random Variables

  • Have [theoretically] infinitely many outcomes
    • Temperatures
    • Commute times

3 of 25

�Terminology for Probability

  •  

 

4 of 25

�Approaches to Probability

  • Classical / Frequentist approach
    • The probability of an event is the relative frequency of the event when the experiment is conducted for a very large number of trials
  • Empirical approach
    • The probability of an event is the number of times the event has been observed, divided by the number of times the experiment has been run
  • Subjective / Belief-based approach
    • The probability of an event is our educated belief that the event may occur (for example, the belief that our favorite sports team will win a championship this year)

5 of 25

�Estimating Probabilities: Example Scenarios

Determine each of the following (if possible) or describe the information you would need / use to do so…

Scenario 1: What is the probability that a coin flip results in “heads”?

Scenario 2: What is the probability that a manufactured item produced along this assembly line is defective?

Scenario 3: What is the probability that a randomly selected student is part of the Honors Program?

Scenario 4: What is the probability that a 6 or lower is flipped next at this Blackjack table?

6 of 25

�Probability Distributions: Probability Mass

  •  

7 of 25

�Uniform Probability and Calculations

  •  

8 of 25

�Contingency Tables and Probability

A contingency table lists the number of outcomes falling within categories

For example,

Number of Clubs

Hours Worked Per Week

None

One

Multiple

Total

None

171

239

175

585

< 10

328

481

369

1178

10 - 20

323

17

371

711

20 +

87

118

90

295

TOTAL

909

855

1005

2769

Excel Work: Open a new Excel Notebook and save it to your MAT240 folder as ProbabilityIntro.xlsx, copy/paste the two-way table into the first sheet

9 of 25

�Working with a Contingency Table

Number of Clubs

Hours Worked Per Week

None

One

Multiple

Total

None

171

239

175

585

< 10

328

481

369

1178

10 - 20

323

17

371

711

20 +

87

118

90

295

TOTAL

909

855

1005

2769

  1. P(20+ hours)
  2. P(at most one club)
  3. P(20+ hours and one club)
  4. P(No clubs or No work)
  5. P(multiple clubs given not working)
  6. Are being involved in no clubs and working 20+ hours independent?

Using your Excel spreadsheet, find the probabilities associated with a randomly chosen individual from this sample satisfying the events on the right.

 

10 of 25

�Check-In…

Before We Move Forward, Ask Me Two Questions…

11 of 25

A Special Class of [non-Uniform] Discrete �Distributions: The Binomial Distribution

  •  

12 of 25

�EXAMPLES OF BINOMIAL DISTRIBUTIONS

13 of 25

�Identifying Binomial Experiments

Which of the following scenarios correspond to binomial experiments? Why?

  1. It is estimated that 77% of people have been in at least one car accident in their lives. Researchers asked 48 randomly selected individuals whether they have ever been in a car accident.
  2. A researcher surveys students one by one, asking if they agree with a policy. The researcher continues until exactly 50 students say they agree with the policy.
  3. You are measuring the time until a machine fails. Each machine’s lifespan is recorded, but failures occur at unpredictable times based on complex factors such as wear and tear.
  4. A factory has a defect rate of 3% in the products it manufactures. Inspectors randomly select and evaluate 100 products.

14 of 25

Warm-Up Scenarios: Which of the following involve a Binomial random variable?

Scenario: A social media influencer receives an average of 25 text messages per hour. The number of messages they receive in a given hour is of interest.

Scenario: A group of birdwatchers is looking for a rare species of bird in a national park. Each time they hear a bird call, there’s a 5% chance it belongs to the rare species. They hear 50 bird calls during the day.

Scenario: An insurance company is interested in the number of minor car crashes a person has before they finally file an insurance claim.

Scenario: In an online multiplayer battle game, a particular player has a 40% chance of winning each match. During a weekend gaming tournament, the player participates in 15 matches and records how many they win.

Scenario: A tech company is analyzing the performance of its video streaming platform. They are interested in the amount of time between errors on the platform.

15 of 25

Calculating Probabilities with the Binomial Distribution

  •  

16 of 25

�Completed Example: Car Accidents, Part I

  •  

17 of 25

�Completed Example: Car Accidents, Part II

  •  

18 of 25

�Completed Example: Car Accidents, Part III

  •  

19 of 25

�Completed Example: Car Accidents, Part IV

  •  

20 of 25

�Example: Defective Products

Scenario: A factory has a defect rate of 3% in the products it manufactures. Inspectors randomly select 100 products. Find the probability of

    • exactly 5 products having defects?
    • at most 5 products having defects?
    • at least 5 products having defects?

21 of 25

�Example: Growing plants from seeds

Scenario: A botanist finds that a certain species of plant successfully grows 60% of the time under controlled greenhouse conditions. The botanist plants 25 seeds.

    • What is the probability that fewer than 20 of the seeds grow?
    • What is the probability that at least 17 and no more than 21 of the seeds grow?
    • What is the probability that more than 20 of the seeds grow?
    • Should the botanist be surprised if fewer than 13 of the seeds grow?

22 of 25

�Expected Value and Standard Deviation

  •  

23 of 25

�Example: Growing plants from seeds (Revisited)

Scenario: A botanist finds that a certain species of plant successfully grows 60% of the time under controlled greenhouse conditions. The botanist plants 25 seeds.

    • Find the expected number of seeds to grow
    • Find the standard deviation in the number of seeds to grow
    • Does this change, weaken, strengthen, or confirm your response to whether or not the botanist should be surprised if fewer than 13 of the seeds grow?

24 of 25

�Summary

  •  

25 of 25

�Next Time…

  • What we’ll be doing…
    • Continuous Random Variables and the Normal Distribution
  • How to prepare…
    • Read sections 5.1 – 5.5 of our textbook
  • Homework: Complete Homework 3 (Discrete Probability and the Binomial Distribution) on MyOpenMath