2.3 Chance Models and Simulation
What Exactly Are We Repeating?
One shopper wins a gift card; the next does not. Neither result tells us what the following shopper must do. A random process produces outcomes determined by chance. An outcome is the result of one trial, and an event collects the outcomes we care about. For a five-shopper trial, “win, lose, win, lose, lose” is one outcome. “At least three winners” is an event containing several different five-shopper outcomes.
Before simulating anything, choose the unit of repetition. One digit can represent one shopper, but five digits together represent one complete five-shopper trial. Counting shoppers as though they were complete trials changes the question and its denominator.
A Model That Matches the Situation
Suppose a new store gives each shopper an independent 40% chance of winning. This is a stated model for this new example, not a claim about an observed store. Ten equally likely digits make a convenient device: 0, 1, 2 and 3 mean a win; 4 through 9 mean a loss. Generate five independent digits for one trial. Record the number of wins, then repeat. A ten-sided die labeled 0–9, random-number technology or a random-digit table can all implement the same model. With cards, replace and mix after every draw so later shoppers keep the same chance.
Here is a newly generated 20-trial demonstration. The complete digit groups are shown so the count can be checked. Each group contains five digits, and the last column counts digits from 0 through 3.
| Trial | Digits | Winners | Trial | Digits | Winners |
|---|---|---|---|---|---|
| 1 | 78063 | 2 | 11 | 96266 | 1 |
| 2 | 41737 | 2 | 12 | 40598 | 1 |
| 3 | 91276 | 2 | 13 | 21147 | 3 |
| 4 | 15670 | 2 | 14 | 38908 | 2 |
| 5 | 70396 | 2 | 15 | 72898 | 1 |
| 6 | 74301 | 3 | 16 | 50926 | 2 |
| 7 | 88345 | 1 | 17 | 60404 | 2 |
| 8 | 31906 | 3 | 18 | 54055 | 1 |
| 9 | 15698 | 1 | 19 | 92453 | 2 |
| 10 | 33077 | 3 | 20 | 93636 | 2 |
Trials 6, 8, 10 and 13 satisfy the event. The count is 4, the trial total is 20, and the estimated probability of at least three winners is . We counted qualifying five-shopper trials, not all winning shoppers. A result of 0.20 does not change the assumed individual-shopper probability of 0.40.
The Estimate Can Change; the Model Probability Does Not
Probability describes an outcome or event’s long-run relative frequency over many independent trials. A simulation supplies empirical relative frequencies that estimate that fixed probability. Twenty repetitions can give a rough estimate, and another set of twenty may give a different one. Neither set determines the exact probability of the event.
The law of large numbers says that, for independent trials, relative frequency approaches a single value as the number of trials grows. It does not promise monotonic improvement after every trial, or a compensating win after several losses. If five shoppers have lost already, the next shopper still has the model’s 40% chance. Larger independent runs make the long-run pattern easier to see without making individual results predictable.
Keep a record with the random outcomes, the event count and the total. An estimate without its denominator hides whether it came from 20, 200 or 2,000 repetitions. When comparing runs, also check that they used the same probability model and event. More repetitions cannot rescue an encoding that assigns the wrong proportion of digits to a win.
Try It Yourself
The following original practice applies the ideas above to a fresh setting. Show the reasoning requested in each part. Answers and task-specific rubrics are on the separate solutions page.
Original generated practice for the Fall 2026 course.
Glossary and deeper reading · 7 refreshers
These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.
-
Event in probability
An event is a set of outcomes from a chance process’s sample space. The event occurs when the observed outcome belongs to that set. For example, rolling an even result is the event containing 2, 4, and 6 for a six-sided die.
Read more: Event in probability in the captured Statistics reading →
-
Simulation
A simulation imitates a chance process using a specified model. Repeated simulated outcomes can approximate probabilities when the model faithfully represents the situation. For example, random digits can model repeated draws from a bag with known color proportions.
-
Probability
Probability quantifies how likely an event is under a specified chance model. It lies between 0 and 1, with larger values representing greater likelihood. For example, drawing a red card from a well-shuffled standard deck has probability one half.
-
Relative frequency
Relative frequency is a group’s count divided by the total count. It can be written as a proportion or multiplied by 100 to give a percentage. For example, 8 choices out of 20 have relative frequency 0.4, or 40%.
Read more: Relative frequency in the captured Statistics reading →
-
Statistical independence
Statistical independence means that learning one outcome does not change the probability distribution of another. For two events, it implies that the probability of both occurring equals the product of their probabilities. For example, independent draws with replacement keep the second draw’s color probabilities unchanged by the first.
Read more: Statistical independence in the captured Statistics reading →
-
Law of large numbers
The law of large numbers describes how an average or relative frequency approaches its long-run target as repetitions increase under appropriate assumptions. It does not require short sequences to look balanced or make earlier outcomes force later outcomes. For example, the proportion of red cards drawn with replacement tends toward one half over many independent draws.
Read more: Law of large numbers in the captured Statistics reading →
-
Probability model
A probability model specifies possible outcomes and probabilities for events formed from those outcomes. Probabilities are nonnegative, and the probability of the whole sample space is 1. In a discrete model, individual outcome probabilities sum to 1; in a continuous density model, total area is 1 even though each single value has probability 0. For example, a fair four-sided die can be modeled with four outcomes each assigned probability one quarter.
Read more: Probability model in the captured Statistics reading →