# 平稳过程

平稳过程是这样一种随机过程：当过程在时间上平移时，其概率规律不发生变化——它的任意一组取值的联合分布只取决于这些时刻彼此相隔多远，而不取决于它们在时间轴上的位置。仅凭平稳性，并不能保证单个观测到的时间序列能代表生成它的过程，也不能保证普通最小二乘回归有效<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup><sup> • </sup><sup>[2](https://jrenne.github.io/TimeSeries_Bookdown/NonStat.html)</sup>。大多数商业和经济时间序列在其原始单位下是非平稳的，因此应用时间序列分析的一大部分工作，就是检验平稳性并对数据进行变换，直到某种近似平稳成立<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc442.htm)</sup><sup> • </sup><sup>[22](https://people.duke.edu/~rnau/411diff.htm)</sup>。

| 关键事实 | 细节 |
|---|---|
| 严平稳 | 对每个容许平移 \( h \)，\( (X_{t_1}, \ldots, X_{t_n}) \) 的所有有限维分布都等于 \( (X_{t_1+h}, \ldots, X_{t_n+h}) \) 的相应分布<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup> |
| 弱平稳 | 二阶矩有限、均值为常数，且自协方差 \( \gamma(h) = \mathrm{Cov}(X_t, X_{t+h}) \) 只依赖于滞后 \( h \)<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup> |
| 蕴含逻辑 | 二阶矩有限的严平稳蕴含弱平稳；反之一般不成立，但对高斯过程成立<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup> |
| 平稳基线 | 白噪声：均值为常数0、方差为常数 \( \sigma^2 \)、所有非零滞后上的自相关为零<sup>[4](https://qiushiyan.github.io/fpp/univariate-stationary-processes.html)</sup> |
| 典型非平稳 | 单位根过程的特征方程有一个根落在单位圆上，因此其均值、方差或协方差随时间增长<sup>[5](https://www.mathworks.com/help/econ/stationary-stochastic-process.html)</sup> |
| 单整阶数 | 达到平稳所需的最少差分次数；平稳序列为I(0)，一阶差分后平稳的序列为I(1)<sup>[6](https://e-web.sgh.waw.pl/jmuck/AAE/AdvancedAppliedEconometrics7.pdf)</sup> |
| 主要检验 | 迪基-富勒（Dickey–Fuller）检验与增广迪基-富勒（augmented Dickey–Fuller）检验（原假设为单位根）；KPSS检验（原假设为平稳，拉格朗日乘数统计量）<sup>[2](https://jrenne.github.io/TimeSeries_Bookdown/NonStat.html)</sup><sup> • </sup><sup>[7](https://bashtage.github.io/kevinsheppard.com/files/teaching/mfe/notes/chapter-4.pdf)</sup> |
| 已知检验弱点 | 对自回归系数接近1的高度持久平稳过程，ADF、PP和KPSS检验的功效很低<sup>[8](https://doi.org/10.13189/ms.2022.100324)</sup> |

## 严平稳与弱平稳

**严平稳**是关于分布的陈述。当随机向量 \( (X_{t_1}, \ldots, X_{t_n}) \) 与 \( (X_{t_1+h}, \ldots, X_{t_n+h}) \) 对每个 \( n \)、每个容许的时间集合以及每个平移 \( h \) 都具有相同分布时，该过程就是严平稳的<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup><sup> • </sup><sup>[9](https://math.nyu.edu/~varadhan/course/PROB.ch6.pdf)</sup>。联合分布是关键对象，因为它承载了全部信息：严平稳蕴含任何存在的矩——包括存在时的均值和方差——都是时不变的<sup>[10](https://iris.unive.it/retrieve/2b4adaf3-8205-40bd-86d6-b94e942e036e/Introduction_to_Econometric_Time_Series_v2.1.pdf)</sup>。

**弱平稳**把注意力限制在前两阶矩上。它要求二阶矩有限、均值 \( m \) 为常数，并且自协方差函数 \( \gamma(h) = \mathrm{Cov}(X_t, X_{t+h}) \) 只依赖于滞后 \( h \)；此时自相关为 \( \rho(h) = \gamma(h)/\gamma(0) \)<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup>。等价地，对所有平移 \( k \ge 0 \)，有 \( \mathrm{Cov}(X_s, X_t) = \mathrm{Cov}(X_{s+k}, X_{t+k}) \)<sup>[11](https://jeanmariedufour.github.io/ResE/Dufour_2016_C_TS_Stochastic_processes_Basic_notions.pdf)</sup>。在 \( s = t \) 处，协方差平稳自动推出方差平稳<sup>[4](https://qiushiyan.github.io/fpp/univariate-stationary-processes.html)</sup>。

宽平稳、二阶平稳和弱平稳这几个术语可以互换使用，指的都是这种基于矩的条件<sup>[12](https://math.umd.edu/~bnk/chTHREE.STAT705.pdf)</sup>。若无额外限定，两种平稳性互不蕴含。二阶矩有限的严平稳过程是弱平稳的，但仅凭严平稳并不能推出弱平稳，因为所需的矩可能不存在；弱平稳也不能推出严平稳，因为时不变的第二阶矩并不能保证完整分布不变<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup><sup> • </sup><sup>[13](https://jiajing-sun.com/files/advanced-time-series-2026/lecture-01-slides.pdf)</sup>。

**高斯过程**弥合了这一差距。高斯分布完全由均值和协方差刻画，因此弱平稳的高斯过程也是严平稳的<sup>[1](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)</sup><sup> • </sup><sup>[14](https://bookdown.org/jkang37/stochastic-process-lecture-notes/lecture02.html)</sup>。对平稳高斯过程而言，遍历性（度量传递性）成立当且仅当谱函数 \( F(\lambda) \) 连续<sup>[15](https://encyclopediaofmath.org/wiki/Stationary_stochastic_process)</sup>。有些教材约定“平稳”指严平稳加上二阶矩存在<sup>[12](https://math.umd.edu/~bnk/chTHREE.STAT705.pdf)</sup>。

## 典型过程与平稳边界

白噪声是平稳基线：均值为常数0、方差为常数 \( \sigma^2 \)，且所有非零滞后上的自相关为零<sup>[4](https://qiushiyan.github.io/fpp/univariate-stationary-processes.html)</sup>。另一边界则是单位根过程：当线性时间序列模型的特征方程的解集中含有落在单位圆上的根时，该模型就是单位根过程，这会使其期望值、方差或协方差随时间增长<sup>[5](https://www.mathworks.com/help/econ/stationary-stochastic-process.html)</sup>。

\( d \) 阶单整过程是指经过 \( d \) 次差分后变为平稳（通常是二阶平稳）的过程，其中 \( d \) 为非负整数<sup>[11](https://jeanmariedufour.github.io/ResE/Dufour_2016_C_TS_Stochastic_processes_Basic_notions.pdf)</sup>。因此，单整阶数就是获得平稳序列所需的最少差分次数：平稳序列为I(0)，一阶差分后平稳的序列为I(1)<sup>[6](https://e-web.sgh.waw.pl/jmuck/AAE/AdvancedAppliedEconometrics7.pdf)</sup>。差分之所以有效，是因为它移除了单位根所携带的随机趋势<sup>[7](https://bashtage.github.io/kevinsheppard.com/files/teaching/mfe/notes/chapter-4.pdf)</sup>。

## 平稳性、遍历性与混合性

平稳性和遍历性是不同的性质，却常被混淆：每个遍历过程都是平稳的，但平稳过程未必遍历<sup>[10](https://iris.unive.it/retrieve/2b4adaf3-8205-40bd-86d6-b94e942e036e/Introduction_to_Econometric_Time_Series_v2.1.pdf)</sup>。遍历性一般并不蕴含渐近独立：从遍历过程中相隔很久取出的样本，未必表现得像独立样本<sup>[7](https://bashtage.github.io/kevinsheppard.com/files/teaching/mfe/notes/chapter-4.pdf)</sup>。形式上，当一个平稳过程的不变σ代数为平凡时，它就是遍历的，也就是说每个平移不变事件的概率为零或一<sup>[16](https://www.stat.umn.edu/geyer/8112/notes/stationary.pdf)</sup>。

实际关键在于时间平均与集合平均的等价性。伯克霍夫-欣钦（Birkhoff–Khinchin）遍历定理是关于严平稳过程的最重要的一般定理，它指出：若期望有限，则时间平均几乎必然收敛到一个极限 \( \widehat{X} \)<sup>[15](https://encyclopediaofmath.org/wiki/Stationary_stochastic_process)</sup>；对遍历的严平稳过程，该极限为 \( E(X_1) \)<sup>[16](https://www.stat.umn.edu/geyer/8112/notes/stationary.pdf)</sup>。对弱平稳过程，相应的收敛在均方意义下成立；对满足 \( E|X_1| < \infty \) 的强平稳过程，则几乎必然成立<sup>[14](https://bookdown.org/jkang37/stochastic-process-lecture-notes/lecture02.html)</sup>。一个平稳但非遍历的过程会使这种推断失效：单个实现只采样到过程可能行为的一部分，因此其时间平均未必能揭示集合均值。一般而言，平稳过程的遍历性没有简单的充要条件<sup>[15](https://encyclopediaofmath.org/wiki/Stationary_stochastic_process)</sup>。

## 检测与检验非平稳性

迪基-富勒检验和增广迪基-富勒检验是单位根的标准检验<sup>[7](https://bashtage.github.io/kevinsheppard.com/files/teaching/mfe/notes/chapter-4.pdf)</sup>。它们的原假设是 \( \phi = 1 \)，即单位根，也就是非平稳<sup>[2](https://jrenne.github.io/TimeSeries_Bookdown/NonStat.html)</sup>。1992年提出的KPSS检验反转了检验设定：其统计量是含随机游走成分的模型中 \( \sigma_\eta^2 = 0 \) 的拉格朗日乘数统计量，原假设为平稳，备择假设为差分平稳；原论文用蒙特卡洛（Monte Carlo）在纳尔逊-普洛瑟（Nelson–Plosser）数据集上评估了有限样本水平和功效<sup>[2](https://jrenne.github.io/TimeSeries_Bookdown/NonStat.html)</sup><sup> • </sup><sup>[17](https://www.sciencedirect.com/science/article/abs/pii/030440769290104Y)</sup>。从应用角度看，KPSS的p值很小，例如低于0.05，提示需要差分<sup>[18](https://otexts.robjhyndman.com/fpp3/stationarity.html)</sup>。

这些检验有已有记录的弱点。一项对16种平稳性检验的蒙特卡洛研究发现，在各检验适用范围之外，统计功效很低，并得出结论：总体而言，不存在能检测非平稳时间序列的有效单一检验<sup>[8](https://doi.org/10.13189/ms.2022.100324)</sup>。对自回归系数接近1的高度持久平稳过程，ADF、PP和KPSS检验的功效很低；迪基-富勒族检验无法检测负单位根以及均值、方差和自相关中的断点<sup>[8](https://doi.org/10.13189/ms.2022.100324)</sup>。平稳性检验和变点检验也经常把平稳序列误判为非平稳，不过样本量越大、趋势或断点变化越大，检测效果越好<sup>[8](https://doi.org/10.13189/ms.2022.100324)</sup>。

以平稳为原假设的一侧也有其结构性问题。对高度自相关序列应用KPSS类检验时，即便序列均值回复很强，也可能无法控制检验水平；或者对单整过程不具有一致性；其表现强烈依赖于所用的长期方差估计量<sup>[19](https://www.princeton.edu/~umueller/stationtestP.pdf)</sup>。当原假设模型高度持久时，KPSS和莱伯恩-麦凯布（Leybourne–McCabe）检验的常规渐近临界值可能造成严重的水平扭曲；有限样本临界值可以减小以平稳为原假设的检验的水平扭曲，尽管这可能以降低原始功效为代价<sup>[20](https://ideas.repec.org/p/zbw/zeiwps/b121999.html)</sup>。离群值使困难加剧：它们会使单位根检验的估计产生偏误，导致错误的平稳性结论；一种提出的离群值检测补救方法仅对I(1)序列有效<sup>[21](https://link.springer.com/article/10.1007/s10614-025-11036-6)</sup>。

## 在实践中实现平稳

操作上，平稳序列是指其均值、方差和自相关结构不随时间变化的序列，通常可识别为方差恒定的“看起来平坦”的序列<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc442.htm)</sup>。美国国家标准与技术研究院（NIST）列出了三种处理非平稳性的补救措施：对连续观测差分（\( Y_i = Z_i - Z_{i-1} \)）、拟合并剔除趋势曲线，以及通过变换稳定非常数方差<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc442.htm)</sup>。对数变换可稳定方差，而差分可稳定均值<sup>[18](https://otexts.robjhyndman.com/fpp3/stationarity.html)</sup>。

去趋势与差分之间的选择是实质性的，而非表面修饰。去趋势剔除确定性趋势，差分剔除随机趋势；对单位根过程去趋势不能消除其永久成分<sup>[7](https://bashtage.github.io/kevinsheppard.com/files/teaching/mfe/notes/chapter-4.pdf)</sup>。具有稳定长期趋势、受扰动后会回复的序列是趋势平稳的，通过去趋势实现平稳；而一个即使水平统计量不恒定、但其变化的统计量恒定的序列是差分平稳的；当二者难以区分时使用单位根检验<sup>[22](https://people.duke.edu/~rnau/411diff.htm)</sup>。这一区分很重要，因为趋势平稳序列和差分平稳序列会导致不同的预测和对冲击的不同响应<sup>[13](https://jiajing-sun.com/files/advanced-time-series-2026/lecture-01-slides.pdf)</sup>。

**差分多少次。** 实践中几乎从不需要超过二阶差分，差分次数超过所需会引入虚假动态或自相关<sup>[18](https://otexts.robjhyndman.com/fpp3/stationarity.html)</sup>。季节性虽然违反平稳性，通常被显式纳入模型，而不是通过变换剔除；除此之外，通常一次普通差分就足够<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc442.htm)</sup>。同时应用季节差分和一阶差分时，顺序无关紧要；但存在强季节模式时，建议先做季节差分<sup>[23](https://otexts.com/fpp2/stationarity.html)</sup>。nsdiffs启发式建议：当季节强度 \( F_S \) 至少为0.64时做一次季节差分，低于该阈值则不做<sup>[18](https://otexts.robjhyndman.com/fpp3/stationarity.html)</sup>。

## 数字一览

模拟证据量化了标准工具包有多脆弱。在包含16种检验的蒙特卡洛研究中，各检验在其预期适用范围之外功效很低，平稳序列被误判为非平稳的情况频繁发生，只有样本量更大、趋势或断点幅度更大时表现才改善<sup>[8](https://doi.org/10.13189/ms.2022.100324)</sup>。对KPSS而言，在序列相关扰动下，有限样本临界值可以减小水平扭曲，但更好的水平控制的代价是原始功效更低<sup>[24](https://onlinelibrary.wiley.com/doi/10.1111/j.1468-0084.2010.00620.x)</sup>。0.64的季节强度阈值为季节差分提供了一个具体、可复现的决策规则<sup>[18](https://otexts.robjhyndman.com/fpp3/stationarity.html)</sup>。

## 扩展与近期进展

**谱理论。** 宽平稳过程可谱分解为具有随机振幅和相位的互不相关谐波振荡的叠加；函数 \( f(\lambda) \) 常称为能量谱或功率谱<sup>[15](https://encyclopediaofmath.org/wiki/Stationary_stochastic_process)</sup>。弱平稳过程的协方差函数是谱分布的特征函数，谱密度与协方差函数通过傅里叶（Fourier）变换一一对应<sup>[14](https://bookdown.org/jkang37/stochastic-process-lecture-notes/lecture02.html)</sup>。

**2023年以来的实践。** 近期工作不再依赖单一的二元判定。一个2026年的Python工具包运行10种平稳性检验，分为趋势（4种）、方差（4种）和季节性（2种）类别，理由是不同检验检测不同类型的非平稳性，如结构断点、确定性趋势、聚集方差和季节性；它建议针对类型采取补救措施：单位根用差分，确定性趋势用去趋势，方差不稳定用Box-Cox变换，周期模式用季节差分；并在仅常数和常数加趋势两种设定下运行ADF、KPSS和菲利普斯-佩龙（Phillips–Perron）检验<sup>[25](https://arxiv.org/html/2604.08676v1)</sup>。在分数单整前沿，一项2026年的检验使用样本均值、样本方差和低傅里叶频率来区分平稳行为与分数（\( d \ge 1/2 \)）或确定性非平稳，而无需估计记忆参数 \( d \)；\( d = 1/2 \) 标志着1/f噪声“恰好非平稳”的边界<sup>[26](https://arxiv.org/html/2605.28339v1)</sup>。

## References

1. [Stationary Time Series, Statistics LibreTexts (Aue, Time Series Analysis)](https://stats.libretexts.org/Bookshelves/Advanced_Statistics/Time_Series_Analysis_(Aue)/1%3A_Basic_Concepts_in_Time_Series/1.2%3A_Stationary_Time_Series)
2. [Chapter 5 Non-stationary processes, Introduction to Time Series (bookdown)](https://jrenne.github.io/TimeSeries_Bookdown/NonStat.html)
3. [NIST/SEMATECH e-Handbook of Statistical Methods, §6.4.4.2 Stationarity](https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc442.htm)
4. [Chapter 9 Univariate stationary processes, notes for Forecasting: Principles and Practice, 3rd ed.](https://qiushiyan.github.io/fpp/univariate-stationary-processes.html)
5. [Stochastic Process Characteristics, MATLAB & Simulink, MathWorks](https://www.mathworks.com/help/econ/stationary-stochastic-process.html)
6. [Time series: Stationarity, spurious regression and cointegration, SGH Warsaw lecture notes](https://e-web.sgh.waw.pl/jmuck/AAE/AdvancedAppliedEconometrics7.pdf)
7. [Analysis of a Single Time Series, Kevin Sheppard, MFE notes, Chapter 4](https://bashtage.github.io/kevinsheppard.com/files/teaching/mfe/notes/chapter-4.pdf)
8. [Simulation-Based Assessment of the Effectiveness of Tests for Stationarity](https://doi.org/10.13189/ms.2022.100324)
9. [Stationary Stochastic Processes, S. R. S. Varadhan course notes, NYU](https://math.nyu.edu/~varadhan/course/PROB.ch6.pdf)
10. [Introduction to Econometric Time Series, Università Ca' Foscari Venezia](https://iris.unive.it/retrieve/2b4adaf3-8205-40bd-86d6-b94e942e036e/Introduction_to_Econometric_Time_Series_v2.1.pdf)
11. [Stochastic processes: basic notions, J.-M. Dufour](https://jeanmariedufour.github.io/ResE/Dufour_2016_C_TS_Stochastic_processes_Basic_notions.pdf)
12. [Stationary Processes chapter, UMD STAT 705](https://math.umd.edu/~bnk/chTHREE.STAT705.pdf)
13. [Lecture 1, Foundations of Univariate Time Series, Jiajing Sun](https://jiajing-sun.com/files/advanced-time-series-2026/lecture-01-slides.pdf)
14. [Chapter 2: Stationarity, Spectral Theorem, Ergodic Theorem, STAT 243 lecture notes](https://bookdown.org/jkang37/stochastic-process-lecture-notes/lecture02.html)
15. [Stationary stochastic process, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Stationary_stochastic_process)
16. [Stat 8112 Lecture Notes: Stationary Stochastic Processes, C. J. Geyer, University of Minnesota](https://www.stat.umn.edu/geyer/8112/notes/stationary.pdf)
17. [Kwiatkowski, Phillips, Schmidt, Shin (1992). Testing the null hypothesis of stationarity against the alternative of a unit root. Journal of Econometrics.](https://www.sciencedirect.com/science/article/abs/pii/030440769290104Y)
18. [Stationarity and differencing, Forecasting: Principles and Practice, 3rd ed., Hyndman & Athanasopoulos](https://otexts.robjhyndman.com/fpp3/stationarity.html)
19. [Size and power of tests of stationarity under local-to-unity alternatives, Journal of Econometrics](https://www.princeton.edu/~umueller/stationtestP.pdf)
20. [Hobijn, Franses, Ooms. Size distortions of tests of the null hypothesis of stationarity](https://ideas.repec.org/p/zbw/zeiwps/b121999.html)
21. [Outlier Detection in Non-stationary Processes, Computational Economics (2025)](https://link.springer.com/article/10.1007/s10614-025-11036-6)
22. [Stationarity and differencing of time series data, Robert Nau, Duke University](https://people.duke.edu/~rnau/411diff.htm)
23. [Forecasting: Principles and Practice, 2nd ed., Section 8.1](https://otexts.com/fpp2/stationarity.html)
24. [Testing Stationarity in Small- and Medium-Sized Samples when Disturbances are Serially Correlated, Oxford Bulletin of Economics and Statistics](https://onlinelibrary.wiley.com/doi/10.1111/j.1468-0084.2010.00620.x)
25. [StationarityToolkit: Comprehensive Time Series Stationarity Analysis in Python, arXiv](https://arxiv.org/html/2604.08676v1)
26. [From nonstationarity to stationarity via 1/f noise, arXiv](https://arxiv.org/html/2605.28339v1)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; 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/stationary-process

English original: https://www.edgepedia.org/stationary-process
