# 阈值自回归模型

阈值自回归（TAR）模型是一种非线性时间序列模型，其自回归系数根据阈值变量——通常是序列自身的滞后值——是否超过固定值而在不同机制之间切换。它或许是线性AR模型最简单的推广，允许依据序列自身的历史值采用不同机制；提出它是为了刻画线性高斯模型无法表现的周期性与非对称行为，包括极限环（一种只可能在非线性系统中出现的重复闭合振荡）、时间不可逆性以及振幅—频率依赖性。<sup>[1](https://doi.org/10.1111/j.2517-6161.1980.tb01126.x)</sup><sup> • </sup><sup>[2](https://warwick.ac.uk/fac/soc/wbs/subjects/finance/research/wpaperseries/wp01-13.pdf)</sup><sup> • </sup><sup>[3](https://saasresearch.hku.hk/share/research/research-report-507.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 产出什么 | 一种分段线性自回归：在每个机制内，序列遵循一个线性AR方程，而当前机制由滞后变量上的阈值规则选定。<sup>[1](https://doi.org/10.1111/j.2517-6161.1980.tb01126.x)</sup><sup> • </sup><sup>[4](https://intlpress.com/site/pub/files/_fulltext/journals/sii/2011/0004/0002/SII-2011-0004-0002-a001.pdf)</sup> |
| 切换机制 | 指示变量为延迟变量 \( y_{t-d} \)：当 \( y_{t-d} \le r \) 时为机制1，当 \( y_{t-d} > r \) 时为机制2，其中 \( r \) 为阈值，\( d \) 为延迟参数。<sup>[4](https://intlpress.com/site/pub/files/_fulltext/journals/sii/2011/0004/0002/SII-2011-0004-0002-a001.pdf)</sup> |
| 估计 | 条件最小二乘：给定阈值时模型是线性的，因此阈值估计值是在网格上使残差方差最小化的值，通常会剔除两端各10%至15%的极端阈值。<sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup><sup> • </sup><sup>[6](https://www.estima.com/webhelp/topics/thresholdautoregressions.html)</sup> |
| 线性性检验 | 阈值在线性原假设下不可识别，因此检验使用阈值网格上的上确界、平均或指数统计量，并配合自助法或模拟p值。<sup>[7](https://users.ssc.wisc.edu/~behansen/papers/jes_99.pdf)</sup><sup> • </sup><sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup> |
| 主要变体 | SETAR（自激励）、TARSO与TARSC（开环与闭环系统）、动量TAR、阈值VECM以及平滑转换（STAR）模型。<sup>[4](https://intlpress.com/site/pub/files/_fulltext/journals/sii/2011/0004/0002/SII-2011-0004-0002-a001.pdf)</sup><sup> • </sup><sup>[8](https://matilda.fss.uu.nl/articles/tar-model.html)</sup><sup> • </sup><sup>[9](https://davidubilava.com/forecasting/docs/threshold-autoregression.html)</sup> |
| 典型应用 | 美国失业率与GNP、汇率、利率期限结构、加拿大猞猁与太阳黑子周期，以及格陵兰冰盖质量平衡。<sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup><sup> • </sup><sup>[10](https://repub.eur.nl/pub/1567/feweco19990331092909.pdf)</sup><sup> • </sup><sup>[11](https://ideas.repec.org/a/eee/econom/v239y2024i1s0304407623000040.html)</sup> |
| 软件 | RATS与MATLAB实现阈值切换估计；在R中，mtarm包（其最新版本0.1.8于2026年1月11日发布于CRAN）提供多变量TAR模型的贝叶斯估计。<sup>[6](https://www.estima.com/webhelp/topics/thresholdautoregressions.html)</sup><sup> • </sup><sup>[12](https://www.mathworks.com/help/econ/estimate-threshold-switching-dynamic-regression-models.html)</sup><sup> • </sup><sup>[13](https://github.com/lhvanegasp/mtarm)</sup> |

## 工作原理

在两机制自激励TAR（SETAR）模型中，时刻 \( t \) 的机制由延迟变量选定：若 \( y_{t-d} \le r \) 则 \( J_t = 1 \)，若 \( y_{t-d} > r \) 则 \( J_t = 2 \)，其中 \( r \) 为阈值，\( d \) 为称为延迟参数的正整数。每个机制都有自己的自回归系数与新息方差，因此当序列自身的过去值较低时它遵循一个线性AR方程，较高时则遵循另一个。<sup>[4](https://intlpress.com/site/pub/files/_fulltext/journals/sii/2011/0004/0002/SII-2011-0004-0002-a001.pdf)</sup> 一般的 \( m \) 机制形式用有序阈值 \( -\infty = r_0 < r_1 < \cdots < r_m = \infty \) 对延迟变量进行划分：

\[ y_t = \sum_{j=1}^{m} \left( Y_{t-1}' \beta_j + \sigma_j \varepsilon_t \right) I\left( r_{j-1} < y_{t-d} \le r_j \right), \]

其中 \( Y_{t-1} = (1, y_{t-1}, \ldots, y_{t-p})' \) 汇集了截距与 \( p \) 阶滞后。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S0304407611002685)</sup> 该模型在 \( y_{t-d} \) 的空间中是分段线性的，而不是在时间上分段：机制是延迟变量取值区域的划分，因此同一机制可以在样本中反复出现。<sup>[15](https://strathprints.strath.ac.uk/57442/1/Pan_Xia_Liu_CS_2016_Bayesian_analysis_of_multiple_thresholds_autoregressive_model.pdf)</sup> 当阈值变量是因变量的滞后值时，模型是自激励的；当它是外生变量时，切换由方程外部驱动。<sup>[2](https://warwick.ac.uk/fac/soc/wbs/subjects/finance/research/wpaperseries/wp01-13.pdf)</sup>

## 如何实现

由于回归方程在阈值上非线性且不连续，估计通过序贯条件最小二乘进行。给定阈值时模型是线性的，因此普通最小二乘给出各机制的系数，而最小二乘阈值估计值是在网格上使残差方差最小化的取值，

\[ \hat{r} = \arg\min_{r} \hat{\sigma}^2(r), \qquad \hat{\sigma}^2(r) = \frac{1}{T-k} \sum_{t=1}^{T} \hat{\varepsilon}_t^2(r). \]

候选阈值被限制在转换变量的下分位数与上分位数之间的范围内；网格搜索通常在每个端点忽略10%至15%的最极端值，以保证每个机制都有足够的观测用于估计。<sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup><sup> • </sup><sup>[6](https://www.estima.com/webhelp/topics/thresholdautoregressions.html)</sup> 在SETAR中，阈值变量为 \( q_t = y_{t-d} \)，延迟 \( d \in [1, \bar{d}] \)；延迟通过对 \( d \) 的扩展搜索来估计，这大约需要 \( n \cdot \bar{d} \) 次回归，且 \( d \) 的最小二乘估计是超一致的，收敛速度快于系数估计。<sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup> 一个实用的流程是先识别延迟与阈值，然后在给定这些值的条件下用最小二乘估计机制参数。<sup>[16](https://faculty.washington.edu/ezivot/econ584/notes/nonlinear.pdf)</sup> 在贝叶斯处理中，机制数目与自回归阶数通过DIC或WAIC等信息准则选取，其余参数则用MCMC估计。<sup>[17](https://arxiv.org/pdf/2503.04593)</sup>

## 起源

阈值自回归模型由H. Tong与K. S. Lim在《阈值自回归、极限环与周期性数据》（"Threshold Autoregression, Limit Cycles and Cyclical Data"）中提出，载于《皇家统计学会杂志B辑》，42: 245-268（1980）。<sup>[1](https://doi.org/10.1111/j.2517-6161.1980.tb01126.x)</sup> Tong于1980年3月19日在皇家统计学会的一次讨论会上宣读了该论文。<sup>[3](https://saasresearch.hku.hk/share/research/research-report-507.pdf)</sup> 论文主张，极限环——一个只能存在于非线性系统中的概念——对于周期性数据的建模至关重要，而阈值自回归模型类足够一般，能够刻画它，并提出了极限环的离散时间定义。<sup>[1](https://doi.org/10.1111/j.2517-6161.1980.tb01126.x)</sup> 该模型建立在更早的切换回归工作之上，其中机制由可观测的切换变量选定。后来的基础性贡献包括K. S. Chan与H. Tong于1986年在《时间序列分析杂志》上关于阈值估计的研究，该研究通过将平滑性引入模型得到了条件最小二乘估计的抽样性质，<sup>[18](https://doi.org/10.1111/j.1467-9892.1986.tb00501.x)</sup> 以及Bruce E. Hansen于1997年在《非线性动力学与计量经济学研究》上发表的论文《TAR模型中的推断》，该文发展了最小二乘阈值估计的分布理论，当阈值效应随样本量收缩时其渐近分布不含冗余参数。<sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup>

## 变体

**命名反映阈值变量。** Tong与Lim借用控制系统的术语，为开环TAR系统创造了TARSO这一名称；闭环的TARSC则将阈值变量置于一个外生方程中。<sup>[4](https://intlpress.com/site/pub/files/_fulltext/journals/sii/2011/0004/0002/SII-2011-0004-0002-a001.pdf)</sup><sup> • </sup><sup>[8](https://matilda.fss.uu.nl/articles/tar-model.html)</sup> 若切换变量为 \( s_t = y_{t-d} \)，模型为SETAR；若 \( s_t = \Delta y_{t-d} \)，则为动量TAR，通常在 \( y_t \) 为I(1)过程时应用。

**阈值协整。** Balke与Fomby将Tong的TAR模型与Engle-Granger向量误差修正模型相结合，允许对长期均衡的不连续调整。<sup>[7](https://users.ssc.wisc.edu/~behansen/papers/jes_99.pdf)</sup> 在阈值单位根模型中，一个机制可以接近无漂移的I(1)过程，而另一个机制是均值回复的，在这种配置下传统ADF检验的表现会有所不同。<sup>[19](https://ideas.repec.org/p/boc/bocoec/381.html)</sup>

**平滑转换。** STAR模型用介于0与1之间的平滑函数 \( G(z_{t-d}, \gamma, c) \) 取代尖锐的截断，标准形式为逻辑斯蒂（LSTAR）与指数（ESTAR）。<sup>[6](https://www.estima.com/webhelp/topics/thresholdautoregressions.html)</sup> 当 \( \gamma_1 \to \infty \) 时，逻辑斯蒂转换趋近于指示函数 \( I[s_t > c_1] \)，因此LSTR模型将两机制TAR作为极限情形嵌套在内。<sup>[20](https://swopec.hhs.se/hastef/papers/hastef0578.pdf)</sup>

**近期扩展。** 一个多阈值SETAR模型的一般框架涵盖了两个或更多阈值变量，且不要求误差服从高斯分布，给出了最小二乘阈值估计的大样本理论、估计阈值的渐近独立性，以及基于核的阈值置信区间方法。<sup>[21](https://link.springer.com/article/10.1007/s10260-025-00799-9)</sup> 还有工作将阈值思想扩展到带解释变量的阈值双自回归模型<sup>[22](https://onlinelibrary.wiley.com/doi/10.1002/sta4.70048)</sup> 以及具有网络结构的高维时间序列。<sup>[23](https://www.sciencedirect.com/science/article/abs/pii/S0047259X25001551)</sup>

## 应用

SETAR模型已在生物与物理序列上取得显著成功，如加拿大猞猁计数与Wolf太阳黑子数，也在经济与金融变量上得到应用，包括汇率与美国GNP。<sup>[10](https://repub.eur.nl/pub/1567/feweco19990331092909.pdf)</sup> 在Hansen的美国失业率应用中，阈值网格被修剪至观测值的中间70%，最佳拟合使用长差分 \( y_{t-1} - y_{t-12} \) 作为阈值变量，\( \hat{d} = 12 \)；在1,000次自助法重复中，没有模拟统计量超过样本值，因此阈值效应在任何传统水平上都是显著的。<sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup><sup> • </sup><sup>[24](https://users.ssc.wisc.edu/~bhansen/papers/snde_97.html)</sup> 期限结构的多变量TAR模型发现，利率变化对长短期利差的反应具有强烈的非对称性。<sup>[7](https://users.ssc.wisc.edu/~behansen/papers/jes_99.pdf)</sup> 闭环TARSC模型刻画了实验室数据中的捕食者—猎物周期与二元交互。<sup>[8](https://matilda.fss.uu.nl/articles/tar-model.html)</sup> 在气候数据中，对格陵兰冰盖质量平衡序列应用自助法阈值检验，发现了显著的阈值效应，且某一设定能够再现非对称的季节周期、主要周期性以及密度的多模态性。<sup>[11](https://ideas.repec.org/a/eee/econom/v239y2024i1s0304407623000040.html)</sup>

## 局限与替代方案

SETAR的尖锐截断往往不现实，而不连续的平方和阻碍了阈值参数的标准渐近分布理论。<sup>[6](https://www.estima.com/webhelp/topics/thresholdautoregressions.html)</sup> 推断是非标准的，因为阈值与延迟是在线性原假设下不可识别的冗余参数；Hansen的框架在冗余参数网格上计算LR、LM或Wald统计量，并取上确界（沿用Davies的方法）或平均、指数变换（沿用Andrews与Ploberger的方法），p值通过模拟获得，而当网格取值远离真实阈值与延迟时检验缺乏功效。<sup>[5](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)</sup><sup> • </sup><sup>[7](https://users.ssc.wisc.edu/~behansen/papers/jes_99.pdf)</sup><sup> • </sup><sup>[10](https://repub.eur.nl/pub/1567/feweco19990331092909.pdf)</sup> 经典渐近检验在小型甚至中等样本中是有偏的，尤其是在金融与气候数据中常见的那种非平稳或异方差情形下。<sup>[11](https://ideas.repec.org/a/eee/econom/v239y2024i1s0304407623000040.html)</sup> 2024年《计量经济学杂志》的一篇论文提出了一个上确界拉格朗日乘子统计量，以线性AR为原假设、TAR为备择假设进行检验，并给出独立同分布递归自助法与野自助法两个版本，证明了其在原假设下的有效性，蒙特卡洛证据显示，即使在小样本中，经验检验水平也与名义水平相符，且野自助法对异方差具有稳健性。<sup>[11](https://ideas.repec.org/a/eee/econom/v239y2024i1s0304407623000040.html)</sup> 预测上的收益是有条件的：模拟显示数据需要具有相当大的非线性，SETAR才会在预测准则上胜过线性AR。<sup>[10](https://repub.eur.nl/pub/1567/feweco19990331092909.pdf)</sup> 在替代方案中，SETAR是内生选择马尔可夫切换模型的特例，后者的机制由观测变量而非潜在马尔可夫链选定；STAR模型提供的是平滑而非突变的转换。<sup>[20](https://swopec.hhs.se/hastef/papers/hastef0578.pdf)</sup><sup> • </sup><sup>[25](https://wrap-test.warwick.ac.uk/id/eprint/1667/1/WRAP_Clements_twerp_464.pdf)</sup> 在高维阈值设定中，某一估计过程的调优参数个数为 \( 4 + \hat{m} \)，其中 \( \hat{m} \) 是初始筛选中的机制数目，应用中常常超过10，使调优变得困难。<sup>[23](https://www.sciencedirect.com/science/article/abs/pii/S0047259X25001551)</sup>

## References

1. [H. Tong, K. S. Lim (1980). Threshold Autoregression, Limit Cycles and Cyclical Data. Journal of the Royal Statistical Society Series B (Statistical Methodology).](https://doi.org/10.1111/j.2517-6161.1980.tb01126.x)
2. [Warwick finance working paper (wp01-13)](https://warwick.ac.uk/fac/soc/wbs/subjects/finance/research/wpaperseries/wp01-13.pdf)
3. [Research Report (Tong, retrospective on threshold models)](https://saasresearch.hku.hk/share/research/research-report-507.pdf)
4. [Threshold models in time series analysis, 30 years on (Tong)](https://intlpress.com/site/pub/files/_fulltext/journals/sii/2011/0004/0002/SII-2011-0004-0002-a001.pdf)
5. [Inference in TAR Models (Hansen, Studies in Nonlinear Dynamics & Econometrics, 1997)](https://scholar.lib.vt.edu/ejournals/SNDE/002/articles/v2n1001.pdf)
6. [Threshold Autoregressions (RATS software documentation)](https://www.estima.com/webhelp/topics/thresholdautoregressions.html)
7. [Testing for Linearity (Hansen, Journal of Economic Surveys 1999)](https://users.ssc.wisc.edu/~behansen/papers/jes_99.pdf)
8. [Threshold autoregressive model (Matilda, Utrecht University)](https://matilda.fss.uu.nl/articles/tar-model.html)
9. [Chapter 11 – Threshold Autoregression | Educated Guess](https://davidubilava.com/forecasting/docs/threshold-autoregression.html)
10. [On SETAR Non-linearity and Forecasting (Econometric Institute report)](https://repub.eur.nl/pub/1567/feweco19990331092909.pdf)
11. [The validity of bootstrap testing for threshold autoregression (Journal of Econometrics, 2024)](https://ideas.repec.org/a/eee/econom/v239y2024i1s0304407623000040.html)
12. [Estimate Threshold-Switching Dynamic Regression Models - MATLAB & Simulink](https://www.mathworks.com/help/econ/estimate-threshold-switching-dynamic-regression-models.html)
13. [mtarm: R package for Bayesian estimation of multivariate TAR models](https://github.com/lhvanegasp/mtarm)
14. [On the least squares estimation of multiple-regime threshold autoregressive models (Journal of Econometrics)](https://www.sciencedirect.com/science/article/abs/pii/S0304407611002685)
15. [Bayesian analysis of multiple thresholds autoregressive model (Pan, Xia, Liu)](https://strathprints.strath.ac.uk/57442/1/Pan_Xia_Liu_CS_2016_Bayesian_analysis_of_multiple_thresholds_autoregressive_model.pdf)
16. [Nonlinear Time Series Models (course notes, Eric Zivot)](https://faculty.washington.edu/ezivot/econ584/notes/nonlinear.pdf)
17. [Bayesian Analysis of Multivariate Threshold Autoregressive Models (mtarm)](https://arxiv.org/pdf/2503.04593)
18. [K. S. Chan, H. Tong (1986). ON ESTIMATING THRESHOLDS IN AUTOREGRESSIVE MODELS. Journal of Time Series Analysis.](https://doi.org/10.1111/j.1467-9892.1986.tb00501.x)
19. [Threshold Autoregressions with a Unit Root (Boston College working paper record)](https://ideas.repec.org/p/boc/bocoec/381.html)
20. [Threshold Autoregressive Model Using Smooth Transition Autoregressions (Hästenes working paper)](https://swopec.hhs.se/hastef/papers/hastef0578.pdf)
21. [Weighted forecasts from SETARs with single- and multiple thresholds (Statistical Methods & Applications, 2025)](https://link.springer.com/article/10.1007/s10260-025-00799-9)
22. [Bayesian Analysis for a Threshold Double Autoregressive Model With Explanatory Variables (Li, 2025, Stat)](https://onlinelibrary.wiley.com/doi/10.1002/sta4.70048)
23. [Threshold models for high-dimensional time series with network structure (Journal of Multivariate Analysis, 2025)](https://www.sciencedirect.com/science/article/abs/pii/S0047259X25001551)
24. [Inference in TAR Models, publisher page (Hansen, SNDE 1997)](https://users.ssc.wisc.edu/~bhansen/papers/snde_97.html)
25. [Warwick Economics Research Paper 464 (Clements) on TAR/SETAR and Markov switching](https://wrap-test.warwick.ac.uk/id/eprint/1667/1/WRAP_Clements_twerp_464.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Stochastic processes

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/threshold-autoregressive-model

English original: https://www.edgepedia.org/threshold-autoregressive-model
