← Back to AI Math Mind Map
📐 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^(θ^)=1B−1∑b=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.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Bootstrap.
Use Cases
In production engineering, what are the primary use cases for Bootstrap and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
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
🎯
Verify Mastery: Practice Exam Questions for "Bootstrap"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardMCMC & Detailed BalanceNext Card →Gradient Descent

🔗 More AI Math Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/Math/card/bootstrap
中文速览与面试要点

Bootstrap (Bootstrap)

定义: Bootstrap (自助法) 用有放回重采样估计统计量 = g(x_1, , x_n) 的抽样分布:独立重复 B 次,每次从原始 n 个观测中有放回抽取 n 个,并算出对应的 ^*b(b = 1, , B),用这 B 个重采样估计的经验分布近似 的分布。方差与标准误估计: Var( ) = 1B-1 _b=1^B ( ^*b - ^* )^2, 百分位区间取重采样分布的分位数 [ ^*_( /2),\; ^*_(1- /2) ]。统计依据:把样本经验分布 F_n 当作真实分布 F 的近似,重采样即在 F_n 上“重复实验”。 使用场景: 中位数、相关系数等无解析标准误的统计量,小样本置信区间,以及模型评估指标(如 AUC、RMSE)的不确定性估计;面试常考“bootstrap 为什么有效”与 CLT 的关系。 解决的问题: 解析标准误依赖 CLT 与大样本、要求统计量可微,bootstrap 对任意统计量、任意分布(只需 i.i.d.)给出近似抽样分布,实现仅需 O(B n) 次重采样运算;局限是重采样集不引入样本外信息,对相关数据(时间序列)失效,需用 block bootstrap 等变体。

核心要点

  • bootstrap 重采样估计 Var( ) 的完整步骤与公式?为什么说它是“用经验分布近似真实分布”?
  • 百分位置信区间如何构造?与正态近似区间 z_ /2 SE 有何区别?
  • bootstrap 与 CLT 的关系:何时两者等价?bootstrap 何时更优?
  • 参数化 bootstrap 与非参数 bootstrap 的区别?
  • bootstrap 的假设与失效场景(独立性、重采样集的信息上限、时间序列)?