# 自回归滑动平均模型

自回归滑动平均模型，通常写作ARMA(p, q)，是一种用于平稳时间序列的统计模型，其中每个观测值被表示为自身p个过去值的加权和加上q个过去随机冲击或误差的加权和。它将自回归（AR）和滑动平均（MA）两个模型族合并为单一设定，是广泛使用的ARIMA预测模型族的平稳核心。<sup>[1](https://flora.insead.edu/fichiersti_wp/Inseadwp1995/95-33.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 模型形式 | \( x_t = \phi_1 x_{t-1} + \cdots + \phi_p x_{t-p} + e_t - \theta_1 e_{t-1} - \cdots - \theta_q e_{t-q} \)，结合了p个自回归项和q个滑动平均项<sup>[1](https://flora.insead.edu/fichiersti_wp/Inseadwp1995/95-33.pdf)</sup> |
| 起源 | AR模型由Yule于1926年提出；MA方案由Slutsky于1937年提出；Wold（1938）将二者结合，其Wold分解将协方差平稳过程表示为确定性分量加上预测误差的无穷滑动平均，但这并不表明每个平稳时间序列都具有有限阶ARMA表示<sup>[1](https://flora.insead.edu/fichiersti_wp/Inseadwp1995/95-33.pdf)</sup><sup> • </sup><sup>[17](https://faculty.wcas.northwestern.edu/lchrist/finc520/wold.pdf)</sup> |
| 首次一般性表述 | 一般ARMA模型由Peter Whittle在其1951年的论文《时间序列分析中的假设检验》中描述<sup>[2](https://www.tu-chemnitz.de/mathematik/fima/public/LecturesAndMaterials/Zeitreihen.pdf)</sup> |
| 推广普及 | Box和Jenkins（1970年，后续版本至1976年）提供了关于平稳性、通过自相关进行阶数识别、估计程序和残差诊断的实用指南<sup>[1](https://flora.insead.edu/fichiersti_wp/Inseadwp1995/95-33.pdf)</sup> |
| 平稳性条件 | 仅取决于AR部分，通过AR多项式的根来检验<sup>[3](https://ndl.ethernet.edu.et/bitstream/123456789/28722/1/Douglas%20C.%20Montgomery_2015.pdf)</sup> |
| 可逆性条件 | 仅取决于MA部分；可逆的MA过程可以改写为无穷阶自回归<sup>[3](https://ndl.ethernet.edu.et/bitstream/123456789/28722/1/Douglas%20C.%20Montgomery_2015.pdf)</sup><sup> • </sup><sup>[4](https://byuistats.github.io/timeseries/chapter_6_lesson_1.html)</sup> |
| 扩展 | 加入d阶差分得到ARIMA(p, d, q)模型，其服从相同的平稳性和可逆性条件<sup>[5](https://otexts.com/fpp3/arima.html)</sup> |

## 定义与模型方程

一个时间序列是ARMA(p, q)过程，如果它是平稳的并满足

\[ x_t = \mu + \phi_1 (x_{t-1} - \mu) + \cdots + \phi_p (x_{t-p} - \mu) + w_t + \theta_1 w_{t-1} + \cdots + \theta_q w_{t-q}, \]

其中\( \mu \)是序列的均值，\( \{w_t\} \)是均值为零、方差为\( \sigma_w^2 \)的白噪声。<sup>[6](https://stat153.berkeley.edu/spring-2026/arma-models-notes/)</sup>参数\( \phi_1, \ldots, \phi_p \)对过去观测值加权（自回归部分），\( \theta_1, \ldots, \theta_q \)对过去冲击加权（滑动平均部分）。用后移算子B可将模型紧凑地写为\( \phi(B)(x_t - \mu) = \theta(B) w_t \)，其中\( \phi(B) \)和\( \theta(B) \)分别是B的p阶和q阶多项式。<sup>[6](https://stat153.berkeley.edu/spring-2026/arma-models-notes/)</sup>

两个分量族是特例：ARMA(p, 0)即AR(p)模型，ARMA(0, q)即MA(q)模型。<sup>[6](https://stat153.berkeley.edu/spring-2026/arma-models-notes/)</sup>实际序列往往同时表现出自回归和滑动平均行为，同时捕捉两者的模型比单独任一模型能描述更丰富的依赖结构。<sup>[7](https://riskhub.org/frm-i/course-content/quantitative-analysis/stationary-time-series/autoregressive-moving-average-arma-processes-203)</sup>

## 平稳性与可逆性

**两个条件，各管一侧。** ARMA过程的平稳性由AR分量决定，通过相应AR多项式的根来检验；根必须位于单位圆之外。可逆性由MA分量决定，同样通过MA多项式的根来检验。<sup>[3](https://ndl.ethernet.edu.et/bitstream/123456789/28722/1/Douglas%20C.%20Montgomery_2015.pdf)</sup>一个MA过程若可表示为无误差项的无穷阶平稳自回归过程，则称为可逆的；对于MA(1)过程\( x_t = (1 - \beta B) w_t \)，该改写仅在\( |\beta| < 1 \)时收敛。<sup>[4](https://byuistats.github.io/timeseries/chapter_6_lesson_1.html)</sup>

可逆性并非无的放矢的统计讲究。自回归过程必然可逆，但滑动平均过程按构造就是平稳的，因为它是白噪声项的有限和；必须施加可逆性条件，才能使特定的自相关结构对应唯一的MA模型。<sup>[8](https://egyankosh.ac.in/bitstream/123456789/97976/3/Block-3.pdf)</sup>还可以证明，只有一组参数值能产生具有给定自相关函数的可逆MA过程。<sup>[9](https://faculty.ksu.edu.sa/sites/default/files/time_series_analysis_with_applications_in_r_2nd.pdf)</sup>一般的ARMA(p, q)模型要求同时满足平稳性和可逆性。<sup>[9](https://faculty.ksu.edu.sa/sites/default/files/time_series_analysis_with_applications_in_r_2nd.pdf)</sup>

## 基于自相关的识别

自相关函数（ACF）和偏自相关函数（PACF）是选择p和q的经典工具。对于MA(q)过程，ACF在滞后q之后突然截断，因为相隔超过q的观测值是白噪声的独立加权和，协方差为零。对于AR(p)过程，PACF在滞后p之后截断，而ACF逐渐衰减。<sup>[4](https://byuistats.github.io/timeseries/chapter_6_lesson_1.html)</sup>ARMA(p, q)模型的ACF表现为指数衰减、呈指数衰减的正弦波，或逐渐衰减而非突然截断。<sup>[10](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nbsspecialpublication500-123.pdf)</sup><sup> • </sup><sup>[18](https://www.mathworks.com/help/econ/autocorrelation-and-partial-autocorrelation.html)</sup>

## Box-Jenkins方法

Wold的理论结果直到20世纪60年代中期才能应用于实际数据，当时能够进行所需参数非线性优化的计算机变得可用且经济。Box和Jenkins在《时间序列分析：预测与控制》（1970年，1976年再版）中推广了ARMA建模，提供了使序列在均值和方差上平稳的指南，推荐用自相关系数和偏自相关系数确定p和q（及其季节对应量P和Q），提供了用于识别和估计的计算机程序，并提出了一种诊断检验：若残差表现为白噪声则接受模型，否则尝试另一个模型并重复该循环。<sup>[1](https://flora.insead.edu/fichiersti_wp/Inseadwp1995/95-33.pdf)</sup>他们的方法将模型构建分为三个阶段：模型识别、参数估计和模型验证。<sup>[11](https://pure.iiasa.ac.at/id/eprint/2215/?template=default_internal)</sup>

实际拟合流程仍遵循这一框架：绘制数据图，必要时变换以稳定方差，差分至序列平稳，检查ACF和PACF，拟合候选模型并用AICc比较，在预测前检查残差是否表现为白噪声。<sup>[12](https://otexts.com/fpp3/arima-r.html)</sup>

## ARIMA及相关扩展

在ARMA结构中加入差分得到ARIMA(p, d, q)模型，即自回归积分滑动平均模型的缩写，其中“积分”是差分的逆运算，d是所施加的差分阶数。<sup>[5](https://otexts.com/fpp3/arima.html)</sup>用于AR和MA模型的相同平稳性和可逆性条件适用于ARIMA。<sup>[5](https://otexts.com/fpp3/arima.html)</sup>季节版本加入季节AR和MA阶数，而带ARIMA误差的回归模型允许外部预测变量与时间序列动态相结合。<sup>[13](https://otexts.com/fpp3/dynamic.html)</sup>

ARIMA与指数平滑有重叠但互不包含：线性指数平滑模型都是ARIMA模型的特例，而非线性指数平滑模型没有ARIMA对应物，许多ARIMA模型也没有指数平滑对应物。<sup>[14](https://otexts.com/fpp3/arima-ets.html)</sup>

## 使用与局限

ARMA和ARIMA模型仍是软件中的标准工具：Python的statsmodels库通过其ARIMA和SARIMAX类，使用卡尔曼滤波以精确或条件最大似然或条件最小二乘法拟合它们。<sup>[15](https://www.statsmodels.org/stable/tsa)</sup>它们被用于预测工作量需求和经济序列，也用于季节调整程序。<sup>[10](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nbsspecialpublication500-123.pdf)</sup>

其预测建立在拟合结构在预测期内保持不变的假设之上。<sup>[1](https://flora.insead.edu/fichiersti_wp/Inseadwp1995/95-33.pdf)</sup>ARIMA模型的预测区间往往过窄，因为它们考虑了误差的变异但未考虑参数估计或所选模型阶数的变异，且假设历史模式将会延续。<sup>[16](https://otexts.com/fpptr/arima-forecasting.html)</sup>对于平稳模型（d = 0），区间随预测步长收敛，而对于d至少为1的情况，区间持续增大。<sup>[16](https://otexts.com/fpptr/arima-forecasting.html)</sup>

## References

1. [Spyros Makridakis and Michèle Hibon. ARMA Models and the Box-Jenkins Methodology. INSEAD working paper 95-33.](https://flora.insead.edu/fichiersti_wp/Inseadwp1995/95-33.pdf)
2. [Time Series lecture notes, TU Chemnitz (on Whittle's 1951 thesis and the Box-Jenkins book).](https://www.tu-chemnitz.de/mathematik/fima/public/LecturesAndMaterials/Zeitreihen.pdf)
3. [Douglas C. Montgomery et al., Introduction to Time Series Analysis and Forecasting, section on mixed autoregressive-moving average processes.](https://ndl.ethernet.edu.et/bitstream/123456789/28722/1/Douglas%20C.%20Montgomery_2015.pdf)
4. [Moving Average (MA) Models, BYU-Idaho Time Series course notes.](https://byuistats.github.io/timeseries/chapter_6_lesson_1.html)
5. [Rob J. Hyndman and George Athanasopoulos, Forecasting: Principles and Practice, 3rd ed., Chapter 9, ARIMA models.](https://otexts.com/fpp3/arima.html)
6. [Lecture 17 Notes, ARMA Models, Stat 153/248, UC Berkeley.](https://stat153.berkeley.edu/spring-2026/arma-models-notes/)
7. [Autoregressive Moving Average (ARMA) Processes, Risk Hub quantitative analysis notes.](https://riskhub.org/frm-i/course-content/quantitative-analysis/stationary-time-series/autoregressive-moving-average-arma-processes-203)
8. [Time Series Analysis, Block 3, e-PG Pathshala / egyankosh course material.](https://egyankosh.ac.in/bitstream/123456789/97976/3/Block-3.pdf)
9. [Jonathan Cryer and Kung-Sik Chan, Time Series Analysis with Applications in R, 2nd ed., chapter on models for stationary time series.](https://faculty.ksu.edu.sa/sites/default/files/time_series_analysis_with_applications_in_r_2nd.pdf)
10. [Guide on Workload Forecasting, NIST Special Publication 500-123.](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nbsspecialpublication500-123.pdf)
11. [Spectral Methods in the Identification of Time Series, IIAS publication.](https://pure.iiasa.ac.at/id/eprint/2215/?template=default_internal)
12. [Forecasting: Principles and Practice, 3rd ed., ARIMA modelling procedure.](https://otexts.com/fpp3/arima-r.html)
13. [Forecasting: Principles and Practice, 3rd ed., Chapter 10, Dynamic regression models.](https://otexts.com/fpp3/dynamic.html)
14. [Forecasting: Principles and Practice, 3rd ed., Section 9.10, ARIMA vs ETS.](https://otexts.com/fpp3/arima-ets.html)
15. [statsmodels Time Series analysis (tsa) documentation.](https://www.statsmodels.org/stable/tsa)
16. [Forecasting: Principles and Practice, Section 9.8, Forecasting with ARIMA models.](https://otexts.com/fpptr/arima-forecasting.html)
17. [wold.dvi](https://faculty.wcas.northwestern.edu/lchrist/finc520/wold.pdf)
18. [Autocorrelation and Partial Autocorrelation, mathworks.com](https://www.mathworks.com/help/econ/autocorrelation-and-partial-autocorrelation.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Stochastic processes › Process theorems, ergodicity, and reversibility

Copyright 2026 Edgepedia

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

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

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