Probability, Random Variables, and Simulation: The Idea of Probability and Estimating Probabilities Using Simulation
Learning Targets: What We Want to Discover
Learn how probability is really just what happens when you play a chance game over and over for a very long time.
Learn how to run pretend practice games (called simulations) to find out how likely something is without doing it in real life.
Big Idea 1: Random Processes and Probability
A random process is like a surprise grab bag: you know what toys might be inside, but you never know which one you will pull out next until you reach in and look! Flipping a coin or rolling a die are random processes.
A trial means doing the action just one single time (like flipping a coin once).
Probability is a score between and that tells us the chance of something happening:
A score of means it is completely impossible (like a goldfish flying to the moon).
A score of means it is totally guaranteed to happen every single time.
In AP Statistics, probability is the proportion of times an outcome occurs in a very long series of trials.
In the short run (just a few tries), luck rules and wild surprises happen! In the long run (after thousands of tries), the results settle down and show a clear, predictable pattern.
Big Idea 2: The Law of Large Numbers
The Law of Large Numbers: The more times you repeat a random chance game, the closer your actual results get to the true, secret probability.
If you flip a coin only times, you might get heads just by luck. But if you flip it times, the fraction of heads will get closer and closer to exactly .
Real-Life Example: Coffee Drinkers
The true probability that a randomly chosen grown-up drinks coffee on any given day is (or ).
What this means: If you ask a giant group of adults (like thousands of people), about of them will say yes, they drink coffee.
The -Person Trap: If you ask only adults, will exactly of them drink coffee? Probably not! Because is a small group, natural chance variation (luck) means the count will bounce around and likely differ from .
Big Idea 3: Estimating Probabilities Using Simulation
A simulation is a pretend game that imitates real life using fair chance tools (like dice, spinners, or random numbers). It allows us to answer questions safely, cheaply, and quickly.
The Three Steps of a Simulation:
Describe the Setup and Outcome: Choose how to pretend using chance and decide what number or result you will write down after each turn.
Perform Many Trials: Play the pretend game many times (usually trials or more) the exact same way.
Answer the Question: Count up the results to find the estimated probability and draw a conclusion.
Approximation Rule: A simulation gives a close estimate, never a guaranteed perfect answer. Always use the approximately equal sign () for your probability!
Simulation Story 1: The Superhero Cereal Box Mystery
The Story: A cereal company puts of superhero comic books in every box: The Flash, Batman, Superman, Wonder Woman, or Green Lantern. The company promises that each hero has the exact same chance of being in any box.
A superfan buys boxes until they get all heroes, but it takes them boxes! The fan wonders: is the company lying about them being equally likely?
Step 1: Simulation Setup:
Assign a number to each superhero:
Let
Let
Let
Let
Let
Use a random number generator to pick numbers from to until every number from through appears at least once.
Record the total number of boxes opened in that trial.
Step 2: Conducting Trials:
Repeat this pretend game for trials.
Make a dotplot where each dot represents one trial. For example, a dot at means it took boxes to find all heroes in that trial.
Step 3: Answering the Question:
In the dotplot of trials, taking or more boxes only happened times.
Estimated probability: (or ).
Statistical Conclusion: Because is less than the standard cutoff of , taking or more boxes by pure chance is very rare. This provides convincing evidence against the company's claim—the comics are probably not equally likely!
Simulation Story 2: The Golden Ticket Parking Lottery
The Story: A high school has students who park on campus. Every month, students win special reserved spots next to the school door. There are students in the AP Statistics class. When both winning spots go to AP Statistics students, people suspect the lottery was rigged!
Question: Does this result provide convincing evidence that the lottery was unfair?
Step 1: Simulation Setup:
Give every student a two-digit number label:
Let to
Let to
Skip numbers through and .
Read pairs of digits from left to right on a random digit table until you find different labels between and (sampling without replacement: ignore repeated numbers).
Record whether both winning numbers belong to the AP Statistics group ( to ).
Step 2: Conducting Trials:
Repeat the lottery simulation for trials.
Step 3: Answering the Question:
In out of the trials, both winners were AP Statistics students.
Estimated probability: (or ).
Statistical Conclusion: Because is not small (it is greater than ), getting two winners from the AP Statistics class can easily happen just by random chance. Therefore, we do not have convincing evidence that the lottery was rigged!
AP Statistics Exam Tips for Simulations
Label Length: All labels must have the exact same number of digits! For people, use to , not to .
State What to Ignore: Always state which numbers get skipped (like through and ).
Without Replacement: Whenever selecting different people or items, explicitly write down that repeated numbers must be ignored.
Clarity: Describe your simulation step-by-step so clearly that another student could read your instructions and follow them exactly.