durbinWatsonTest function

Durbin-Watson Test for Autocorrelated Errors