Resampling Statistics — Definition, Formula & Example
Resampling statistics is a family of inference methods that reuse your observed data many times to see how much a statistic could vary by chance. You do not need a formula or a normality assumption. The two main tools are the bootstrap and the permutation test.
A resampling method approximates the sampling distribution of a statistic by recomputing on many data sets generated from the observed sample. The bootstrap draws values with replacement from the sample, treating the sample's empirical distribution as a stand-in for the population. It is used to estimate standard errors and confidence intervals. A permutation test reassigns group labels without replacement, under the null hypothesis that the labels are exchangeable. This produces the null distribution of and an exact or approximate p-value.
Key Formula
Where:
- = Number of bootstrap resamples: all of them for an exact bootstrap, or a few thousand random ones in practice
- = The statistic recomputed on the th resample, drawn with replacement from the data
- = The average of the resampled statistics
- = Bootstrap estimate of the statistic's standard error. Software often divides by instead of , which makes almost no difference when is large.
Worked Example
Problem: A student records how many minutes three buses ran late: 2, 4, and 9. Use the exact bootstrap to estimate the standard error of the sample mean.
Step 1: Each bootstrap sample draws 3 values with replacement from {2, 4, 9}, so there are equally likely ordered resamples, such as (2, 2, 9) or (9, 9, 9). Compute the mean of each one. The original sample mean is 5.
Step 2: The 27 bootstrap means range from 2 (all 2s) to 9 (all 9s) and average to 5. Their variance equals the plug-in variance of the data (dividing by ) divided by .
Step 3: Take the square root to get the bootstrap standard error.
Answer: The bootstrap standard error of the mean is about 1.70 minutes. The textbook formula is a little larger, because the bootstrap divides by rather than . With real data you draw a few thousand random resamples rather than listing them all, and the same steps work for a median or a correlation, which have no simple standard-error formula.
Why It Matters
Some statistics have no simple standard-error formula, such as a median, a ratio, or a correlation. For these, the bootstrap is often the practical way to build a confidence interval, and it is a standard tool in data science and biostatistics. Intro college statistics courses increasingly teach inference through simulation-based permutation tests before t-procedures. The reason is that the logic of a p-value shows up directly in the shuffled results.
Common Mistakes
Mistake: Drawing bootstrap samples without replacement, or mixing up the two methods.
Correction: If you draw values from without replacement, you just get the original sample back in a new order. A bootstrap sample must be drawn with replacement, so some values repeat and others are left out. A permutation test is the opposite case: it shuffles labels without replacement, because it models the null hypothesis rather than the population.
