Worksheets · Statistics

Simulation-based inference worksheet

A simulation imitates a chance process many times to see what usually happens. Random digits can stand for outcomes with a given probability; repeating the process estimates a probability. To test a claim, simulate many samples assuming the claim is true and see how often a result at least as extreme as the observed one appears: that fraction estimates the P-value. In a randomization test, the results of an experiment are shuffled between the treatment groups, as if the treatment made no difference. Easy sheets assign digits, read dotplots and describe one trial; medium sheets carry out simulations and estimate P-values; hard sheets design simulations, reason about the results and find mistakes.

Select your difficulty

Pick more than one for a sheet that mixes them.

The preview can look cramped on a phone. The PDF and printed sheet come out normal.

Free worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Simulation-Based Inference

Date Period

Follow the heading above each group.

  1. Carry out each simulation with random digits, or estimate from a dotplot

    For a music app, each song played is skipped with probability 0.3, independently. We want the probability of at least 2 successes in 3 songs played, where a success means the song played is skipped. Let the digits 0 to 2 mean that the song played is skipped, and 3 to 9 mean that this does not happen. Use the random digits below, 3 digits for each trial, to carry out 8 trials. In how many trials are there at least 2 successes? What is the estimate? Random digits: 36095 56108 17262 59011 60537
  2. There are 25 students in a class, and 10 of them are seniors. Label them 01 to 25, with 01 to 10 for the 10 who are seniors. Use the random digits below, two at a time, to choose 3 different students, skipping 00, numbers above 25 and repeats. List the labels chosen. How many of them are seniors? Random digits: 33401 68529 33341 35337 70013
  3. A pack of gum holds one of 4 different stickers, each equally likely. A simulation of 100 shoppers, each buying packs until they have all 4, gave the dotplot. Each dot shows how many packs one simulated shopper needed. Estimate the probability that a shopper needs more than 12 packs. Would another 100 simulations give exactly the same estimate? Explain.051015456789101112131415161718Number of packs needed to get all 4Count
  1. Estimate each P-value from the dotplot, then conclude or interpret

    A claim says that for a swim school, each child tested passes the deep-water test with probability 0.5. A researcher suspects the true probability is higher. Out of 10 children tested, the number of children who pass was 7. To test the claim, 100 sets of 10 children tested were simulated with probability 0.5. Each dot shows the number of children who pass for one simulated set of 10 children tested, with probability 0.5 each time. Estimate the P-value from the dotplot, and give the conclusion at the 0.05 significance level.0510152025123456789Number of children who pass out of 10Count
  2. A claim says that for a pet shelter, each dog brought in is adopted within a week with probability 0.4. A researcher suspects the true probability is lower. Out of 20 dogs brought in, the proportion of dogs adopted within a week was 0.25. 100 sets of 20 were simulated with probability 0.4; each dot shows one simulated proportion. Estimate the P-value and interpret it in context.051015200.10.150.20.250.30.350.40.450.50.550.60.650.7Simulated sample proportionCount
  3. A claim says that for a pet shelter, each dog brought in is adopted within a week with probability 0.4. A researcher wants to know whether the true probability is different. Out of 20 dogs brought in, the number of dogs adopted within a week was 5. To test the claim, 100 sets of 20 dogs brought in were simulated with probability 0.4. Each dot shows the number of dogs adopted within a week for one simulated set of 20 dogs brought in, with probability 0.4 each time. Estimate the two-sided P-value from the dotplot, and give the conclusion at the 0.05 significance level.05101520234567891011121314Number of dogs adopted within a week out of 20Count
  1. Randomization tests: the P-value and conclusion, or what the simulation assumes

    Researchers randomly assigned 20 volunteers to a reminder sticker on their phone or no sticker, 10 to each. Of the 10 assigned to a reminder sticker on their phone, 5 drank eight glasses of water a day for a week; of the 10 assigned to no sticker, 3 did. The researchers want to know whether being assigned to a reminder sticker on their phone raises the proportion of volunteers who drank eight glasses of water a day for a week. A simulation shuffles the 20 results into two new groups of 10 many times. What does this simulation assume? Why is the dotplot of its simulated differences centered near 0? State the hypotheses in words.
  2. Researchers randomly assigned 40 website visitors to a green sign-up button or a gray sign-up button, 20 to each. Of the 20 assigned to a green sign-up button, 11 signed up; of the 20 assigned to a gray sign-up button, 4 did. The researchers want to know whether being assigned to a green sign-up button raises the proportion of website visitors who signed up. To see what chance alone could do, the 40 results were shuffled and dealt at random into two groups of 20, 100 times, as if a green sign-up button made no difference. Each dot shows one simulated p^1−p^2 (a green sign-up button minus a gray sign-up button). Find the observed difference, estimate the P-value, and give the conclusion at the 0.05 significance level.0510152025−0.45−0.35−0.25−0.15−0.050.050.150.250.350.45Simulated difference p̂₁ − p̂₂Count
  3. Researchers randomly assigned 40 volunteers to a 10-minute walk or a 10-minute rest, 20 to each, and measured each one’s heart rate (in beats per minute). The mean was 101.0 for a 10-minute walk and 96.0 for a 10-minute rest. They want to know whether a 10-minute walk gives a higher mean heart rate. To see what chance alone could do, the 40 values were shuffled into two groups of 20, 100 times; each dot shows one simulated xˉ1−xˉ2 (a 10-minute walk minus a 10-minute rest), rounded to the nearest whole number. Estimate the P-value and give the conclusion at the 0.05 significance level.051015−8−7−6−5−4−3−2−1012345678Simulated difference x̄₁ − x̄₂ (beats per minute)Count
  1. Judge each interpretation or estimate, or choose a simulation or a z-test

    A claim says that for a camp kitchen, each pancake flipped lands back in the pan with probability 0.9. A researcher suspects the true probability is higher. The test will use 20 pancakes flipped. Is the Large Counts condition for a one-proportion z-test met? Should the P-value come from the normal distribution or from a simulation?
  2. A claim says that for a car wash, each customer buys the deluxe wash with probability 0.3. A researcher suspects the true probability is higher. Out of 12 customers, the number of deluxe washes was 7. Sam simulates 100 sets of 12 with probability 0.3 and finds 6 with 7 or more deluxe washes. Lena simulates 1,000 sets and finds 39. Which estimate of the P-value should you trust more, and why? What is the conclusion at the 0.05 significance level?
  3. A claim says that for a quiz taker who guesses, each true-false question is answered correctly with probability 0.5. A researcher suspects the true probability is lower. Out of 12 true-false questions, the number of correct answers was 4. A simulation of 100 sets with probability 0.5 gives an estimated P-value of 0.12. Dev says this means if each true-false question is answered correctly with probability 0.5, about 12 in 100 sets of 12 would have 4 or fewer correct answers by chance alone. Is Dev right? Explain.

