# 德宾—沃森统计量

德宾—沃森统计量（Durbin–Watson statistic）是一种检验统计量，用于度量线性回归残差中的一阶自相关，其计算方式为相邻残差差分平方和与残差平方和之比。该统计量由德宾（Durbin）与沃森（Watson）提出，至今仍是时间序列回归中广泛报告的自相关诊断指标，不过有些软件需要单独的命令或选项才能显示它。<sup>[1](https://online.stat.psu.edu/stat501/book/export/html/998)</sup><sup> • </sup><sup>[2](https://casrai.org/guides/durbin-watson-test-autocorrelated-residuals)</sup>

| 关键事实 | 详情 |
|---|---|
| 公式 | \( d = \sum_{t=2}^{n}(e_t - e_{t-1})^2 \big/ \sum_{t=1}^{n} e_t^2 \)，由OLS残差计算<sup>[1](https://online.stat.psu.edu/stat501/book/export/html/998)</sup> |
| 取值范围与解读 | 0到4；0–2表示正自相关，2表示零自相关，2–4表示负自相关<sup>[1](https://online.stat.psu.edu/stat501/book/export/html/998)</sup> |
| 与AR(1)系数的联系 | \( d \approx 2(1 - \hat{\rho}) \)，故d = 1.6对应 \( \hat{\rho} \approx 0.2 \)<sup>[3](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)</sup> |
| 判定规则 | 若 \( d < d_L \) 则拒绝无自相关，若 \( d > d_U \) 则不能拒绝，若 \( d_L \le d \le d_U \) 则结论不确定<sup>[1](https://online.stat.psu.edu/stat501/book/export/html/998)</sup> |
| 标准表 | 萨文（Savin）与怀特（White，1977）将边界表扩展到6至200个观测、最多20个回归元的样本<sup>[4](https://www.econometricsociety.org/publications/econometrica/1977/11/01/durbin-watson-test-serial-correlation-extreme-sample-sizes-or)</sup> |
| 主要失效模式 | 当回归元中包含滞后因变量时，d偏向于2且功效降低；此时应改用德宾h检验和t检验或布罗施—戈弗雷检验<sup>[5](https://www.sfu.ca/sasdoc/sasdoc/ets/chap8/sect24.htm)</sup> |
| 伪回归警告 | 高R²伴随极低的d（已发表的例子：R² = 0.997而d = 0.53；R² = 0.99而d = 0.093）提示趋势序列上存在伪回归<sup>[6](https://gwern.net/doc/economics/1974-granger.pdf)</sup> |

## 该统计量度量什么

该统计量比较相邻残差。若误差为白噪声，d接近2。若残差呈长程连动（正自相关），相邻残差相似，分子缩小，d趋近0。若残差符号交替（负自相关），分子增大，d趋近4。<sup>[1](https://online.stat.psu.edu/stat501/book/export/html/998)</sup><sup> • </sup><sup>[7](https://pages.stern.nyu.edu/churvich/Forecasting/Handouts/DWTest.pdf)</sup>

该统计量只能粗略指示自相关。在AR(1)误差过程下，\( d \approx 2(1 - \hat{\rho}) \)，故取值1.6意味着 \( \hat{\rho} \approx 0.2 \)，取值0.5意味着 \( \hat{\rho} \approx 0.75 \)。这一近似映射只是粗略的参考。<sup>[3](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)</sup> 经验上，取值明显低于2、尤其低于1时，表明存在正自相关；当d超过2时，用 \( 4 - d \) 对照同一套表检验负自相关。<sup>[8](https://real-statistics.com/multiple-regression/autocorrelation/durbin-watson-test/)</sup>

## 检验如何进行

对于通常的正一阶自相关单侧检验，原假设为无正自相关（\( H_0: \rho \le 0 \)），备择假设为正自相关（\( H_1: \rho > 0 \)），因为大多数时间序列回归都呈现正自相关。<sup>[8](https://real-statistics.com/multiple-regression/autocorrelation/durbin-watson-test/)</sup>

**为什么有两个边界。** d的概率分布依赖于数据矩阵X，因此不存在适用于所有模型的单一临界值。<sup>[9](http://www.econometrics.com/intro/dwdist.htm)</sup> 德宾与沃森因此为临界值设定了下界与上界：\( d_L \) 是各种回归元配置下最坏情形的临界值，\( d_U \) 是最好情形的临界值。若 \( d < d_L \)，拒绝；若 \( d > d_U \)，不能拒绝；若 \( d_L \le d \le d_U \)，检验结论不确定，因为特定回归元矩阵的真实临界值落在两界之间某处。<sup>[1](https://online.stat.psu.edu/stat501/book/export/html/998)</sup><sup> • </sup><sup>[10](https://www.dm.unibo.it/~simoncin/Durbin_Watson_tables.pdf)</sup><sup> • </sup><sup>[3](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)</sup> 对于负自相关，用统计量 \( 4 - d \) 对照同一套表。<sup>[11](https://support.minitab.com/minitab/help-and-how-to/statistical-modeling/regression/supporting-topics/model-assumptions/test-for-autocorrelation-by-using-the-durbin-watson-statistic/)</sup>

## 具体数值

临界值随样本量和回归元个数k（不含常数项）而变化。不确定区域随k增大而变宽：<sup>[10](https://www.dm.unibo.it/~simoncin/Durbin_Watson_tables.pdf)</sup><sup> • </sup><sup>[12](https://www.casrilanka.com/casl/images/stories/2017/2017_pdfs/sab_portal/course_material/durbin_watson.pdf)</sup>

| n | k | dL (5%) | dU (5%) |
|---|---|---|---|
| 15 | 1 | 1.08 | 1.28 |
| 15 | 5 | 0.48 | 2.09 |
| 20 | 1 | 1.20 | 1.41 |
| 26 | 1 | 1.072 | 1.222 |
| 28 | 1 | 1.104 | 1.244 |

对于小样本（约50个观测以下），不确定区域可能宽到足以吞没合理的d值；超过100个观测后则迅速收窄。<sup>[3](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)</sup> 萨文—怀特表覆盖n从6到200、最多20个回归元的情形<sup>[4](https://www.econometricsociety.org/publications/econometrica/1977/11/01/durbin-watson-test-serial-correlation-extreme-sample-sizes-or)</sup>，扩展的表可达到n = 2000。<sup>[8](https://real-statistics.com/multiple-regression/autocorrelation/durbin-watson-test/)</sup>

**大样本。** 对于大n，d近似服从均值为2、方差为4/N的正态分布；当N = 500时，针对正自相关的5%单尾临界值为1.85。<sup>[9](http://www.econometrics.com/intro/dwdist.htm)</sup> 精确的模型特定临界值也可通过数值方法计算：在一个边界表值为[1.015, 1.536]的算例中，精确的5%临界值对正自相关为1.506，对负自相关为2.964。<sup>[9](http://www.econometrics.com/intro/dwdist.htm)</sup>

**算例。** 将每周股票超额收益对市场超额收益回归（k = 1，n = 52），得d = 2.05；在α = 0.05下边界为dL = 1.53、dU = 1.63，故d > dU，未发现自相关。将月度电力需求对气温和价格回归（k = 2，n = 60），得d = 1.58，边界为dL = 1.51、dU = 1.65，结论不确定，建议后续采用布罗施—戈弗雷检验。<sup>[13](https://statisticsfundamentals.com/tables/durbin-watson-table/)</sup>

## 假设与局限

传统检验假定回归含截距项、回归元非随机、时间观测无缺失，并检验一阶自相关；精确的小样本分布还假定误差服从正态分布。当回归不含常数项时，传统表不适用。<sup>[3](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)</sup><sup> • </sup><sup>[10](https://www.dm.unibo.it/~simoncin/Durbin_Watson_tables.pdf)</sup>

**动态模型。** 当回归元中出现滞后因变量时，一阶德宾—沃森统计量偏向2且功效降低，因而恰好在最可能存在自相关时拒绝不足。<sup>[5](https://www.sfu.ca/sasdoc/sasdoc/ets/chap8/sect24.htm)</sup><sup> • </sup><sup>[3](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)</sup> 德宾针对此情形提出了替代的h统计量和t统计量，二者渐近等价；t检验将OLS残差对解释变量加滞后因变量回归，并检验其系数的显著性。<sup>[5](https://www.sfu.ca/sasdoc/sasdoc/ets/chap8/sect24.htm)</sup> 马达拉（Maddala）与拉奥（Rao）以及帕克（Park）的模拟研究表明，这些替代检验即使在小样本上也显著优于不适用的德宾—沃森检验。<sup>[14](https://www.esaim-ps.org/articles/ps/pdf/2013/01/ps120005.pdf)</sup>

## 与其他检验的比较

**布罗施—戈弗雷。** 这一拉格朗日乘子检验由布罗施（Breusch）与戈弗雷（Godfrey）于1978年各自独立提出，没有不确定区域，通过辅助回归推广到高阶自相关，其 \( R^2 \times (n - p) \) 渐近服从卡方分布，且无论回归元是否包含因变量的滞后项都有效。<sup>[15](https://pjsor.com/pjsor/article/download/2691/1032/)</sup><sup> • </sup><sup>[2](https://casrai.org/guides/durbin-watson-test-autocorrelated-residuals)</sup> 一项对德宾—沃森、布罗施—戈弗雷、博克斯—皮尔斯（Box–Pierce）、扬—博克斯（Ljung–Box）和游程检验的蒙特卡洛比较发现，在不含滞后因变量的回归模型中德宾—沃森表现最佳，但其优势随自相关程度和样本量增大而缩小；含滞后因变量时，布罗施—戈弗雷总体更优，而德宾—沃森、博克斯—皮尔斯和扬—博克斯检验均不适用。<sup>[15](https://pjsor.com/pjsor/article/download/2691/1032/)</sup>

**扬—博克斯。** 扬—博克斯Q（混成）检验检查直到滞后k阶的自相关是否全为零；它同样在回归元含滞后因变量时不适用，海因德曼（Hyndman）与阿萨纳索普洛斯（Athanasopoulos，2013）建议其滞后阶数取 \( h = \max(10, n/5) \)。<sup>[15](https://pjsor.com/pjsor/article/download/2691/1032/)</sup>

**德宾h与t。** 当模型含滞后因变量时，它们仍是标准的替代方法。<sup>[2](https://casrai.org/guides/durbin-watson-test-autocorrelated-residuals)</sup> 然而，1986年《Econometric Theory》上一项使用小扰动渐近的研究发现，在该设定下，德宾—沃森检验本身比德宾的h检验和t检验都更有功效，且在原假设下表现更一致。<sup>[16](https://www.cambridge.org/core/journals/econometric-theory/article/abs/an-approximation-to-the-null-distribution-of-the-durbinwatson-statistic-in-models-containing-lagged-dependent-variables/A92DCF09B6F7BA75587CD911BF2E8021)</sup>

## 在软件中的使用

各软件报告的内容不同。R的`lmtest::dwtest()`同时返回统计量和直接计算的p值，使用法雷布罗瑟（Farebrother，1980，1984）的《Applied Statistics》算法AS 153的Fortran版本；对于非常大的样本该算法可能失败，此时会给出近似p值并附警告。<sup>[2](https://casrai.org/guides/durbin-watson-test-autocorrelated-residuals)</sup><sup> • </sup><sup>[17](https://search.r-project.org/CRAN/refmans/lmtest/html/dwtest.html)</sup> Stata的`estat dwatson`（在`regress`之后）和Python的`statsmodels`的`durbin_watson()`只打印统计量，需要手动查dL和dU；SPSS在“线性回归”对话框的“统计”下提供该统计量，[EViews](https://www.edgepedia.org/zh/eviews)在回归输出中自动显示，MATLAB的`dwtest`提供精确方法选项。<sup>[3](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)</sup><sup> • </sup><sup>[13](https://statisticsfundamentals.com/tables/durbin-watson-table/)</sup><sup> • </sup><sup>[18](https://www.mathworks.com/help/releases/R2024b/stats/linearmodel.dwtest.html)</sup> Minitab引导用户查阅0.05水平的萨文—怀特边界表。<sup>[11](https://support.minitab.com/minitab/help-and-how-to/statistical-modeling/regression/supporting-topics/model-assumptions/test-for-autocorrelation-by-using-the-durbin-watson-statistic/)</sup> 精确算法给出的p值是指在d的模型特定原假设分布下观测到至少同样极端统计量的概率；查表则是将d与dL和dU比较。

## 近期进展

一种新近的算法可在标准笔记本电脑上于不到一秒内计算出德宾—沃森临界值，即使样本量高达 \( 2 \times 10^{6} \)；该算法还表明，若干已发表的表列临界值不精确或内部不一致。<sup>[19](https://digitalcollection.zhaw.ch/entities/publication/b070e79d-c1fb-4a76-a822-dbb7fabfb18d/full)</sup>

**自助法替代。** R中`car`包的`durbinWatsonTest`计算广义德宾—沃森统计量并给出自助法p值，其做法或从观测残差中重抽样，或以回归标准误抽样正态分布误差。<sup>[20](https://rdrr.io/cran/car/man/durbinWatsonTest.html)</sup> 一项蒙特卡洛研究发现，自助法德宾—沃森检验大大优于原始检验和(a + b·dU)近似，而直接对估计的自相关系数做自助法在小样本性质上更佳。<sup>[21](https://www.sciencedirect.com/science/article/abs/pii/S0167947301000317)</sup> 尽管有这些替代方法，德宾—沃森仍是大多数软件默认报告的统计量，也是大多数审稿人期望看到引用的统计量。<sup>[2](https://casrai.org/guides/durbin-watson-test-autocorrelated-residuals)</sup>

## References

1. [T.2.3 – Testing and Remedial Measures for Autocorrelation, Penn State STAT 501](https://online.stat.psu.edu/stat501/book/export/html/998)
2. [Durbin-Watson Test for Autocorrelated Residuals, CASRAI practitioner guide](https://casrai.org/guides/durbin-watson-test-autocorrelated-residuals)
3. [Detecting Autocorrelation: Durbin-Watson and Beyond, Econometrics Tutor](https://econometricstutor.com/econometrics/autocorrelation/detection/overview/)
4. [Savin & White (1977), The Durbin-Watson Test for Serial Correlation with Extreme Sample Sizes or Many Regressors, Econometrica](https://www.econometricsociety.org/publications/econometrica/1977/11/01/durbin-watson-test-serial-correlation-extreme-sample-sizes-or)
5. [Generalized Durbin-Watson Tests, SAS/ETS documentation](https://www.sfu.ca/sasdoc/sasdoc/ets/chap8/sect24.htm)
6. [Granger & Newbold (1974), Spurious regressions in econometrics, Journal of Econometrics](https://gwern.net/doc/economics/1974-granger.pdf)
7. [The Durbin-Watson Test, NYU Stern handout](https://pages.stern.nyu.edu/churvich/Forecasting/Handouts/DWTest.pdf)
8. [Durbin-Watson Test, Real Statistics Using Excel](https://real-statistics.com/multiple-regression/autocorrelation/durbin-watson-test/)
9. [SHAZAM: The Durbin-Watson Distribution](http://www.econometrics.com/intro/dwdist.htm)
10. [Durbin-Watson tables (Savin–White style), University of Bologna](https://www.dm.unibo.it/~simoncin/Durbin_Watson_tables.pdf)
11. [Test for autocorrelation by using the Durbin-Watson statistic, Minitab](https://support.minitab.com/minitab/help-and-how-to/statistical-modeling/regression/supporting-topics/model-assumptions/test-for-autocorrelation-by-using-the-durbin-watson-statistic/)
12. [Critical Values of the Durbin-Watson Statistic (tables)](https://www.casrilanka.com/casl/images/stories/2017/2017_pdfs/sab_portal/course_material/durbin_watson.pdf)
13. [Durbin-Watson Table (Complete Critical Values Lookup Chart)](https://statisticsfundamentals.com/tables/durbin-watson-table/)
14. [A sharp analysis on the asymptotic behavior of the Durbin–Watson statistic, ESAIM: Probability and Statistics](https://www.esaim-ps.org/articles/ps/pdf/2013/01/ps120005.pdf)
15. [Power Comparisons of Five Most Commonly Used Autocorrelation Tests, Pakistan Journal of Statistics and Operation Research](https://pjsor.com/pjsor/article/download/2691/1032/)
16. [An Approximation to the Null Distribution of the Durbin-Watson Statistic in Models Containing Lagged Dependent Variables, Econometric Theory (1986)](https://www.cambridge.org/core/journals/econometric-theory/article/abs/an-approximation-to-the-null-distribution-of-the-durbinwatson-statistic-in-models-containing-lagged-dependent-variables/A92DCF09B6F7BA75587CD911BF2E8021)
17. [R: Durbin-Watson Test, lmtest::dwtest, CRAN](https://search.r-project.org/CRAN/refmans/lmtest/html/dwtest.html)
18. [MATLAB linearmodel.dwtest documentation (R2024b)](https://www.mathworks.com/help/releases/R2024b/stats/linearmodel.dwtest.html)
19. [On the calculation of critical values of the Durbin–Watson test, ZHAW](https://digitalcollection.zhaw.ch/entities/publication/b070e79d-c1fb-4a76-a822-dbb7fabfb18d/full)
20. [R car::durbinWatsonTest documentation](https://rdrr.io/cran/car/man/durbinWatsonTest.html)
21. [Jeong & Chung (2001), Bootstrap tests for autocorrelation, Computational Statistics & Data Analysis](https://www.sciencedirect.com/science/article/abs/pii/S0167947301000317)

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

Topic: 社会与历史 › 经济与商业 › 经济学 › Economic theory and methods › Econometrics and quantitative methods › Time-series econometrics

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/durbin-watson-statistic

English original: https://www.edgepedia.org/durbin-watson-statistic
