Access this content offline
Omniguides
Skip to the reading

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.

TrialDigitsWinnersTrialDigitsWinners
178063211962661
241737212405981
391276213211473
415670214389082
570396215728981
674301316509262
788345117604042
831906318540551
915698119924532
1033077320936362

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 4/20=0.204/20=0.20. 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.

A Welcome-Desk Simulation

In a new model, each visitor to a welcome desk independently has a 30% chance of receiving a voucher. One complete trial contains four visitors. Estimate the probability that at least two of the four receive vouchers. The following 20 independent four-digit groups were newly generated for this task. Each digit is equally likely to be 0–9. For every part of this task, use the prescribed encoding: digits 0, 1 and 2 mean voucher; digits 3–9 mean no voucher.

2286 5035 3180 2443 0005 3763 4428 6784 5403 4121 1689 9403 0406 8540 5970 4853 8513 0459 9934 3078

Part a

Define one complete trial, one possible outcome, and the event of interest. Use the prescribed voucher digits 0, 1 and 2 and explain why this encoding matches 30%. Describe how independence is maintained and explain why the results are random.

Part b

Execute the encoding on every supplied group. Record each trial’s voucher count, the number of trials satisfying the event, and the trial total. Calculate and interpret the empirical probability estimate.

Part c

Run 80 additional independent four-visitor trials using a ten-sided die, random-digit technology, or newly generated random digits. Use the same prescribed encoding: 0, 1 and 2 mean voucher. Keep a complete reproducible record of all 80 outcomes and voucher counts. Combine these with the supplied 20 trials to estimate the probability from 100 trials. State your event count and denominator.

Part d

Explain what the true probability of the four-visitor event means in the long run. Two classmates’ independent 100-trial estimates are 0.31 and 0.36. Explain why they may differ, what a much larger independent run is expected to show, and why a run of losses does not force a win next.

Worked answer and rubric

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.

    Read more: Simulation in the captured Statistics reading →

  • 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.

    Read more: Probability in the captured Statistics reading →

  • 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 →

Search lessons, terms and problems