Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Statistics
  3. ›2 Probability, Random Variables and Probability Distributions
  4. ›2.3 Simulation

AP Statistics · Unit 2 · Probability, Random Variables and Probability Distributions

2.3 Simulation

Describe how to design a simulation, carry out its steps, and interpret the results as an estimate of a probability.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A simulation imitates a random process with a model
  1. 1A simulation imitates a random process with a model
  2. 2A simulation follows a short sequence of design steps
  3. 3Assigned digits must match the probabilities exactly
  4. 4Repeating many trials gives an estimated probability
  5. 5A simulation result is an estimate that varies
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A simulation imitates a random process with a model

A basketball player makes 70% of her free throws. You want the chance that she makes at least 3 of her next 4. Watching many games would take far too long.

A simulation imitates a random process using a model and repeats it many times. The model relies on a random device. Examples are a coin, a die, a calculator’s random number function or a table of random digits. The device must match the real chances.

Simulation is useful when the real process is slow, costly or hard to calculate exactly.

Key terms · tap one for its definition

simulation

A simulation is a model that uses random numbers or devices to imitate a random process and repeats it many times.

random device

A random device is a tool, such as a coin, a die or a random number generator, that produces outcomes by chance.

Part 1 done

2

Part 2 of 5: A simulation follows a short sequence of design steps

Before using any random numbers, plan the model. The process is repeated many times. Each complete run is a trial, and each trial ends with a recorded result. The design steps are:

  • State the real situation and the chances of its outcomes.
  • Assign digits to outcomes so their shares match those chances.
  • Define one trial: how many digits to read and what to record.
  • Run many trials and record each result.
  • Find the proportion of trials in which the event occurred.

Key term

trial

A trial is one complete run of a simulated random process, ending in a recorded result.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify what a simulation is.
Show answer and explanation

Answer: C · Worked explanation

A simulation repeats a modeled random process with a random device and estimates a probability from the results. It does not assign treatments, which is an experiment. A survey of everyone and an exact formula are different tools, and a simulation gives only an estimate.
3

Part 3 of 5: Assigned digits must match the probabilities exactly

The second step is where most errors happen. For a 70% shooter, use the ten digits 0 through 9. Seven of the ten digits should stand for a made shot, because 7 out of 10 is 70%. The other three stand for a miss.

Figure 1. Seven of ten digits stand for a made shot, so the model matches a 70% free-throw rate.

Some digits may be left unassigned and skipped. When choosing people without repeats, skip any repeated digit and keep reading. Each shot is separate, so repeated digits are allowed for shots.

Common mistake

Digits must have exactly the real probability. Using only four digits for a 70% shooter builds in an error that more trials cannot fix.

Part 3 done

4

Part 4 of 5: Repeating many trials gives an estimated probability

Now run the model. Each trial uses four digits, one for each shot. After many trials, count how often the event occurs. The proportion of trials with the event is the empirical probability, which estimates the true probability. A short run gives a rough estimate, and a long run gives a steadier one.

Look at the example that follows. The digits were assigned first, each trial used four digits, and the proportion was found at the end. Every step of the plan appears in the working.

Worked example

Estimating a probability from trials

Digits 0–6 stand for a made shot and digits 7–9 for a miss. Each trial uses four digits. Estimate the probability of at least 3 makes in 4 shots from these ten trials: 3815, 7290, 4661, 8032, 5978, 1406, 9247, 6350, 2869, 0153.
  1. 1
    Word equation: empirical probability = trials with the event divided by total trials.
  2. 2
    Count the makes in each trial: 3, 2, 4, 3, 1, 4, 2, 4, 2, 4.
  3. 3
    Trials with at least 3 makes are trials 1, 3, 4, 6, 8 and 10, which is 6 trials.
  4. 4
    Substitute: 610=0.60\frac{6}{10}=0.60106​=0.60.

Answer: The estimated probability of at least 3 makes is 0.60.

Key term

empirical probability

An empirical probability is the proportion of trials in which an event occurs, used as an estimate of its probability.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify what one trial in a simulation is.
Show answer and explanation

