Simulation AP Stats Summary
Simulation lets you estimate a probability by imitating a random process many times and tracking how often an outcome or event shows up. The relative frequency from those trials becomes your probability estimate, and thanks to the law of large numbers, more trials push that estimate closer to the true probability.

Why This Matters for the AP Statistics Exam
Estimating probabilities with simulation is one of the first places in AP Statistics where you connect random behavior to actual numbers you can report. This skill shows up when you need to design a simulation, read simulated results, and explain what a relative frequency tells you. You will rely on the same simulation thinking later in the course when you reason about sampling distributions and how unusual a result is.
For clear exam work, you should be able to describe a simulation step by step, define what counts as one trial, state what you record, and use your counts to estimate a probability with correct context. Being precise about outcomes, events, and the number of trials matters for full, readable responses.
Key Takeaways
- A random process produces results determined by chance, an outcome is the result of one trial, and an event is a collection of outcomes.
- Simulation models a random situation by assigning each possible outcome a value decided by chance, then repeating trials and recording the counts.
- The relative frequency of an outcome or event in your simulated data estimates its probability.
- The law of large numbers says simulated probabilities tend to get closer to the true probability as the number of trials increases.
- A complete simulation description includes how one trial works, what you record, repeating many trials, and using results to answer the question.
- Probability is always a number between 0 and 1 and describes the long-run proportion of times an outcome happens.
Core Vocabulary
Simulations are built on random processes, which generate results determined by chance. Each run of the process is a trial, and the result of a trial is an outcome. A collection of outcomes is an event.
Die rolling makes the outcome vs. event difference clear:
- Rolling a particular value on a six-sided number cube is one of six possible outcomes (getting a 1, 2, 3, 4, 5, or 6). That is an outcome.
- When rolling two six-sided number cubes, an event would be a sum of seven. The corresponding collection of outcomes would be (1, 6), (2, 5), (3, 4), (4, 3), (5, 2), and (6, 1), where the ordered pairs indicate (face value on one cube, face value on the other cube).
The Law of Large Numbers
Probability is a number between 0 and 1 that describes a chance process. It also describes the proportion of times an outcome would occur in a very long series of repetitions. Chance behavior is unpredictable in the short run but settles into a regular, predictable pattern in the long run.
The law of large numbers states that simulated (empirical) probabilities tend to get closer to the true probability as the number of trials increases.
A few applications of this idea:
- Flipping a coin: Flip a coin 10 times and get 6 heads, and your simulated probability of heads is 0.6. Flip 100 times and get 50 heads, and it is 0.5. As the number of flips increases, the simulated probability drifts toward the true value of 0.5.
- Rolling a die: Roll a die many times, and the simulated probability of rolling a particular number (such as a 6) tends to approach the true probability of 1/6 as the number of rolls increases.
- Spinning a roulette wheel: Spin many times, and the simulated probability of the ball landing on a particular number (such as 25) tends to approach the true probability of 1/38 as the number of spins increases.
Notice that more trials does not mean the next flip is "due" for a certain result. The estimate improves only because you are averaging over more and more independent trials.
How a Simulation Works
A simulation models random events so that simulated outcomes closely match real-world outcomes. Every possible outcome is assigned a value to be determined by chance.
For example, in a simulation of rolling a die, there are six possible outcomes (rolling a 1, 2, 3, 4, 5, or 6), and each is associated with a probability of 1/6. You repeat the process many times (the trials) and record the counts of the simulated outcomes. Those counts give you simulated probabilities you can compare to the true probabilities.
The steps to set up a simulation:
- Describe how to use a chance device to imitate one trial (repetition) of the simulation. State what you will record at the end of each trial.
- Perform many trials of the simulation.
- Use the results of your simulation to answer the question of interest.
How to Use This on the AP Statistics Exam
Free Response
When asked to describe a simulation, write all three parts: how one trial works, what you record per trial, and how repeated results answer the question. Vague phrases like "I would simulate it a bunch of times" are not enough. Name your chance device (random digits, a calculator, slips of paper) and connect each chance value to a real outcome.
Problem Solving
To estimate a probability from simulated data, divide the count of trials with your target event by the total number of trials. That relative frequency is your estimate. Always interpret it in context with units, for example "about 0.17 of the rolls produced a sum of seven."
Common Trap
If results do not match the true probability exactly, that is expected with a finite number of trials. The estimate is meant to be close, not perfect. Reach for the law of large numbers to explain why more trials would tighten the estimate.
Practice Problem
A statistics professor wants to study the behavior of a six-sided die and runs a simulation to explore the probabilities of rolling different numbers. A computer program simulates rolling the die 10,000 times and records each outcome.
The professor then calculates the simulated probability of rolling each number and compares it to the true probability of 1/6 for each number. Based on the results, the professor concludes:
- The simulated probabilities of rolling each number are very close to the true probabilities.
- The simulated probabilities of rolling each number are not significantly different from one another.
Write a brief summary explaining the professor's conclusions and the statistical evidence that supports them.
Answer
The professor concludes that the simulated probabilities of rolling each number are very close to the true probabilities, and that the simulated probabilities of rolling each number are not significantly different from one another, based on the simulation results.
One piece of supporting evidence is that the simulated probabilities of rolling each number are all very close to the true probability of 1/6. This suggests the simulation is producing outcomes consistent with what we would expect in the real world, which fits the law of large numbers since 10,000 trials is a large number.
A second piece of evidence is that the simulated probabilities are not significantly different from one another. This suggests the simulation is not biased toward any particular number, and that each number is roughly equally likely to be rolled.
Overall, the statistical evidence suggests the simulation is producing outcomes consistent with the true probabilities of rolling each number, supporting the professor's conclusions about the behavior of the die.
Common Misconceptions
- A simulated probability is not the same as the true probability. It is an estimate based on relative frequency that gets closer to the truth as trials increase.
- The law of large numbers does not mean a result is "due." Past trials do not change the chance of the next independent trial.
- An outcome and an event are not the same. An outcome is the result of a single trial; an event is a collection of outcomes, like "a sum of seven."
- More trials reduce the gap between your estimate and the true probability, but they never guarantee an exact match.
- Describing a simulation is not just saying "simulate it many times." You need a clear chance device, a defined trial, and a statement of what you record.
Related AP Statistics Guides
Vocabulary
The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.Term | Definition |
|---|---|
event | A collection of one or more outcomes from a random process. |
law of large numbers | The principle that simulated or empirical probabilities tend to get closer to the true probability as the number of trials increases. |
outcome | The result of a single trial of a random process. |
random process | A process that generates results determined by chance, where the outcome cannot be predicted with certainty in advance. |
relative frequency | The proportion of observations in a category, expressed as a decimal, fraction, or percentage of the total. |
simulation | A method of modeling random events so that simulated outcomes closely match real-world outcomes, used to estimate probabilities. |
Frequently Asked Questions
What is simulation in AP Statistics?
Simulation models a random process by assigning chance values to outcomes, repeating trials, and recording results to estimate probability.
How do you set up a simulation in AP Stats?
Define one trial, assign chance values to outcomes, state what to record, repeat many trials, and use relative frequency to answer the question.
What is the difference between an outcome and an event?
An outcome is the result of one trial. An event is a collection of outcomes that match the condition you care about.
How does relative frequency estimate probability?
Relative frequency estimates probability by dividing the number of times an event occurs by the total number of trials in the simulation.
What does the law of large numbers mean for simulation?
As the number of trials increases, simulated or empirical probabilities tend to get closer to the true probability. It does not mean short-run results are due to balance out.
What is a common mistake with AP Stats simulations?
A common mistake is saying to simulate many times without defining the chance device, one trial, and the recording rule. Another is expecting a simulation to produce the exact true probability.