Score based on Durbin-Watson test statistic. The score value is helpful in comparing models. It is worth pointing out that results of tests like p-value makes sense only when the test assumptions are satisfied. Otherwise test statistic may be considered as a score.
scoreDW(object, variable = NULL)
An object of class modelAudit or modelResiduals.
Name of model variable to order residuals. If value is NULL data order is taken. If value is "Predicted response" or "Fitted values" then data is ordered by fitted values. If value is "Observed response" the data is ordered by a vector of actual response (
an object of class scoreAudit
library(car) lm_model <- lm(prestige~education + women + income, data = Prestige) lm_au <- audit(lm_model, data = Prestige, y = Prestige$prestige) scoreDW(lm_au)#> $name #>  "Durbin-Watson" #> #> $score #>  1.686923 #> #> attr(,"class") #>  "scoreAudit"