Free worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Simulation-Based InferenceAnswer keyVersion 1

Date Period

Follow the heading above each group.

  1. Carry out each simulation with random digits, or estimate from a dotplot

    For a music app, each song played is skipped with probability 0.3, independently. We want the probability of at least 2 successes in 3 songs played, where a success means the song played is skipped. Let the digits 0 to 2 mean that the song played is skipped, and 3 to 9 mean that this does not happen. Use the random digits below, 3 digits for each trial, to carry out 8 trials. In how many trials are there at least 2 successes? What is the estimate? Random digits: 36095 56108 17262 59011 60537Trials: 360 (1), 955 (0), 610 (2), 817 (1), 262 (2), 590 (1), 116 (2), 053 (1). 3 of the 8 trials have at least 2, so the estimate is 3/8 = 0.375.
  2. There are 25 students in a class, and 10 of them are seniors. Label them 01 to 25, with 01 to 10 for the 10 who are seniors. Use the random digits below, two at a time, to choose 3 different students, skipping 00, numbers above 25 and repeats. List the labels chosen. How many of them are seniors? Random digits: 33401 68529 33341 35337 70013Reading pairs: 33 (skip), 40 (skip), 16, 85 (skip), 29 (skip), 33 (skip), 34 (skip), 13, 53 (skip), 37 (skip), 70 (skip), 01. The labels chosen are 16, 13 and 01; 1 of them is from 01 to 10, so the count is 1.
  3. A pack of gum holds one of 4 different stickers, each equally likely. A simulation of 100 shoppers, each buying packs until they have all 4, gave the dotplot. Each dot shows how many packs one simulated shopper needed. Estimate the probability that a shopper needs more than 12 packs. Would another 100 simulations give exactly the same estimate? Explain.051015456789101112131415161718Number of packs needed to get all 4CountThe dots above 12: 2 + 2 + 2 + 1 + 1 + 1 = 9 of 100, so the estimate is 9100=0.09. Not exactly: each simulation is random, so the estimate changes a little from one simulation to the next; more simulations give a more reliable estimate.
  1. Estimate each P-value from the dotplot, then conclude or interpret

    A claim says that for a swim school, each child tested passes the deep-water test with probability 0.5. A researcher suspects the true probability is higher. Out of 10 children tested, the number of children who pass was 7. To test the claim, 100 sets of 10 children tested were simulated with probability 0.5. Each dot shows the number of children who pass for one simulated set of 10 children tested, with probability 0.5 each time. Estimate the P-value from the dotplot, and give the conclusion at the 0.05 significance level.0510152025123456789Number of children who pass out of 10CountThe dots at 7 or more: 13 + 3 + 1 = 17, so the estimated P-value is 0.17. Because the estimated P-value 0.17 > 0.05, there is not convincing evidence that the true probability that a child tested passes the deep-water test for a swim school is greater than 0.5.
  2. A claim says that for a pet shelter, each dog brought in is adopted within a week with probability 0.4. A researcher suspects the true probability is lower. Out of 20 dogs brought in, the proportion of dogs adopted within a week was 0.25. 100 sets of 20 were simulated with probability 0.4; each dot shows one simulated proportion. Estimate the P-value and interpret it in context.051015200.10.150.20.250.30.350.40.450.50.550.60.650.7Simulated sample proportionCountThe dots at 0.25 or less: 1 + 3 + 9 = 13, so the estimated P-value is 0.13. Interpretation: if each dog brought in is adopted within a week with probability 0.4, about 13 in 100 sets of 20 would give a proportion of 0.25 or less by chance alone.
  3. A claim says that for a pet shelter, each dog brought in is adopted within a week with probability 0.4. A researcher wants to know whether the true probability is different. Out of 20 dogs brought in, the number of dogs adopted within a week was 5. To test the claim, 100 sets of 20 dogs brought in were simulated with probability 0.4. Each dot shows the number of dogs adopted within a week for one simulated set of 20 dogs brought in, with probability 0.4 each time. Estimate the two-sided P-value from the dotplot, and give the conclusion at the 0.05 significance level.05101520234567891011121314Number of dogs adopted within a week out of 20Count5 is 3 from the center 8, so count the dots at 5 or fewer and at 11 or more: 1 + 4 + 7 + 6 + 4 + 1 + 1 = 24. The estimated P-value is 0.24. Because the estimated P-value 0.24 > 0.05, there is not convincing evidence that the true probability that a dog brought in is adopted within a week for a pet shelter is different from 0.4.
  1. Randomization tests: the P-value and conclusion, or what the simulation assumes

    Researchers randomly assigned 20 volunteers to a reminder sticker on their phone or no sticker, 10 to each. Of the 10 assigned to a reminder sticker on their phone, 5 drank eight glasses of water a day for a week; of the 10 assigned to no sticker, 3 did. The researchers want to know whether being assigned to a reminder sticker on their phone raises the proportion of volunteers who drank eight glasses of water a day for a week. A simulation shuffles the 20 results into two new groups of 10 many times. What does this simulation assume? Why is the dotplot of its simulated differences centered near 0? State the hypotheses in words.It assumes the treatment makes no difference: each subject would have had the same result with either treatment, so only the random assignment decides which group a result falls in. Then neither group is favored, and the differences center near 0. H0: being assigned to a reminder sticker on their phone makes no difference in the proportion of volunteers who drank eight glasses of water a day for a week. Ha: being assigned to a reminder sticker on their phone raises that proportion.
  2. Researchers randomly assigned 40 website visitors to a green sign-up button or a gray sign-up button, 20 to each. Of the 20 assigned to a green sign-up button, 11 signed up; of the 20 assigned to a gray sign-up button, 4 did. The researchers want to know whether being assigned to a green sign-up button raises the proportion of website visitors who signed up. To see what chance alone could do, the 40 results were shuffled and dealt at random into two groups of 20, 100 times, as if a green sign-up button made no difference. Each dot shows one simulated p^1−p^2 (a green sign-up button minus a gray sign-up button). Find the observed difference, estimate the P-value, and give the conclusion at the 0.05 significance level.0510152025−0.45−0.35−0.25−0.15−0.050.050.150.250.350.45Simulated difference p̂₁ − p̂₂CountObserved:
    1120−420=0.55−0.2=0.35. The dots at 0.35 or more: 2 + 1 = 3, so the estimated P-value is 0.03. Because 0.03 < 0.05, there is convincing evidence that being assigned to a green sign-up button raises the proportion of website visitors who signed up.
  3. Researchers randomly assigned 40 volunteers to a 10-minute walk or a 10-minute rest, 20 to each, and measured each one’s heart rate (in beats per minute). The mean was 101.0 for a 10-minute walk and 96.0 for a 10-minute rest. They want to know whether a 10-minute walk gives a higher mean heart rate. To see what chance alone could do, the 40 values were shuffled into two groups of 20, 100 times; each dot shows one simulated xˉ1−xˉ2 (a 10-minute walk minus a 10-minute rest), rounded to the nearest whole number. Estimate the P-value and give the conclusion at the 0.05 significance level.051015−8−7−6−5−4−3−2−1012345678Simulated difference x̄₁ − x̄₂ (beats per minute)CountObserved:
    xˉ1−xˉ2=101.0−96.0=5. The dots at 5 or more: 3 + 1 + 2 = 6, so the estimated P-value is 0.06. Because 0.06 > 0.05, there is not convincing evidence that a 10-minute walk gives a higher mean heart rate than a 10-minute rest.
  1. Judge each interpretation or estimate, or choose a simulation or a z-test

    A claim says that for a camp kitchen, each pancake flipped lands back in the pan with probability 0.9. A researcher suspects the true probability is higher. The test will use 20 pancakes flipped. Is the Large Counts condition for a one-proportion z-test met? Should the P-value come from the normal distribution or from a simulation?20(0.9)=18≥10 and 20(0.1)=2<10. Not met: the sampling distribution is not close to normal, so use a simulation (or the binomial distribution) for the P-value.
  2. A claim says that for a car wash, each customer buys the deluxe wash with probability 0.3. A researcher suspects the true probability is higher. Out of 12 customers, the number of deluxe washes was 7. Sam simulates 100 sets of 12 with probability 0.3 and finds 6 with 7 or more deluxe washes. Lena simulates 1,000 sets and finds 39. Which estimate of the P-value should you trust more, and why? What is the conclusion at the 0.05 significance level?Lena’s estimate, 39/1,000 = 0.039: more simulations give a more reliable estimate. Because the estimated P-value 0.039 < 0.05, there is convincing evidence that the true probability that a customer buys the deluxe wash for a car wash is greater than 0.3.
  3. A claim says that for a quiz taker who guesses, each true-false question is answered correctly with probability 0.5. A researcher suspects the true probability is lower. Out of 12 true-false questions, the number of correct answers was 4. A simulation of 100 sets with probability 0.5 gives an estimated P-value of 0.12. Dev says this means if each true-false question is answered correctly with probability 0.5, about 12 in 100 sets of 12 would have 4 or fewer correct answers by chance alone. Is Dev right? Explain.Yes. The P-value assumes the claim is true and gives how often a result at least this extreme happens by chance.

Free worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

How to do these

In 100 simulated sets of 20 free throws by a 70% shooter, 4 sets had 18 or more made. A player made 18 of 20. Estimate the P-value for a test of whether she is better than 70%.

  1. The simulation assumes the claim, a 0.7 chance each time.
  2. Results at least as extreme as 18 made: 4 of the 100 sets.
  3. The estimated P-value is 4/100.

The answer is 0.04.

Where students go wrong

Simulating with the sample’s own proportion instead of the claimed one. A P-value assumes the null hypothesis is true, so the simulation must use the value the claim gives.

Also called simulation, randomization test, random digit table, simulated P-value, randomization distribution or permutation test.

What you can put on this worksheet

Estimating a probability by simulation: random digits and dotplots (easy, medium); designs and exact values (hard)
For a movie theater, each ticket buyer buys popcorn with probability 0.6. Let the digits 0 to 5 mean that the ticket buyer buys popcorn, and 6 to 9 mean that this does not happen. Use the random digits below to simulate 20 ticket buyers. How many of the 20 digits are successes, and what is the estimated probability? Random digits: 0⁠8666 2⁠3144 6⁠2678 9⁠1389 → Digits from 0 to 5 appear 9 times (0, 2, 3, 1, 4, 4, 2, 1, 3), so the estimate is 9/20 = 0.45.
A P-value from a simulated null distribution: read the dotplot (easy); P-values and conclusions (medium); reasoning (hard)
A claim says that for a soccer goalie, each penalty kick is saved with probability 0.3. A researcher suspects the true probability is higher. She will check 40 penalty kicks and compare the count of saves with a simulation. State the hypotheses, and say what p stands for. → H0: p=0.3; Ha: p>0.3, where p is the true probability that a penalty kick is saved for a soccer goalie
Randomization tests: re-randomizing treatment labels (easy); P-values (medium); scope and reasoning (hard)
Researchers randomly assigned 50 customers to a text reminder or an email reminder, 25 to each. Of the 25 assigned to a text reminder, 13 renewed their membership; of the 25 assigned to an email reminder, 7 did. Describe how to use 50 index cards to carry out one trial of a simulation that assumes the treatment makes no difference. → Write “renewed their membership” on 20 cards (13 + 7) and “did not” on the other 30. Shuffle, deal 25 cards to a pile for a text reminder and 25 to a pile for an email reminder, and record the proportion who renewed their membership in the first pile minus the proportion in the second.
Conclusions from simulations: in context (easy); judging them (medium); choosing and designing (hard)
Researchers took a random sample of shoppers in a store test from a large population, and each chose a free sample or no sample for themselves. A simulation shows the difference in the proportions who bought the product is statistically significant. Can you conclude that a free sample caused the difference? Can the result be generalized to the whole population of shoppers in a store test? → Cause and effect: no, because the shoppers in a store test chose their own treatment, so other differences between the groups could explain the result. Generalize: yes, to the population sampled, because the sample was random.

Questions about these worksheets

Yes. Every simulation-based inference sheet is free to print and free to download as a PDF. There is no account to make, no email to hand over and no limit on how many you take.

Yes. The answer key prints on a second page, and you can choose whether it shows each question beside its answer or just the answers in a list.

Yes. Print straight from the page, or download the PDF and print that. The sheet is laid out for paper rather than squeezed off a screen, so there is room to work under each question, and the answer key comes out on its own page.

Statistics is usually taken around 11th or 12th grade, though schools vary and plenty of students meet it earlier or later. Pick the difficulty rather than the grade: the easy level suits a first lesson on it, the hard level suits review before a test.

Yes, as many as you like. The questions are built fresh each time rather than picked from a fixed set of files, so pressing Generate gives a new sheet. That is what you want for a second class, a retake, or two students sitting next to each other.

That is the closest comparison, and Kuta Software is good software. It is also paid software you install on a computer. These worksheets run in a browser tab for free, with no account and nothing to install. Like Kuta, the simulation-based inference questions are generated when you ask for them rather than pulled from a fixed set of files, so two classes never get the same sheet, and the answer key comes with it.

Yes. There are three levels, and you can tick more than one for a sheet that mixes them, in which case the questions come out easiest first. The harder levels are not just larger numbers: they ask for something the easy ones do not.

You pick from 4: estimating a probability by simulation: random digits and dotplots (easy, medium); designs and exact values (hard), a p-value from a simulated null distribution: read the dotplot (easy); p-values and conclusions (medium); reasoning (hard), randomization tests: re-randomizing treatment labels (easy); p-values (medium); scope and reasoning (hard) and conclusions from simulations: in context (easy); judging them (medium); choosing and designing (hard). Tick as many as you want and set how many of each, or let it spread them evenly.

Simulating with the sample’s own proportion instead of the claimed one. A P-value assumes the null hypothesis is true, so the simulation must use the value the claim gives.