Teaching Statistics with Simulation-Based Inference


Teaching Statistics with Simulation-Based Inference

Maria
Welcome to our workshop on teaching statistics with simulation-based inference, or SBI. We’ll explore why simulation can help students understand inference, walk through examples, and consider how the approach fits into introductory courses. We’ll also talk about teaching online, assessment, and resources instructors can use.

Corey
And the audience for this is broad: high school teachers, instructors at two-year colleges, and people teaching at colleges and universities. The goal isn’t to cover every detail of a full course in one sitting. It’s to give you a useful overview and point you toward materials where you can explore further.

Maria
Let’s begin with the teaching problem that motivated this approach. A traditional introductory course often starts with descriptive statistics, moves into probability and sampling distributions, and reaches inference later. Students may enjoy working with real data at first, then become anxious when the course turns abstract and mathematical.

Corey
And by the time they reach inference, some students are trying to memorize procedures instead of understanding what the results mean. They may ask whether a p-value should be large or small without connecting it to the strength of evidence. The concern is that statistics can start to feel like a cookbook of steps rather than a way to reason about data.

Maria
There are a few reasons to reconsider the sequence. Students often arrive with some familiarity with descriptive statistics, though their preparation varies. Meanwhile, simulation is useful not only in teaching but also in statistical practice, because it can make ideas such as significance testing and confidence intervals more intuitive.

Corey
So the aim is to keep students close to the data and make statistics feel like one connected process. Rather than postponing inference until the end, we can introduce its central ideas early and revisit them throughout the course. We can also emphasize conceptual reasoning while being thoughtful about when students need formulas, notation, and technical terminology.

Maria
That approach aligns with the GAISE guidelines: teach statistics as an investigative process, emphasize conceptual understanding and context, use active learning, and develop multivariable thinking. The idea is not to remove mathematical theory. It’s to build intuition with simulation, then connect that experience to theory and familiar procedures.

Corey
A central framework is the six steps of a statistical investigation: ask a research question; design a study and collect data; explore the data; draw inferences; formulate conclusions; and look back and ahead. That last step matters. Students should consider the limitations of the study and what question or study they might pursue next.

Maria
The first example makes those ideas concrete. A marine biologist trained two dolphins, Doris and Buzz, to respond to a visual signal. When a steady light appeared, the correct response was one button; when the light flashed, the correct response was another.

Corey
For the experiment, Buzz couldn’t see the light, but he could reach the buttons. Doris could see the light, but she couldn’t reach the buttons. When the light flashed, Doris made sounds, and Buzz chose the correct button. Across 16 trials, he chose correctly 15 times.

Maria
That leads to an engaging question: did Doris communicate an abstract idea to Buzz? Before using formal statistical language, students can discuss what the result suggests and critique the study. The discussion can narrow the question to whether Buzz knew which button to choose, while keeping in mind that the study involved these two dolphins.

Corey
There are two possible explanations to compare. Buzz might have been guessing, with a 50–50 chance of choosing the correct button each time, or something besides guessing might explain his performance. Fifteen correct choices out of 16 seems unusual under the guessing explanation—but how can we demonstrate that?

Maria
Students often suggest flipping a coin 16 times. Each flip represents one guess, and one side represents a correct choice. Students can do the flips themselves, count the number of correct choices, and add their results to a class dotplot.

Corey
Most results will tend to fall around eight, nine, or ten correct choices, although other outcomes can happen. The class can see that 15 out of 16 is possible by chance, but not something they see often. Then a computer can repeat the same process many times, quickly building a larger simulated distribution.

Maria
That distribution shows what results are plausible if Buzz were merely guessing. If 15 out of 16 lies far out in the tail, that gives strong evidence against guessing alone. Students can reach that reasoning early in the course without beginning with terms like null hypothesis, p-value, binomial distribution, or sampling distribution.

