Mean Absolute Error.

scoreMAE(object)

Arguments

object

An object of class ModelAudit or modelResiduals.

Value

an object of class scoreAudit

See also

Examples

library(car) lm_model <- lm(prestige~education + women + income, data = Prestige) lm_au <- audit(lm_model, data = Prestige, y = Prestige$prestige) scoreMAE(lm_au)
#> $name #> [1] "MAE" #> #> $score #> [1] 6.166535 #> #> attr(,"class") #> [1] "scoreAudit"