Topic 2.3 Notes – Estimating Probabilities Using Simulation
What Simulation Probability Is
A random process is repeatable chance behavior. One repetition is a trial.
From there, keep the vocabulary straight:
- An outcome is the result of one trial.
- An event is a collection of outcomes.
That sounds simple, but the meaning depends on how the trial is defined. If one trial is “one bus ride,” outcomes might be on time or late. If one trial is “the next 5 weekdays,” an outcome is a full 5-day sequence like OOTOL.
That’s why students mix up outcome and event so often. In the 5-day bus setup:
- one outcome could be OOTOO
- the event “bus is on time at least 4 of 5 days” includes many outcomes
Probability here means long-run relative frequency over many independent trials.
If an event happens in 533 out of 1000 simulated trials, then .
One more distinction matters a lot on tests:
- Empirical probability comes from real observed data.
- Simulated probability comes from a model.
A simulation estimates the probability implied by the model. That is not automatically the same as the real-world probability.
Designing a Valid Simulation
AP readers want the full setup stated clearly. A complete simulation includes:
- the event being estimated
- the chance device
- the exact assignment from random results to real outcomes
- what counts as one full trial
- what you record each trial
- how many trials you repeat
- how you compute
Random digits
Random digits are common because each digit 0 to 9 is equally likely.
- For tenths, use single digits
- Example: probability can be digits 0, 1, 2, 3, 4, 5, 6 (seven of the ten digits)
- For hundredths, use pairs 00 to 99
- Example: probability can be 00 to 22
The actual labels do not matter. The proportions do.
If the outcomes do not divide evenly, extra values can be ignored.
- Simulating a fair die with digits 0 to 9
- let 1 to 6 represent the faces
- ignore 0, 7, 8, 9
Ignored values do not count as trials.
Independence and dependence
Complete trials should usually be independent. If the real process resets, your simulation should reset too.
Within a trial, steps may be dependent if the real process is without replacement. That difference shows up a lot in card or slip simulations.
The biggest setup mistake is defining the wrong trial. If the question asks about 5 days, one trial is the whole 5-day sequence, not one day.
How to Run and Read a Simulation
Here’s what it looks like with the bus example, where each day is on time with probability , and the event is “at least 4 on-time days in 5 days.” Each row in the simulation output is one 5-day trial, and the highlighted rows are the successes.

Random-digit simulation for 20 five-day bus trials
- Generate random results from the assigned model.
- Group them into complete trials.
- Check whether the event happened in each trial.
- Count successes and valid trials.
- Compute .
- Interpret in context using approximately.
In the output shown, 12 out of 20 five-digit trials are successes, so . In context, The simulation estimates that the probability the bus is on time at least 4 of the next 5 weekdays is approximately 0.60.
When reading output, count rows or completed trials, not individual digits. The denominator is valid completed trials only.
Why More Trials Help
The law of large numbers says that for independent trials, the relative frequency gets closer to the true probability as the number of trials increases. In the graph, the early estimates swing a lot, then the cumulative relative frequency settles in near the true value .

Cumulative relative frequency approaching the true probability
So in practice:
- short runs are jumpy
- long runs are more stable
- two good simulations can still give different answers
- more trials usually make those answers closer together
What this law does not say:
- the estimate improves after every single trial
- a finite simulation must match exactly
- the model itself is realistic
What Students Mix Up
Outcome vs. event
Outcome is one result of one trial. Event is one or more outcomes grouped together.One step vs. one full trial
If the event covers several days, spins, or draws, the trial includes all of them.Simulated vs. true probability
Simulation estimates the model’s probability. Real observations estimate the actual process.Law of large numbers vs. gambler’s fallacy
Independent results do not make the opposite outcome “due.” Balance appears over many trials because the total grows, not because chance corrects itself.Counting mistakes
Students often count digits instead of trials, include ignored values in the denominator, or forget to state the event in context.
Key Takeaways
Random Process
A repeatable process whose results are determined by chance
Trial
One repetition of a random process
Outcome
The result of one trial of a random process
Event
A specified collection of outcomes
Simulation
Using one chance process to imitate a real random process and estimate a probability from the relative frequency of an outcome or event
Complete Simulation Design
Identify the event, the chance device and its mapping to outcomes, what counts as one complete trial, what to record, how to repeat many trials, and how to convert results to a probability estimate
Empirical Probability
A relative frequency from observed data used to estimate the probability of a real process under comparable conditions
Simulated Probability
A relative frequency from outcomes generated by a simulation model; it estimates the probability implied by that model
True Probability
The actual fixed long-run probability for the random process or model
Law of Large Numbers
For independent trials, as the number of trials increases, the relative frequency of an outcome or event approaches its probability
Independent Trials
Trials in which the result of one trial does not affect the chance mechanism or probabilities for another trial
Simulation Variability
Different valid simulations of the same process usually give different estimates because the simulated outcomes differ by chance
Estimated Probability (Relative Frequency)
P̂(E) = number of trials in which E occurs / total number of valid trials; the observed relative frequency used to estimate probability
Random Digits
Equally likely digits 0-9 used to represent outcomes in a simulation; pairs 00-99 give 100 equally likely values
Independence Within and Between Trials
Complete trials should be independent of each other, but steps within one trial may be dependent if the real process is
Model Accuracy
A simulation is useful only if its outcomes, probabilities, and dependence structure match the real process; more trials cannot fix a bad model
Notes
Random Process
A repeatable process whose results are determined by chance
Trial
One repetition of a random process
Outcome
The result of one trial of a random process
Event
A specified collection of outcomes
Simulation
Using one chance process to imitate a real random process and estimate a probability from the relative frequency of an outcome or event
Complete Simulation Design
Identify the event, the chance device and its mapping to outcomes, what counts as one complete trial, what to record, how to repeat many trials, and how to convert results to a probability estimate
Empirical Probability
A relative frequency from observed data used to estimate the probability of a real process under comparable conditions
Simulated Probability
A relative frequency from outcomes generated by a simulation model; it estimates the probability implied by that model
True Probability
The actual fixed long-run probability for the random process or model
Law of Large Numbers
For independent trials, as the number of trials increases, the relative frequency of an outcome or event approaches its probability
Independent Trials
Trials in which the result of one trial does not affect the chance mechanism or probabilities for another trial
Simulation Variability
Different valid simulations of the same process usually give different estimates because the simulated outcomes differ by chance
Estimated Probability (Relative Frequency)
P̂(E) = number of trials in which E occurs / total number of valid trials; the observed relative frequency used to estimate probability
Random Digits
Equally likely digits 0-9 used to represent outcomes in a simulation; pairs 00-99 give 100 equally likely values
Independence Within and Between Trials
Complete trials should be independent of each other, but steps within one trial may be dependent if the real process is
Model Accuracy
A simulation is useful only if its outcomes, probabilities, and dependence structure match the real process; more trials cannot fix a bad model