Performs the Durbin-Watson Test for a regression model
reg.dw(fit)
fit
:a lm object
fit <- lm(mpg~wt, mtcars, na.action = na.omit) reg.dw(fit)