Exercises: Decide if a Model Is Consistent with Data Using Simulation
Work through each section in order. A "model" is an assumed chance
mechanism (for example, "this coin lands heads with probability 0.5").
To decide if data is consistent with a model, assume the model is true,
simulate the data-generating process many times, build the simulated
distribution, and see how often the model produces a result at least as
extreme as the one observed. The verdict is either "the data is consistent
with the model" or "the data gives reason to question the model." A
surprising result is evidence to question a model, never proof the model
is false; an ordinary result never proves a model true.
Fluency Practice
Judge how surprising results are, design simulations, and read simulated distributions.
The dot plot below is a simulated distribution of the number of makes in 20 free throws under the model . Each teal dot is one simulated session; the red dot marks the shooter's actual session, 11 makes out of 20. Describe where the center of the simulated distribution is. Then estimate the fraction of simulated sessions with 11 or fewer makes, and decide whether the data is consistent with the model or gives reason to question it.