DurbinWatsontest
The Durbin-Watson test is a statistical procedure used to detect the presence of first-order autocorrelation in the residuals from a regression analysis. It is widely applied in econometrics and time-series analysis to assess whether the error terms are correlated across adjacent observations, which can affect standard errors and hypothesis tests.
The test statistic is defined as d = sum_{t=2}^n (e_t − e_{t−1})^2 / sum_{t=1}^n e_t^2, where e_t are the
Decision rules are based on these bounds: if d < d_L, there is evidence of positive autocorrelation;
Assumptions and limitations include correct model specification, absence of a lagged dependent variable among the regressors,