Resampling methods
Objective. Use bootstrap and permutation inference.
- 1. Learn
- 2. Worked example
- 3. Practice
- 4. Feedback
- 5. Continue
Learn: the key idea
Resampling methods estimate the sampling distribution of a statistic by repeatedly drawing new samples from observed data rather than relying on theoretical formulas. The bootstrap resamples with replacement from the original dataset many times, computing the statistic of interest each time to build an empirical distribution for standard errors or confidence intervals. Permutation tests instead shuffle group labels to test a null hypothesis of no difference, comparing the observed statistic to the shuffled distribution. For example, bootstrapping a sample mean 1000 times and taking the 2.5th and 97.5th percentiles of the resulting means gives an approximate 95% confidence interval without assuming normality.
Worked example
A bootstrap procedure draws 500 resamples of a dataset's mean to estimate a confidence interval. If the 2.5th percentile is 10.2 and the 97.5th percentile is 14.8, state the width of this bootstrap confidence interval.
- 1Interval width = upper bound − lower bound
- 2Upper bound = 14.8, lower bound = 10.2
- 3Width = 14.8 − 10.2
- 4Simplify: 4.6
Answer: 4.6
Concept mastery
Based on your past attempts at this lesson — the question types to practise again come first.
Complete a practice set to see your concept breakdown here.
Practice
Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.
Start practisingCommon mistake. Students treat a single bootstrap resample as giving the confidence interval directly; one resample only mimics one hypothetical dataset. The interval requires the spread across thousands of resampled statistics, not one replicate's value.
Your progress
Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.
0 of 5 steps complete
Your place saves automatically as you read.