Answer: A · Worked explanation

A trial is a single complete run of the model, such as reading four digits and recording the number of made shots. The estimated probability comes only after many trials. Assigning digits is a planning step that happens before any trial.
5

Part 5 of 5: A simulation result is an estimate that varies

Ten trials is a small run, so treat 0.60 as a rough guess. Another set of ten trials would probably give a different proportion. Chance variation affects every simulation. More trials make the estimate more stable, so results tend to settle near the true probability.

A simulation never gives the exact probability. It gives an estimate that can be close or far from the true value.

Exam tip

State the result in context and mention the number of trials. For example, write that about 60% of 10 trials had at least 3 made shots.

Go deeperWhy more trials help

The typical size of the error in an estimate shrinks as the number of trials grows. Roughly, using four times as many trials cuts the typical error in half.

This is why a simulation of 10,000 trials is far more trustworthy than one of 10, though neither is exact.

Note read

Check your recall[12 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Describe[2 marks]

    Describe what a simulation is and why it can be useful.

    Show mark schemeHide mark scheme

    Model answer

    A simulation uses a random device to imitate a random process, repeating it many times to estimate a probability. It is useful when the real process is slow, costly or hard to calculate exactly.

    • 1 mark for stating that it imitates a random process with a random device over many trials
    • 1 mark for giving a reason, such as the real process being slow, costly or hard to calculate
  2. 2.Describe[3 marks]

    A student guesses on each of 3 multiple-choice questions with 4 equally likely options. Describe how to use a table of random digits to simulate one trial that counts correct guesses.

    Show mark schemeHide mark scheme

    Model answer

    Let digit 1 be a correct guess and digits 2, 3 and 4 be incorrect guesses, ignoring digits 0 and 5 through 9. Read three digits for one trial. Record the number of 1s.

    • 1 mark for assigning one digit to a correct guess and three digits to incorrect guesses
    • 1 mark for ignoring the unassigned digits
    • 1 mark for reading three digits per trial and recording the number of correct guesses
  3. 3.Calculate[2 marks]

    A simulation of 50 trials had the event occur in 14 of them. Calculate the empirical probability.

    Show mark schemeHide mark scheme

    Model answer

    Empirical probability = trials with the event divided by total trials = 1450=0.28\frac{14}{50}=0.285014​=0.28.

    • 1 mark for dividing 14 by 50
    • 1 mark for giving the answer 0.28
  4. 4.Explain[2 marks]

    Explain why a simulation result is an estimate rather than an exact probability.

    Show mark schemeHide mark scheme

    Model answer

    The result is based on a limited number of random trials. Another run would give a different proportion because of chance variation.

    • 1 mark for stating that it is based on a limited number of random trials
    • 1 mark for explaining that chance variation would change the result in another run
  5. 5.Justify[3 marks]

    One class runs 20 trials and finds an empirical probability of 0.30. Another class runs 2,000 trials and finds 0.34. Justify which result is more trustworthy.

    Show mark schemeHide mark scheme

    Model answer

    The 2,000-trial result is more trustworthy. More trials reduce the effect of chance variation, so the estimate tends to be closer to the true probability. A run of only 20 trials can vary a lot.

    • 1 mark for choosing the 2,000-trial result
    • 1 mark for stating that more trials reduce the effect of chance variation
    • 1 mark for noting that a small number of trials can vary widely or give a less reliable estimate

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the digit assignment that correctly represents an event with probability 0.30 using one random digit per trial.
Show answer and explanation

Answer: B · Worked explanation

Three of the ten digits give a share of 310=0.30\frac{3}{10}=0.30103​=0.30. Four digits give 0.40, one digit gives 0.10, and six digits give 0.60. The share of digits must match the probability. Count the digits assigned and divide by ten to check each option.
4.

Medium·Calculate[2 marks]

A simulation of 200 trials has the event occur in 58 of them. Calculate the empirical probability.
Show answer and explanation

Answer: C · Worked explanation

The empirical probability is the trials with the event divided by the total number of trials: 58200=0.29\frac{58}{200}=0.2920058​=0.29. Using 58 alone ignores the number of trials, and 3.45 divides in the wrong order. The value 0.71 is the proportion of trials without the event.
5.

Medium·Determine[2 marks]

A game is won with probability 40% on each play. Determine the correct way to simulate 5 plays using two-digit random numbers.
Show answer and explanation

Answer: A · Worked explanation

The 40 numbers from 00 to 39 are 40 out of 100, which is 40%, and five numbers represent five plays. Numbers 00 to 40 give 41%. Reading one number covers only one play, and digits 0 to 4 give 50%.
6.

Medium·Determine[2 marks]

To choose 3 different students from 8 numbered 1 to 8 using random digits, determine what to do with a digit that repeats within a trial.
Show answer and explanation

Answer: D · Worked explanation

Students must be different, so a repeat cannot be used again. Skipping it keeps every unchosen student equally likely to come next. Counting it twice breaks the rule, changing it to the next unused number favors some students, and a failed trial is not part of the model.
7.

Medium·Interpret[2 marks]

In 40 trials of a simulation, the event occurred 10 times. Interpret this result.
Show answer and explanation

Answer: B · Worked explanation

The proportion is 1040=0.25\frac{10}{40}=0.254010​=0.25, which is an estimate of the probability. It is not exact, and another run of 40 trials could give a different count. The value 10% would come from dividing 10 by 100 rather than by 40.
8.

Hard·Determine[2 marks]

A die simulation uses digits 1 to 6, where digit 1 stands for a six, and skips digits 0, 7, 8 and 9. Each trial reads three valid digits. The digit stream is 5 2 8 1 3 9 2 4 7 4 1 6 5 5 3 0 6 2 2. Determine the estimated probability of at least one six in three rolls.
Show answer and explanation

Answer: A · Worked explanation

Skipping 0, 7, 8 and 9 gives the valid digits 5 2 1, 3 2 4, 4 1 6, 5 5 3, 6 2 2. Trials 1 and 3 contain a 1, so the estimate is 25=0.40\frac{2}{5}=0.4052​=0.40. The value 0.60 counts the three trials with no six instead.
9.

Hard·Explain[2 marks]

Two students run the same simulation with 100 trials each. One gets 0.52 and the other gets 0.46. Explain the best interpretation.
Show answer and explanation

Answer: C · Worked explanation

Each run is a random sample of outcomes, so identical designs can give different proportions. A gap of 0.06 with 100 trials is plausible chance variation. Matching results are not required, being closer to one half has no bearing, and averaging is not needed for a valid estimate.
10.

Hard·Determine[2 marks]

A player makes 80% of free throws. To estimate the probability that she makes all 3 of 3 shots, determine the correct procedure.
Show answer and explanation

Answer: B · Worked explanation

Eight of ten digits give 80%, and a trial of three digits represents three shots. The event is all three being makes, so count such trials. Dividing total makes by total digits estimates 0.80 for one shot. One digit per trial ignores the three shots, and digits 0 to 8 give 90%.

Keep going

Next topic2.4 Introduction to probabilityPrevious topic2.2 Two categorical variables: summary statistics

More in Unit 2 · Probability, Random Variables and Probability Distributions

  1. 2.1Two categorical variables: tables and graphsNotes · 10 questions
  2. 2.2Two categorical variables: summary statisticsNotes · 10 questions
  3. 2.3SimulationNotes · 10 questions
  4. 2.4Introduction to probabilityNotes · 10 questions
  5. 2.5Mutually exclusive eventsNotes · 10 questions
  6. 2.6Conditional probabilityNotes · 10 questions
  7. 2.7Independent events and unionsNotes · 10 questions
  8. 2.8Random variables and distributionsNotes · 10 questions
  9. 2.9Parameters of random variablesNotes · 10 questions

All AP Statistics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/5 read

  1. 1A simulation imitates a random process with a model
  2. 2A simulation follows a short sequence of design steps
  3. 3Assigned digits must match the probabilities exactly
  4. 4Repeating many trials gives an estimated probability
  5. 5A simulation result is an estimate that varies
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe