Fiveable

๐ŸŽณIntro to Econometrics Unit 8 Review

QR code for Intro to Econometrics practice questions

8.2 Durbin-Watson test

๐ŸŽณIntro to Econometrics
Unit 8 Review

8.2 Durbin-Watson test

Written by the Fiveable Content Team โ€ข Last updated September 2025
Written by the Fiveable Content Team โ€ข Last updated September 2025
๐ŸŽณIntro to Econometrics
Unit & Topic Study Guides

The Durbin-Watson test is a crucial tool in econometrics for detecting autocorrelation in regression residuals. It helps ensure the validity of linear regression assumptions by examining if errors are correlated with their lagged values.

Understanding this test is essential for obtaining reliable estimates of regression coefficients and standard errors. The test statistic ranges from 0 to 4, with values around 2 indicating no autocorrelation, while values closer to 0 or 4 suggest positive or negative autocorrelation, respectively.

Overview of Durbin-Watson test

  • The Durbin-Watson test is a statistical test used to detect the presence of autocorrelation in the residuals from a regression analysis
  • It is an important diagnostic tool in econometrics to ensure the validity of the assumptions underlying the linear regression model
  • The test is named after statisticians James Durbin and Geoffrey Watson who developed it in 1950

Purpose of the test

  • The primary purpose of the Durbin-Watson test is to identify autocorrelation in the residuals of a regression model
  • Autocorrelation occurs when the residuals are correlated with their own lagged values, violating the assumption of independent errors
  • Detecting and addressing autocorrelation is crucial for obtaining reliable estimates of the regression coefficients and their standard errors

Assumptions behind the test

  • The regression model includes an intercept term
  • The explanatory variables are non-stochastic (fixed in repeated sampling)
  • The errors are generated by a first-order autoregressive process
  • The regression model does not include lagged dependent variables as regressors

Test for autocorrelation

  • The Durbin-Watson test is designed to detect first-order autocorrelation in the residuals of a regression model
  • It can help determine whether the residuals are positively or negatively correlated with their previous values

Positive vs negative autocorrelation

  • Positive autocorrelation occurs when the residuals are positively correlated with their lagged values
    • Residuals tend to have similar signs across consecutive observations
  • Negative autocorrelation occurs when the residuals are negatively correlated with their lagged values
    • Residuals tend to have opposite signs across consecutive observations

First-order autocorrelation

  • The Durbin-Watson test primarily focuses on detecting first-order autocorrelation
  • First-order autocorrelation refers to the correlation between the residual at time t and the residual at time t-1
  • The test statistic is based on the differences between consecutive residuals

Higher-order autocorrelation

  • The Durbin-Watson test is not designed to detect higher-order autocorrelation directly
  • Higher-order autocorrelation refers to the correlation between the residual at time t and the residuals at lags greater than 1
  • To test for higher-order autocorrelation, alternative tests such as the Breusch-Godfrey test can be used

Calculating Durbin-Watson statistic

  • The Durbin-Watson test statistic is calculated based on the residuals obtained from the regression model
  • It measures the ratio of the sum of squared differences between consecutive residuals to the sum of squared residuals

Formula for test statistic

  • The formula for the Durbin-Watson test statistic is:
    • d=โˆ‘t=2n(etโˆ’etโˆ’1)2โˆ‘t=1net2d = \frac{\sum_{t=2}^{n} (e_t - e_{t-1})^2}{\sum_{t=1}^{n} e_t^2}
    • where $e_t$ is the residual at time t and n is the number of observations

Range of possible values

  • The Durbin-Watson statistic (d) ranges from 0 to 4
  • A value of 2 indicates no autocorrelation in the residuals
  • Values below 2 suggest positive autocorrelation, with values close to 0 indicating strong positive autocorrelation
  • Values above 2 suggest negative autocorrelation, with values close to 4 indicating strong negative autocorrelation

Interpreting the test statistic

  • The interpretation of the Durbin-Watson statistic depends on the critical values of the test
  • The critical values are determined based on the significance level, the number of observations, and the number of regressors in the model
  • If the test statistic falls within the inconclusive regions, further analysis or alternative tests may be required

Critical values for the test

  • The Durbin-Watson test uses critical values to determine the presence of autocorrelation
  • The critical values are based on the lower and upper bounds of the test statistic distribution

Lower and upper bounds

  • The lower bound (dL) and upper bound (dU) of the critical values are determined based on the significance level and the number of observations and regressors
  • If the test statistic is less than dL, there is evidence of positive autocorrelation
  • If the test statistic is greater than dU, there is no evidence of positive autocorrelation
  • If the test statistic lies between dL and dU, the test is inconclusive

Significance level

  • The significance level (ฮฑ) is typically set at 0.05 or 0.01
  • It represents the probability of rejecting the null hypothesis when it is actually true (Type I error)
  • The critical values are determined based on the chosen significance level

Number of regressors

  • The critical values also depend on the number of regressors (k) in the regression model, excluding the intercept term
  • As the number of regressors increases, the critical values for dL and dU change

Testing procedure

  • The Durbin-Watson test follows a specific procedure to test for autocorrelation in the residuals

Null and alternative hypotheses

  • The null hypothesis (H0) states that there is no autocorrelation in the residuals
  • The alternative hypothesis (H1) states that there is autocorrelation in the residuals
    • For positive autocorrelation: H1: ฯ > 0
    • For negative autocorrelation: H1: ฯ < 0

Rejection regions

  • The rejection regions for the Durbin-Watson test are based on the critical values (dL and dU)
  • If d < dL, reject H0 and conclude positive autocorrelation
  • If d > 4 - dL, reject H0 and conclude negative autocorrelation
  • If dU < d < 4 - dU, do not reject H0 and conclude no autocorrelation
  • If dL โ‰ค d โ‰ค dU or 4 - dU โ‰ค d โ‰ค 4 - dL, the test is inconclusive

Examples of test application

  • The Durbin-Watson test can be applied to various regression models in econometrics
  • For instance, it can be used to test for autocorrelation in the residuals of a demand function estimation or a production function estimation
  • It is also commonly used in time series analysis to check for autocorrelation in the residuals of autoregressive models

Limitations of the test

  • While the Durbin-Watson test is widely used, it has certain limitations that should be considered

Inconclusive regions

  • The presence of inconclusive regions in the Durbin-Watson test can make it difficult to draw definitive conclusions about autocorrelation
  • When the test statistic falls within the inconclusive regions, additional tests or analysis may be necessary to determine the presence or absence of autocorrelation

Lagged dependent variables

  • The Durbin-Watson test assumes that the regression model does not include lagged dependent variables as regressors
  • If lagged dependent variables are present, the test may not be valid, and alternative tests such as the Breusch-Godfrey test should be used

Misspecification of the model

  • The Durbin-Watson test is sensitive to model misspecification
  • If the regression model is incorrectly specified (e.g., omitted variables, incorrect functional form), the test may provide misleading results
  • It is important to ensure that the model is correctly specified before interpreting the results of the Durbin-Watson test

Addressing autocorrelation

  • If autocorrelation is detected in the residuals, several methods can be used to address it and obtain more reliable estimates

Generalized least squares

  • Generalized least squares (GLS) is a method that can be used to estimate the regression coefficients in the presence of autocorrelation
  • GLS takes into account the structure of the error covariance matrix and provides efficient estimates
  • It requires knowledge or estimation of the autocorrelation parameter

Cochrane-Orcutt procedure

  • The Cochrane-Orcutt procedure is an iterative method used to estimate the regression coefficients when autocorrelation is present
  • It involves transforming the variables using the estimated autocorrelation parameter and re-estimating the model until convergence is achieved
  • The procedure can help mitigate the effects of first-order autocorrelation

Newey-West standard errors

  • Newey-West standard errors are a method for obtaining robust standard errors in the presence of autocorrelation and heteroskedasticity
  • They provide consistent estimates of the standard errors even when the autocorrelation structure is unknown
  • Newey-West standard errors are commonly used in time series analysis to account for both autocorrelation and heteroskedasticity in the residuals