data(Hartnagel)
durbin.watson(lm(fconvict ~ tfr + partic + degrees + fconvict, data=Hartnagel))
## lag Autocorrelation D-W Statistic p-value
## 1 0.6894 0.6148 0
Run the code above in your browser using DataCamp Workspace