# 参数化自助法

参数化自助法是一种重抽样方法，用于近似统计量的抽样分布（统计量在假想重复样本中的分布）。其做法是从拟合好的参数模型模拟新数据集，而不是对观测数据本身进行重抽样。分析者假定数据由某个分布族 \( \mathcal{F} = \{F(\cdot;\theta); \theta \in \Theta\} \) 生成，从样本中估计 \( \theta \)，从 \( F(\cdot;\widehat{\theta}) \) 抽取重复数据集，并对每个重复数据集重新拟合估计量。<sup>[1](https://link.springer.com/chapter/10.1007/978-3-031-12409-9_4)</sup> 它属于斯坦福大学统计学家布拉德利·埃夫隆（Bradley Efron）于1979年在《统计学年鉴》（*Annals of Statistics*）发表的论文《自助法：再谈刀切法》（"Bootstrap methods: Another look at the jackknife"）中提出的一类自助方法。<sup>[2](https://kuscholarworks.ku.edu/bitstreams/049447ec-69b3-48c7-9cf3-540053f867ea/download)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心思想 | 从拟合模型 \( F(\cdot;\widehat{\theta}) \) 模拟重复数据集，对每个数据集重新计算统计量，并以结果的经验分布作为统计量抽样分布的估计<sup>[1](https://link.springer.com/chapter/10.1007/978-3-031-12409-9_4)</sup> |
| 重复次数 | 估计偏差和方差通常50至200次重复即可；估计置信区间则需要1,000至2,000次<sup>[3](https://ethz.ch/content/dam/ethz/special-interest/math/statistics/sfs/Education/Advanced_Studies/course-material-1921/Nonparametric/lecture_2up.pdf)</sup> |
| 主要优势 | 从 \( F(\cdot;\widehat{\theta}) \) 抽取新观测可以生成观测样本中未出现过的取值<sup>[1](https://link.springer.com/chapter/10.1007/978-3-031-12409-9_4)</sup> |
| 主要风险 | 若参数分布族设定错误，模拟样本将无法很好地描述真实数据，例如数据存在过度离散而所选分布族无法表达过度离散时<sup>[1](https://link.springer.com/chapter/10.1007/978-3-031-12409-9_4)</sup> |
| 小样本中的表现 | 当样本量 \( n \le 60 \) 且已知或假定合适的模型时，参数化自助法优于非参数化自助法，后者的置信区间过窄<sup>[4](https://journals.ametsoc.org/abstract/journals/apme/47/12/2008jamc1763.1.xml)</sup> |
| 贝叶斯用途 | 埃夫隆（2012）表明参数化自助法可以高效计算贝叶斯后验分布，其重要性抽样公式与指数族中的偏差（deviance）相关联<sup>[5](https://arxiv.org/abs/1301.2936)</sup> |

## 算法

给定独立同分布观测 \( Y_1, \ldots, Y_n \sim F(\cdot;\theta) \) 和估计量 \( \widehat{\theta} = A(\boldsymbol{Y}) \)，该过程重复 \( M \) 次：从 \( F(\cdot;\widehat{\theta}) \) 独立模拟 \( Y^*_1, \ldots, Y^*_n \)，然后计算 \( \widehat{\theta}^{(m*)} = A(\boldsymbol{Y}^*) \)。集合 \( \widehat{\theta}^{(1*)}, \ldots, \widehat{\theta}^{(M*)} \) 及其经验分布近似 \( \widehat{\theta} \) 的分布。<sup>[1](https://link.springer.com/chapter/10.1007/978-3-031-12409-9_4)</sup>

同样的机制可用于估计偏差和方差。设 \( t = t(\widehat{F}) \) 为所关注泛函的估计，则估计量 \( T \) 的偏差由重复统计量的均值减去 \( t \) 来估计，方差由其经验方差来估计；两者都随重复次数 \( R \) 的增大而收敛。<sup>[3](https://ethz.ch/content/dam/ethz/special-interest/math/statistics/sfs/Education/Advanced_Studies/course-material-1921/Nonparametric/lecture_2up.pdf)</sup> 两种误差来源始终彼此不同：统计误差源于 \( \widehat{F} \neq F \)，可通过更好的建模来减小；模拟误差源于 \( R \) 有限，可通过增大 \( R \) 来减小。<sup>[3](https://ethz.ch/content/dam/ethz/special-interest/math/statistics/sfs/Education/Advanced_Studies/course-material-1921/Nonparametric/lecture_2up.pdf)</sup>

当 \( \widehat{\theta} \) 在 \( n \to \infty \) 时渐近正态且数据独立同分布时，自助法一致性通常成立；一致性通常意味着方差和偏差的估计也一致。<sup>[1](https://link.springer.com/chapter/10.1007/978-3-031-12409-9_4)</sup>

## 参数化自助法与非参数化自助法

非参数化自助法从观测数据中有放回地抽取重抽样样本，对每个原始值赋予概率 \( n^{-1} \)；它不假定任何参数模型。<sup>[3](https://ethz.ch/content/dam/ethz/special-interest/math/statistics/sfs/Education/Advanced_Studies/course-material-1921/Nonparametric/lecture_2up.pdf)</sup> 参数化版本则以拟合模型替代经验分布，这同时改变了其优势与失效模式。

气候学和水文学极值模型中的模拟实验比较了两种方法在真实分布与拟合分布各种组合下的表现。对于小到中等样本量，非参数化自助法产生的置信区间过窄，低估了频率模型的真实不确定性。参数化自助法给出的区间覆盖率也略低于名义水平，但在大多数考察情形中改善了不确定性估计，即使对数据采用了不正确的参数模型也是如此。三种区间类型（百分位区间、自助 \( t \) 区间、偏差校正加速区间）之间的差异通常小于参数化与非参数化版本之间的差异。该研究得出结论：当已知或可以假定合适模型时，对于 \( n \le 60 \) 应优先采用参数化自助法。<sup>[4](https://journals.ametsoc.org/abstract/journals/apme/47/12/2008jamc1763.1.xml)</sup>

假设条件在更广泛的意义上决定了方法的选择。一项对健康经济学中四种常用自助技术的综述发现，若同方差性和正态性成立，参数化自助法一致且有效，而配对自助法和野自助法在异方差和非正态条件下仍保持一致；在应用任何技术之前都应检验假设。<sup>[6](https://pubmed.ncbi.nlm.nih.gov/16684441/)</sup>

## 假设检验与拟合优度

参数化自助检验将零模型 \( \widehat{M}_0 \) 拟合到数据，从中模拟 \( R \) 个数据集，对每个数据集计算检验统计量，并将p值估计为 \( \widehat{p} = (1 + \#\{t^*_r \ge t\})/(R + 1) \)。<sup>[3](https://ethz.ch/content/dam/ethz/special-interest/math/statistics/sfs/Education/Advanced_Studies/course-material-1921/Nonparametric/lecture_2up.pdf)</sup> 当通常的渐近参考分布失效时，这是标准的补救方法。例如，在稀疏列联表中，拟合优度统计量不服从卡方分布，已有研究通过模拟考察了参数化自助检验在若干稀疏条件下的第一类错误率和功效。<sup>[7](https://pubmed.ncbi.nlm.nih.gov/14633336/)</sup> 对于大型多向表中含未知参数的复合零假设，参数化自助法提供了对实际显著性水平的有效近似，尽管计算量可能较大。<sup>[8](https://wires.onlinelibrary.wiley.com/doi/abs/10.1002/wics.1470)</sup>

一个实例说明了所涉及的计算规模。对于一个检验行-列独立性的稀疏二维计数表，已知卡方近似效果不佳，因此从拟合的多项模型生成了999个表；其中47个产生的对数似然比统计量超过观测值38.52，得到参数化自助p值为 \( (1 + 47)/(999 + 1) = 0.048 \)。<sup>[3](https://ethz.ch/content/dam/ethz/special-interest/math/statistics/sfs/Education/Advanced_Studies/course-material-1921/Nonparametric/lecture_2up.pdf)</sup>

## 贝叶斯计算

埃夫隆2012年的论文从两个方向将参数化自助法与贝叶斯推断联系起来。第一，它可用于高效计算贝叶斯后验分布：重要性抽样公式呈现出与指数族中偏差相关的简洁形式，从杰弗里斯不变先验出发时尤为简单。第二，自助抽样的独立同分布特性使得众所周知的公式可以刻画贝叶斯估计的计算精度，该理论将贝叶斯分析与频率派分析联系起来，为贝叶斯推断的频率派精度提供了高效算法，并在一个模型选择示例中加以说明。<sup>[5](https://arxiv.org/abs/1301.2936)</sup> 迈克尔·A·牛顿（Michael A. Newton）和阿德里安·E·拉夫特里（Adrian E. Raftery）此前（1994）的论文曾提出一种用于贝叶斯目的的非参数化自助法版本。<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC3703677/)</sup>

## 应用与软件

除经典推断外，参数化自助法已被改造以适应现代场景。在差分隐私参数估计中，费兰多（Ferrando）、王（Wang）和谢尔顿（Sheldon）证明了它在两种广泛相关的情形下给出的置信区间具有一致性，其中包括一种避免多次访问协变量数据的线性回归改造；它能清楚地分析数据样本和随机隐私机制两者的变异性，并有助于纠正为限制敏感度而对数据截断所引起的偏差。<sup>[10](https://arxiv.org/abs/2006.07749)</sup>

统计软件直接实现了该方法。R的**boot**包通过`ran.gen`参数支持参数化模拟，该参数指定随机值的生成方式。<sup>[11](https://rweb.cla.umn.edu/R/library/boot/html/boot.html)</sup> 使用**unmarked**包的`parboot`函数，从拟合模型模拟数据集，然后重新拟合模型，并针对用户选择的拟合统计量（默认为残差平方和）生成抽样分布；将该分布与实际观测到的统计量进行比较，即可评估拟合优度或衡量所关注量的不确定性。<sup>[12](https://search.r-project.org/CRAN/refmans/unmarked/html/parboot.html)</sup>

## References

1. [Predictive Modeling and Forecast Evaluation, Springer (2022), Section 4.3.2](https://link.springer.com/chapter/10.1007/978-3-031-12409-9_4)
2. [Parametric Bootstrap Interval Approach to Inference, University of Kansas ScholarWorks](https://kuscholarworks.ku.edu/bitstreams/049447ec-69b3-48c7-9cf3-540053f867ea/download)
3. [Nonparametric course lecture notes, ETH Zurich / Statoo Consulting](https://ethz.ch/content/dam/ethz/special-interest/math/statistics/sfs/Education/Advanced_Studies/course-material-1921/Nonparametric/lecture_2up.pdf)
4. [Kyselý, J. (2008). A Cautionary Note on the Use of Nonparametric Bootstrap for Estimating Uncertainties in Extreme-Value Models. J. Appl. Meteor. Climatol.](https://journals.ametsoc.org/abstract/journals/apme/47/12/2008jamc1763.1.xml)
5. [Efron, B. (2012). Bayesian inference and the parametric bootstrap. arXiv:1301.2936](https://arxiv.org/abs/1301.2936)
6. [Baser, O. et al. (2006). Guidelines for selecting among different types of bootstraps. Curr Med Res Opin 22(4)](https://pubmed.ncbi.nlm.nih.gov/16684441/)
7. [Tollenaar, N., & Mooijaart, A. (2003). Type I errors and power of the parametric bootstrap goodness-of-fit test. PubMed](https://pubmed.ncbi.nlm.nih.gov/14633336/)
8. [Reiser, M. (2019). Goodness-of-fit testing in sparse contingency tables when the number of variables is large. WIREs Computational Statistics](https://wires.onlinelibrary.wiley.com/doi/abs/10.1002/wics.1470)
9. [Efron, B. Bayesian inference and the parametric bootstrap, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3703677/)
10. [Ferrando, C., Wang, S., & Sheldon, D. Parametric Bootstrap for Differentially Private Confidence Intervals. arXiv:2006.07749](https://arxiv.org/abs/2006.07749)
11. [boot: Bootstrap Resampling, R documentation](https://rweb.cla.umn.edu/R/library/boot/html/boot.html)
12. [parboot: Parametric bootstrap method for fitted models, R documentation (unmarked)](https://search.r-project.org/CRAN/refmans/unmarked/html/parboot.html)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Estimation theory and estimator families › Robust statistics and resampling › Bootstrap and related simulation inference

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/parametric-bootstrap

English original: https://www.edgepedia.org/parametric-bootstrap
