Skip to content
Prev 278032 / 398506 Next

I'm writing this letter to enquire where can I download the package of "lmtest".

On Mon, 21 Nov 2011, R. Michael Weylandt wrote:

            
Yes, dwtest() in "lmtest" can perform both one-sided and two-sided 
Durbin-Watson tests, using asymptotic p-values.

If you want to apply the test to a series y without covariates, simply use 
dwtest(y ~ 1).

An alternative implementation durbinWatsonTest() is available in "car" 
which uses bootstrap p-values and can also assess lags greater than 1.