Corey
The recurring strategy is called the three S’s: statistic, simulate, strength of evidence. First, calculate a statistic from the observed data—in this case, 15 correct out of 16. Second, simulate outcomes under a chance explanation. Third, evaluate how unusual the observed statistic is compared with the simulated results.

Maria
That same structure can work for a single proportion, a comparison of groups, or an association between quantitative variables. Students can learn the reasoning first and then attach formal language to it. For example, they can later connect the tail of the simulated distribution to a p-value and discuss what that value says about evidence.

Corey
The dolphin study also gives the class a chance to use all six investigation steps. Students can discuss assumptions and study design, then ask what they would want to investigate next: whether Buzz could communicate to Doris, whether other dolphins would show the same behavior, or whether changing the signal would change the result.

Maria
That is especially useful because the conversation is accessible even to students who feel intimidated by mathematics. They can engage with the research question, evidence, and limitations before confronting technical details. The six-step structure helps bring them back to the big picture if they get lost in a calculation.

Corey
In the broader curriculum described in the workshop, the early course emphasizes four pillars of statistical inference: inference, estimation, generalizability, and causation. Inference asks how strong the evidence is; estimation includes confidence intervals; generalizability concerns how well results extend from a sample to a population; and causation concerns cause-and-effect conclusions.

Maria
After building those ideas, the course can organize later material around types of studies. That makes it possible to discuss study design, descriptive statistics, simulation-based inference, and theory-based inference together, rather than treating them as disconnected topics. Students still encounter familiar methods such as t-tests, chi-square tests, ANOVA, and regression.

Corey
The teaching materials use guided-discovery explorations: open-ended questions presented in a sequence that helps students develop concepts. Instructors can also use interactive lectures and worked examples. Each section includes both a guided exploration and an exposition with a worked example, so instructors can choose or combine approaches.

Maria
Another important design choice is to use real studies and real data consistently. Students can examine research that is relevant to them, practice questioning how the data were collected, and connect statistical evidence to conclusions. Short activities with familiar objects still have a place, but real research helps show where statistical reasoning is used.

Corey
Let’s look at how the three S’s extend to two groups. Suppose a randomized experiment assigns participants to two groups, and we want to compare their outcomes. A natural statistic is the difference in group means, which students can understand directly before they encounter a standardized statistic such as a t-statistic.

Maria
To simulate the no-difference explanation, shuffle the observed outcomes and deal them back into groups of the original sizes. In a classroom, students can do this with slips of paper; an applet can visualize the same shuffling and dealing. Repeating it produces a distribution of differences expected from random assignment alone.

Corey
In the sleep-deprivation example shown in the workshop, there were 21 people, with 10 in one group and 11 in the other. The observed difference in means was 15.92, and the applet’s empirical p-value was .003. The key teaching point is that students can see how the simulated comparisons relate to the observed difference.

Maria
The same logic applies to correlation and regression. For example, a scatterplot of people’s foot length and height can show the observed relationship and its regression line. To represent no association, shuffle one variable’s values relative to the other, then examine the simulated distribution of slopes.

Corey
In the example, the observed slope was 1.03. Repeated shuffling lets students judge whether a slope that extreme would be expected if there were no association. Again, they can reason about a meaningful statistic before moving to a more formal test.

Maria
The applets are designed to connect with what students have already done by hand. If they flip coins in class, the computer visibly flips coins; if they shuffle cards or slips of paper, the applet shows shuffling. Students can enter their own data, and the tools work on phones, tablets, and computers.

Corey
Simulation doesn’t mean theory disappears. The applets can display standardized statistics and overlay theoretical distributions, such as a t-distribution. Students can compare the simulated results with the mathematical prediction and see how well the two agree when the relevant conditions are met.

Maria
That comparison can make assumptions and validity conditions more visible. If a theoretical distribution and a simulated distribution differ, students have a way to notice that rather than relying only on a rule. Simulation also gives them an alternative approach when a theoretical approximation is not a good fit.

Corey
The applets also let students choose statistics such as a median instead of a mean. That makes it straightforward to investigate how a different measure changes the analysis. It can open discussion of ideas such as robustness and statistical power without requiring a full treatment of their mathematical theory.

Maria
The workshop also emphasizes multivariable thinking. One applet lets students drag variables into a graphical display—for example, examining height and foot size, then adding hand span or coloring the plot by a categorical variable. This helps students see that data can involve several variables at once.

Corey
A related applet illustrates blocking. In a randomized complete block design, the simulation reshuffles treatment assignments within each block rather than across the whole study. Students can see how the design affects the randomization and build a null distribution from those within-block shuffles.

Maria
Online teaching can preserve much of this approach. Instructors can share videos of coin flipping or card shuffling, or ask students to get a deck and do the activity themselves before using an applet. Guided-discovery worksheets can be fillable PDFs, and short videos can support students as they work through readings.

Corey
The workshop also mentioned accessible e-books, online homework, and applets that can be embedded in course materials. The applets are free, and the website includes data sets and other resources. Students can use technology to visualize the reasoning, while instructors can also connect the ideas to software such as R, JMP, or Minitab.

Maria
Assessment can focus on understanding, not just button-pushing. For instance, an exam might ask students to identify the observed sample proportion, state hypotheses, or explain what values should be entered into an applet. An instructor can show a screenshot of a completed simulation and ask students to interpret it.

Corey
One useful question is to ask students to mark where the p-value appears in a simulated distribution. To answer, they must identify the observed statistic, decide which outcomes count as at least as extreme, and locate those outcomes in the tail. That reveals more than asking them to repeat a definition.

Maria
Students can also explain how they would conduct a simulation in a new setting. For a comparison of two groups, they might describe what items they would shuffle, how they would deal them into groups, and what statistic they would calculate each time. They can then explain where the simulated distribution should be centered and what the p-value means.

Corey
That lets instructors assess transfer. A student might apply the three S’s to a new statistic, such as relative risk, even if that particular statistic received less attention in class. The general reasoning stays the same: choose a statistic, simulate under a chance model, and evaluate the observed result.

Maria
The assessment evidence described in the workshop included published studies on student understanding, retention, and performance. The presenters also reported that students with less preparation can do well with this approach, and that first-time instructors teaching it can achieve results close to those of more experienced instructors.

Corey
Instructors can also assess whether students understand how data collection affects conclusions. The materials include work on biased sampling, confounding, and how questions are worded. Students can critique real study scenarios and consider how problems in design may limit what can be concluded.

Maria
The approach is flexible about theory and technology. Some courses may use simulation as their main computational tool; others may connect the applet’s visual results to traditional software output. The conceptual applets can help students understand what a p-value represents, while statistical software can serve as a tool for carrying out analyses.

Corey
It’s also flexible about probability content and course requirements. Some programs need more traditional probability, and instructors may be able to add relevant chapters or materials. The main point is that simulation-based teaching can still lead to the familiar inferential procedures that departments expect.

Maria
The presenters shared resources for learning more, including ISI-stats.com, with curriculum materials, sample chapters, applets, data sets, videos, and instructor resources. They also pointed to Causeweb.org/SBI, which includes a blog with examples from instructors, as well as a frequently asked questions resource.

Corey
And there are practical ways to keep extending the work: assign projects where students collect or analyze data, have them read accessible research articles, and ask them to connect the results back to the investigative process. Descriptive statistics and data exploration can appear whenever they help answer the research question, rather than being confined to one early unit.

Maria
So the big picture is a coherent path from question to conclusion. Simulation gives students a concrete way to model chance, the three S’s provide a repeatable reasoning strategy, and the six investigation steps keep the statistical work connected to study design and context.

Corey
And the goal isn’t simply to teach students how to operate an applet. It’s to help them understand why a result is surprising or plausible, what the evidence supports, what the study cannot establish, and what they might investigate next. That’s how technical methods become part of meaningful statistical reasoning.

Ask anything
We've read this whole study set, so questions about it get the best answers.