Back to AI Math Mind Map
中文·English
📐 AI MathID: bootstrap

Bootstrap

🎯Core Definition
Bootstrap estimates the sampling distribution of a statistic θ^=g(x1,,xn)\hat\theta = g(x_1, \dots, x_n) by resampling with replacement: independently BB times, draw nn observations from the original sample and compute θ^b\hat\theta^{*b} (b=1,,Bb = 1, \dots, B); the empirical distribution of these BB values approximates the distribution of θ^\hat\theta. Variance and standard error estimate:
📌Overview
Var^(θ^)=1B1b=1B(θ^bθˉ)2,\widehat{\mathrm{Var}}(\hat\theta) = \frac{1}{B-1} \sum_{b=1}^{B} \bigl(\hat\theta^{*b} - \bar{\theta}^{*}\bigr)^2,
📌Overview
and the percentile interval takes quantiles of the resampled distribution [θ^(α/2),  θ^(1α/2)]\bigl[\hat\theta^{*}_{(\alpha/2)},\; \hat\theta^{*}_{(1-\alpha/2)}\bigr]. The statistical rationale: the empirical distribution F^n\hat F_n approximates the true FF, so resampling is "re-running the experiment" under F^n\hat F_n.
💡Use Cases
statistics without analytic standard errors (median, correlation), confidence intervals for small samples, and uncertainty of model metrics (AUC, RMSE); interviews often ask why bootstrap works and how it relates to the CLT.
Key Problems Solved
analytic standard errors rely on the CLT, large samples and differentiable statistics, whereas bootstrap works for any statistic under exchangeable i.i.d. data, costing only O(Bn)O(B n) resampling operations; its limits: resamples contain no out-of-sample information, and dependent data (time series) requires variants such as block bootstrap.
🎯5 High-Frequency Exam Points
1
Full procedure and formula for estimating Var(θ^)\mathrm{Var}(\hat\theta) by bootstrap? Why is it "using the empirical distribution to approximate the true distribution"?
2
How is the percentile interval constructed? How does it differ from the normal approximation θ^±zα/2SE^\hat\theta \pm z_{\alpha/2} \widehat{\mathrm{SE}}?
3
Bootstrap vs CLT: when are they equivalent, and when is bootstrap superior (no analytic SE, small samples)?
4
Parametric vs non-parametric bootstrap: what are the differences?
5
Assumptions and failure modes of bootstrap (independence, information ceiling of resamples, time series)?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Bootstrap"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardMCMC & Detailed BalanceNext CardGradient Descent

🔗 More AI Math Knowledge Cards

Adam/AdamW MathBayesian InferenceBias-Variance DecompositionCausal Inference (Rubin)