For the sample {2,4,6,8,10}, what is the exact bootstrap variance and standard error of the sample mean, and how does it compare with the usual s/n? How would you get a 95% percentile bootstrap interval in practice?

Probability and statistics, Resampling
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.

What's being asked

Whether you understand that the bootstrap treats the sample as the population, and can compute its standard error.

Key idea

A bootstrap sample draws n values with replacement from the data, so each draw has mean xˉ and variance σ^2=1n∑(xi−xˉ)2. The bootstrap mean has variance σ^2/n.

Steps

  1. The sample mean is xˉ=6. The deviations are −4,−2,0,2,4.
  2. The plug-in variance is σ^2=(16+4+0+4+16)/5=8.
  3. Each bootstrap draw is i.i.d. from the data, so Var∗(xˉ∗)=σ^2/n=8/5=1.6, and the bootstrap standard error is 1.6≈1.265.
  4. The usual formula uses s2=40/4=10, giving s/n=2≈1.414.
  5. The two differ by the factor (n−1)/n=0.894, because the bootstrap divides by n rather than n−1. The gap is small for large n.
  6. In practice, draw B (say 2000) bootstrap samples, compute the statistic for each, and take the 2.5th and 97.5th percentiles as the 95% interval. This also works for medians and other statistics with no simple formula.

Common mistakes

How long your answer should be

Half a page, 4–5 minutes.

Last checked on 4 December 2026.

Read this

Previous in Probability and statistics: You test H0:μ=0 against H1:μ>0 with a one-sided z-test at α=0.05, where σ=1 is known and n=25. Use z0.95=1.645 and z0.80=0.8416. If the true mean is 0.5, what is the power? How large must n be for 80% power?
Next in Probability and statistics: A fair coin is tossed n=100 times and p^ is the fraction of heads. Compare the Chebyshev bound, the Hoeffding bound and the CLT approximation for P(∣p^−0.5∣≥0.1). The exact value is about 0.057. What do the comparisons teach?