- Introduced by
- James Durbin & Geoffrey Watson
- Year
- 1950
- Type
- Test for first-order residual autocorrelation
What does it do?
The Durbin-Watson test, developed by James Durbin and Geoffrey Watson in 1950–1951, checks the residuals of a linear regression for first-order serial correlation.
Its statistic runs from 0 to 4: values near 2 indicate no first-order autocorrelation, values toward 0 indicate positive autocorrelation, and values toward 4 indicate negative autocorrelation. Its exact distribution depends on the regressors, so the test relies on tabulated bounds and can return an inconclusive result.
The intuition behind the method
Ordinary least squares assumes the errors are independent draws. When observations are ordered in time, a positive error often follows a positive error, so the residuals are correlated. With positive autocorrelation and typical regressors, conventional OLS standard errors tend to understate the true variability, which overstates significance. The Durbin-Watson statistic compares each residual with the one before it. If successive residuals are similar, the squared differences are small and the statistic falls below 2. If they tend to alternate in sign, the differences are large and the statistic rises above 2. A value near 2 means neighbouring residuals are essentially unrelated at lag one.
History
Durbin and Watson introduced the statistic in two Biometrika papers, published in 1950 and 1951, which also developed the lower and upper bounds needed because the exact distribution depends on the regressors. The statistic is widely reported in regression output. Its restrictions, including the inconclusive region, the first-order focus, and invalidity with lagged dependent variables, led to later tests. These include Durbin's h statistic for lagged dependent variables and the Breusch-Godfrey test, which are preferred when those restrictions matter.
When to use it
Use the Durbin-Watson test as a quick first check for first-order autocorrelation in the residuals of a time-ordered OLS regression. The test is derived for a model with an intercept, regressors that are fixed or strictly exogenous, and normally distributed errors, and it requires a sample of at least 15 observations. It is a reasonable first diagnostic when reading regression output. Do not rely on it when the model includes a lagged dependent variable, because the statistic is biased toward 2 in that case and will tend to miss autocorrelation. Its bounds also leave an inconclusive region, and it only targets first-order correlation. When higher-order autocorrelation is plausible, or when a decision without an inconclusive region is needed, the Breusch-Godfrey test is the better choice. For a model with a lagged dependent variable, Durbin's h statistic is the standard alternative.
Limitations and considerations
- Detects only first-order autocorrelation and so can miss higher-order or seasonal serial correlation.
- The bounds procedure has an inconclusive region in which no decision is made.
- Biased toward 2 when the model contains a lagged dependent variable, so it is not valid in that setting.
- The bounds are derived under an intercept, fixed or strictly exogenous regressors and normally distributed errors. They do not hold when these assumptions fail.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Simple to compute, and reported by many regression routines alongside the coefficient estimates.
- Easy to read: values near 2 suggest no first-order autocorrelation, values below 2 suggest positive autocorrelation, and values above 2 suggest negative autocorrelation.
- Useful as a first-pass check on residuals ordered in time.
- Tabulated bounds allow a decision without simulating the exact null distribution.
Applications
- Screening OLS residuals from time-ordered regressions for first-order autocorrelation. In panel models, the statistic applied to pooled or demeaned residuals ignores the panel structure, so it should not be read as a full panel test; a panel-appropriate serial-correlation test is needed.
- An immediate diagnostic when interpreting standard regression output.
- Flagging when autocorrelation-robust (HAC-type) standard errors or an autoregressive error correction may be needed.
- Teaching the consequences of correlated errors in introductory econometrics.
How it works
How it works
The test posits a first-order autoregressive structure for the regression errors, uₜ = ρ·uₜ₋₁ + εₜ, and tests the null hypothesis ρ = 0 (no first-order autocorrelation). The alternatives are positive or negative autocorrelation. The test is applied to the residuals from an OLS fit of the regression.
Formula
u_t = \rho\, u_{t-1} + \varepsilon_t;\quad H_0:\ \rho = 0The statistic d is the sum of squared successive residual differences divided by the sum of squared residuals. Algebraically it is approximately 2(1 − ρ̂), where ρ̂ is the sample first-order residual autocorrelation. Hence d ≈ 2 when ρ̂ ≈ 0, d moves toward 0 as ρ̂ approaches 1 (strong positive autocorrelation), and d moves toward 4 as ρ̂ approaches −1 (strong negative autocorrelation).
Formula
d = \dfrac{\sum_{t=2}^{T}(\hat u_t - \hat u_{t-1})^2}{\sum_{t=1}^{T} \hat u_t^2} \approx 2(1 - \hat\rho)Because the exact distribution of d depends on the regressor matrix, Durbin and Watson tabulated lower (d_L) and upper (d_U) bounds. If d is below d_L, reject the null in favour of positive autocorrelation. If d is above d_U, do not reject. If d lies between the bounds, the test is inconclusive. For negative autocorrelation the comparison is made on 4 − d against the same bounds.
Formula
d < d_L \Rightarrow \text{reject};\ d > d_U \Rightarrow \text{no reject};\ d_L \le d \le d_U \Rightarrow \text{inconclusive}Common pitfalls
- Applying it to a model with a lagged dependent variable, where it tends to suggest no autocorrelation even when autocorrelation is present.
- Treating an inconclusive result as evidence of no autocorrelation rather than as no decision.
- Checking only for positive autocorrelation and ignoring the 4 − d comparison for negative autocorrelation. Negative autocorrelation is seldom expected in economic and business applications, and when it appears it usually points to a specification error.
- Relying on it to rule out higher-order serial correlation, which requires a test such as Breusch-Godfrey.
Frequently asked questions
What value of the Durbin-Watson statistic is 'good'?
A value close to 2 indicates no first-order autocorrelation. Values meaningfully below 2 indicate positive autocorrelation, which is the usual concern, and values above 2 indicate negative autocorrelation. Whether a particular value is problematic should be decided with the lower and upper bounds for your sample size and number of regressors, not by a fixed rule of thumb.
Why is my Durbin-Watson result 'inconclusive'?
Because the exact distribution depends on the regressors, the test uses lower and upper critical bounds. When the statistic falls between them, neither rejection nor non-rejection is justified. Some statistical packages report an exact p-value for d, which avoids the bounds. Where that is not available, the Breusch-Godfrey test is a common alternative: it gives a p-value directly and also covers higher-order correlation.
Can I use it with a lagged dependent variable?
No. When the model includes a lagged dependent variable, the Durbin-Watson statistic is biased toward 2 and will tend to miss autocorrelation. Use Durbin's h statistic or, preferably, the Breusch-Godfrey test instead.
Related methods
Sources
Durbin, J., & Watson, G. S. (1950). Testing for serial correlation in least squares regression: I. Biometrika, 37(3/4), 409–428.
Open DOI referenceDurbin, J., & Watson, G. S. (1951). Testing for serial correlation in least squares regression: II. Biometrika, 38(1/2), 159–178.
Open DOI referenceUsing Econometrics: A Practical Guide (7th Edition), p. 285
plm: pdwtest (Durbin–Watson Test for Panel Models), p. 71