Use simulation to decide whether data are consistent with a proposed model.
Match a simulation to random assignment or sampling
Problem
A randomized experiment assigns \(20~\text{units}\) equally to treatment and control and observes a treatment-minus-control mean difference of \(4.2\). Of \(1,000\) valid shuffles, \(18\) were at least as large. State the no-effect shuffle, statistic, \(p\text{-}\text{value}\), and conclusion at \(\text{alpha}~=~0.05\).
Big Picture
What this problem is really about
A randomization test must reproduce what was random in the experiment. Under a no-effect explanation, keep the observed outcomes and fixed group sizes unchanged, reshuffle only the treatment labels, and calculate the same directional statistic after every shuffle. The extreme-shuffle proportion is then compared with alpha, with any causal interpretation bounded by the randomized design and its experimental units.
Inside Gozunta
Turn the preview into practice.
More than a preview
Gozunta lets you study this problem—and more than 10,000 others.
Create targeted learning sessions, use hints, check your answer, read the walkthrough, watch the video, print the work, and track your progress.