Resampling methods#
The question and the claim#
A bootstrap approximates sampling variation; a permutation procedure constructs a reference distribution under a specified null and exchangeability assumptions. Resampling with or without replacement alone does not determine a scientifically valid test.
What you should be able to do#
Specify the scientific target and the observations needed to address it.
Name the resampling unit, statistic, null, and exchangeability restriction. Distinguish uncertainty in apparent accuracy from uncertainty in held-out performance.
Explain the assumptions, uncertainty, and limits of your conclusion.
Worked investigation#
Bootstrap participant-level mean reaction time, construct an interval, and use a two-sided permutation test on independent simulated groups with known null structure. The worked notebook is self-contained and uses documented teaching data. Its output is evidence about that example, not a finding about a human population.
Challenge the result#
Resampling trials as if they were independent ignores participant clustering. Arbitrarily permuting one correlated predictor need not implement a valid conditional null. Before running an analysis, predict what this failure would change. After running it, distinguish a software check from a scientific justification.
Practice and verification#
Complete the exercise, then discuss the interpretation questions. Submit a runnable notebook, your assumptions, and a short evidence-based interpretation. The shared analysis workflow defines the reporting and assessment standard.
For AI assistance, first write your own target and expected behavior. Use generated suggestions as candidates, inspect the code or claims, and retain evidence of the checks you performed. The AI analysis guide includes a saved-output activity that requires no account or paid service.
Connection across lessons#
Keep the validation target fixed and use these uncertainty tools when interpreting indirect associations and study designs.
Earlier lecture resources#
The recordings and slides below are retained from the earlier course edition and have not been revised. Use the written chapter, revised notebook, and exercise for current definitions and procedures; earlier examples may conflict with the corrections described here.
