# 块自助法

块自助法（block bootstrap）是针对相依的、自相关的时间序列数据的一种重抽样方法：它不逐个观测有放回地重抽样，而是对整块连续观测进行重抽样，从而保留每个块内部的序列相关结构。<sup>[1](https://scholargate.app/statistics/block-bootstrap)</sup> 它把布拉德利·埃夫隆（Bradley Efron）1979年为独立同分布数据设计的自助法，推广到相邻观测携带共同信息、普通自助法会高估精度的情形。<sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup>

| 要点 | 说明 |
|---|---|
| 目的 | 在重抽样的时间序列中保留自相关性；普通的独立同分布自助法会破坏相依性，给出过窄的置信区间<sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup> |
| 起源 | 针对相依平稳观测的逐块自助法由汉斯·R·金施（Hans R. Künsch）于1989年提出<sup>[3](https://statistics.berkeley.edu/tech-reports/431)</sup> |
| 主要变体 | 非重叠（固定）块、移动（重叠）块自助法、循环块自助法，以及波利蒂斯与罗马诺的平稳自助法<sup>[4](https://ojs.srce.hr/index.php/crorr/article/view/2767)</sup> |
| 块长 | 对样本量为 n 的样本，标准的起始规则是 \( \ell \approx c \cdot n^{1/3} \)<sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup> |
| 最优阶 | 霍尔、霍罗维茨与荆（1995）指出：标准误估计的最优块长为 \( n^{1/3} \)，单侧分布函数为 \( n^{1/4} \)，双侧分布函数为 \( n^{1/5} \)<sup>[5](https://institium.com/paper/openalex/W2039332020?layout=classic&view=abstract)</sup> |
| 主要敏感性 | 结果对块长的选择高度敏感；数据驱动的选择方法包括 HHJ、PWSD 与 NPPI<sup>[6](https://alec-stashevsky.github.io/blocklength/)</sup> |

## 为什么普通重抽样在时间序列上会失效

当序列存在自相关时，相邻观测含有彼此重叠的信息，这意味着有效独立数据点的数目低于名义样本量。独立地重抽样观测会破坏自相关，产生过于狭窄的置信区间，并使假设检验过于频繁地拒绝原假设。<sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup> 块自助法通过让连续观测待在一起来解决这个问题：在每个重抽样的块内部，时间相依性得以保留，因此统计量的自助分布能够模仿背后过程的相依结构。<sup>[6](https://alec-stashevsky.github.io/blocklength/)</sup>

## 主要变体

**移动块自助法。** 移动块自助法（moving block bootstrap, MBB）由金施于1989年提出，作为不依赖特定结构形式的时间序列的一般自助方法；它把序列切成固定长度 \( \ell \) 的重叠块，再对整块有放回地重抽样。<sup>[7](https://www.sciencedirect.com/topics/computer-science/bootstrap-method)</sup><sup> • </sup><sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup> 刘与辛格（Liu and Singh，1992）也对这一方向作出了贡献。<sup>[6](https://alec-stashevsky.github.io/blocklength/)</sup> 由于块彼此重叠，每个观测都可能出现在重抽样序列的任何位置上，但该方法不在数据两端之间循环：序列首端或末端附近的观测会被系统性地少抽，这一缺陷使一些软件作者建议不要使用它。<sup>[8](https://bashtage.github.io/arch/doc/bootstrap/timeseries-bootstraps.html)</sup>

**循环块自助法。** 循环块自助法使用固定长度的块，并让末端与首端相接，把序列视为一个圆环，从而不会有观测被系统性地少抽。<sup>[8](https://bashtage.github.io/arch/doc/bootstrap/timeseries-bootstraps.html)</sup>

**平稳自助法。** 迪米特里斯·N·波利蒂斯（Dimitris N. Politis）与约瑟夫·P·罗马诺（Joseph P. Romano，1994）的平稳自助法把块长随机化，从均值为 \( \ell \) 的几何分布中抽取块长。这保证了重抽样序列本身是平稳的——固定块版本不具备这一性质——并使结果对单一块长选择的敏感性大大降低。<sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup> 它专为计算弱相依平稳观测的标准误、构造置信域而设计。<sup>[9](https://www.mdpi.com/1099-4300/25/7/1070)</sup> 由于它重抽样的是随机长度的块，一般认为这种方法的渐近方差在各类块自助法中最大。<sup>[10](https://arxiv.org/abs/0903.0474)</sup>

**非重叠块与子抽样。** 综述性比较还把非重叠块自助法（块与块之间不共享观测）以及子抽样计入基于块的方案之列。<sup>[4](https://ojs.srce.hr/index.php/crorr/article/view/2767)</sup>

## 如何选择块长

取舍完全落在 \( \ell \) 上：太短，重抽样就破坏了相邻观测之间的相依性；太长，可供重抽样的不同块又太少。<sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup> 渐近理论只确立了这样一点：最优块长必须随样本量增大，并且在估计标准误时其阶为 \( O(n^{1/3}) \)。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0167947399000146)</sup> 最优块长的主项以错综复杂的方式依赖于总体特征，这使它们在实践中难以估计。<sup>[12](https://www.sciencedirect.com/science/article/abs/pii/S1572312706000505)</sup>

常用的数据驱动选择方法有三种。霍尔、霍罗维茨与荆（1995）的方法用交叉验证选择块长，使自助法在不同块长下产生的均方误差最小。波利蒂斯与怀特（Politis and White，2004）的谱密度插入法，根据序列的自相关与谱密度估计块长。拉希里、古川与李（Lahiri, Furukawa, and Lee，2007）的非参数插入法，则用基于重抽样的偏差与方差估计量，估计理论最优块长一阶展开式中的主项。<sup>[6](https://alec-stashevsky.github.io/blocklength/)</sup> 三者之中，交叉验证法计算量最大，谱插入法则最省。<sup>[6](https://alec-stashevsky.github.io/blocklength/)</sup>

## 与基于模型的替代方法的比较

筛自助法走的是基于模型的路线：它拟合一个阶为 \( p(n) \) 的自回归模型（阶数随样本量 n 增大，但增长更慢），对残差独立地重抽样，再通过拟合出的递推关系生成新序列。彼得·比尔曼（Peter Bühlmann）证明它在一类非线性估计量上具有相合性，并证明当相隔较远的值之间的相依性衰减得足够快时，均值的筛自助法方差比逐块自助法具有更好的收敛速度。<sup>[3](https://statistics.berkeley.edu/tech-reports/431)</sup> 在实际比较中，移动块与平稳自助法挽回了因相依性而损失的大部分方差，而当拟合的自回归模型恰为正确模型时，筛自助法几乎能准确落在真实的长程标准误上；筛方法生成平滑路径，没有块边缘的痕迹，但依赖线性模型近似。<sup>[2](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)</sup> 一篇更广泛的综述认为，块自助法的普适性是其显著特点，而两类筛自助法往往在各自的领域——线性过程与分类过程——中胜过它。<sup>[13](https://www.periodicos.capes.gov.br/index.php/acervo/buscador.html?id=W2012562749&task=detalhes)</sup> 也有文献把块自助法描述为比基于残差的方法更少依赖模型。<sup>[14](https://www.math.ntnu.no/emner/TMA4300/2020v/LectureNotes/part3_3.pdf)</sup>

块自助法与筛自助法的有效性都已推广到平稳长记忆时间序列。<sup>[15](https://iris.unive.it/handle/10278/3727615)</sup> 针对一般平稳序列的无模型替代方法也已被提出，并与块自助法和 AR 筛自助法作了基准比较。<sup>[16](https://arxiv.org/abs/1912.13185)</sup> 一篇关于近期研究的综述还列出了更多同类方法，包括循环、连续路径块、锥形块、频域和局部自助法。<sup>[17](https://onlinelibrary.wiley.com/doi/10.1111/jtsa.12128)</sup>

## 应用

**蒙特卡洛误差估计。** 在马尔可夫链蒙特卡洛模拟中，相关的输出使朴素误差估计不可靠；一篇关于误差估计方法的综述发现，平稳自助法利用单条时间序列就能对任意量给出合理而稳定的估计，而仅凭少数几次独立运行所作的简单估计则可能错得显而易见。<sup>[18](https://arxiv.org/abs/2112.11837)</sup>

**金融。** 2015年的一项研究比较了四种块自助法，用2009年4月至2014年4月塞尔维亚股市指数 BELEX15 的1250个日观测，计算方差估计的均方误差，并在不同样本量与块长下作了稳健性检验；结果表明，样本量或块长改变时，方法的效率会发生变化。<sup>[4](https://ojs.srce.hr/index.php/crorr/article/view/2767)</sup>

**因果性检验。** 在线性反馈系统的模拟中，研究者把平稳自助法与 AR 筛自助法同相位随机化、时间平移替代序列方法相比较，用于评估时间序列数据中因果分析的显著性。<sup>[9](https://www.mdpi.com/1099-4300/25/7/1070)</sup>

**软件。** R 包 `blocklength` 提供了实现，可通过 HHJ、PWSD 和 NPPI 方法自动选择块长；<sup>[6](https://alec-stashevsky.github.io/blocklength/)</sup> Python 的 `arch` 包也提供实现，包含平稳、循环块和移动块自助法，以及 `optimal_block_length` 估计器。<sup>[8](https://bashtage.github.io/arch/doc/bootstrap/timeseries-bootstraps.html)</sup> 一个 Stata 模块实现了针对相依时间序列数据的四种方案，包括移动块、循环块和平稳块自助法。<sup>[19](https://ideas.repec.org/c/boc/bocode/s459503.html)</sup>

## References

1. [Block Bootstrap (Moving Block and Stationary Bootstrap), Scholargate](https://scholargate.app/statistics/block-bootstrap)
2. [Choosing a Resampling Scheme for Dependent Time Series, MetricGate (June 2026)](https://metricgate.com/blogs/choosing-a-resampling-scheme-time-series/)
3. [Peter Bühlmann (1995). Sieve Bootstrap for Time Series, UC Berkeley Technical Report 431; Annals of Probability 25, 855–900 (1997)](https://statistics.berkeley.edu/tech-reports/431)
4. [Boris Radovanov and Aleksandra Marcikić (2015). A comparison of four different block bootstrap methods, Croatian Operational Research Review, Volume 5 (2014), Number 2](https://ojs.srce.hr/index.php/crorr/article/view/2767)
5. [Peter Hall, Joël L. Horowitz, and Bing-Yi Jing (1995). On blocking rules for the bootstrap with dependent data, Biometrika 82(3), 561](https://institium.com/paper/openalex/W2039332020?layout=classic&view=abstract)
6. [blocklength: Select an Optimal Block-Length to Bootstrap Dependent Data, R package documentation](https://alec-stashevsky.github.io/blocklength/)
7. [Bootstrap Method, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/computer-science/bootstrap-method)
8. [Time-series Bootstraps, arch documentation](https://bashtage.github.io/arch/doc/bootstrap/timeseries-bootstraps.html)
9. [Comparison of Bootstrap Methods for Estimating Causality in Linear Dynamic Systems: A Review, Entropy 25(7), 1070 (2023)](https://www.mdpi.com/1099-4300/25/7/1070)
10. [A note on the stationary bootstrap's variance, arXiv:0903.0474](https://arxiv.org/abs/0903.0474)
11. [Block length selection in the bootstrap for time series, Computational Statistics & Data Analysis](https://www.sciencedirect.com/science/article/pii/S0167947399000146)
12. [A nonparametric plug-in rule for selecting optimal block lengths for block bootstrap methods](https://www.sciencedirect.com/science/article/abs/pii/S1572312706000505)
13. [Peter Bühlmann (2002). Bootstraps for Time Series, Statistical Science 17(1), Institute of Mathematical Statistics](https://www.periodicos.capes.gov.br/index.php/acervo/buscador.html?id=W2012562749&task=detalhes)
14. [Block bootstrap, lecture notes TMA4300, NTNU](https://www.math.ntnu.no/emner/TMA4300/2020v/LectureNotes/part3_3.pdf)
15. [Bootstrap methods for long-range dependence: Monte Carlo evidence, Università Ca' Foscari Venezia repository](https://iris.unive.it/handle/10278/3727615)
16. [Yiren Wang and Dimitris N. Politis (2019). Model-free Bootstrap for a General Class of Stationary Time Series, arXiv:1912.13185](https://arxiv.org/abs/1912.13185)
17. [Giuseppe Cavaliere, Dimitris N. Politis, and Anders Rahbek (2015). Recent Developments in Bootstrap Methods for Dependent Data, Journal of Time Series Analysis 36(3), 269–271](https://onlinelibrary.wiley.com/doi/10.1111/jtsa.12128)
18. [Yoshihiko Nishikawa, Jun Takahashi, and Takashi Takahashi (2021). Stationary Bootstrap: A Refined Error Estimation for Equilibrium Time Series, arXiv:2112.11837](https://arxiv.org/abs/2112.11837)
19. [BLOCKBOOT: Stata module to implement four bootstrap schemes for dependent timeseries data, Statistical Software Components S459503](https://ideas.repec.org/c/boc/bocode/s459503.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/block-bootstrap

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