Testing for Serial Correlation
Two standard tests detect serial correlation. The Durbin-Watson statistic targets AR(1) errors and satisfies , so a value near 2 signals no autocorrelation, near 0 strong positive autocorrelation, and near 4 negative. Its drawbacks are an inconclusive region and invalidity when a lagged dependent variable is present. The more flexible Breusch-Godfrey (LM) test regresses the OLS residuals on the regressors and lagged residuals, then uses as a chi-square statistic to test for AR(). Breusch-Godfrey handles higher-order autocorrelation and remains valid with lagged dependent variables, which is why it is the workhorse test.
Why it matters
Both tests ask the same question. Do this period’s residuals predict next period’s? Durbin-Watson packages that into a single number scaled around 2, easy to read but limited to one lag. Breusch-Godfrey runs an explicit auxiliary regression of the residuals on their own lags, so you can look for several orders of autocorrelation at once and still trust the result when the model contains lagged outcomes.
Formulas
Worked examples
You want a formal check for serial correlation after estimating a dynamic time-series model that includes a lagged dependent variable.
Run the regression, then `estat bgodfrey, lags(1 4)` for the Breusch-Godfrey test at orders 1 and 4. A small p-value rejects the null of no serial correlation. Because the model contains a lagged dependent variable, prefer Breusch-Godfrey over Durbin-Watson, whose distribution is invalid here.
Common mistakes
- ✗A Durbin-Watson statistic near 2 proves the errors are independent. It only indicates no first-order autocorrelation; higher-order patterns can remain.
- ✗Durbin-Watson is valid in every regression. It is unreliable when a lagged dependent variable is a regressor; use Breusch-Godfrey instead.
- ✗Durbin-Watson gives a clean accept-or-reject decision. It has an inconclusive region between its lower and upper bounds where no conclusion is drawn.
- ✗Breusch-Godfrey only tests for AR(1). It tests for AR() and lets you check several lag orders jointly through the auxiliary regression.
Revision bullets
- •Durbin-Watson targets AR(1);
- •DW near 2 no autocorrelation, near 0 positive, near 4 negative
- •Durbin-Watson has an inconclusive region and fails with a lagged dependent variable
- •Breusch-Godfrey is an LM test using
- •Breusch-Godfrey handles AR() and lagged dependent variables
Quick check
A Durbin-Watson statistic close to 2 indicates:
Why is the Breusch-Godfrey test often preferred to Durbin-Watson?
Connected topics
Sources
- Wooldridge (2019), §12.3Wooldridge, Jeffrey M. Introductory Econometrics: A Modern Approach. 7th ed. Cengage, 2019.Presents the Durbin-Watson and Breusch-Godfrey tests for serial correlation, including the lagged-dependent-variable caveat.
- Breusch (1978); Godfrey (1978)Breusch, T.S. Testing for Autocorrelation in Dynamic Linear Models. Australian Economic Papers 17 (1978); Godfrey, L.G. Econometrica 46 (1978).Original derivations of the LM test for serial correlation that remains valid with lagged dependent variables.