The area over the Regression Error Characteristic curve is a measure of the expected error for the regression model.

scoreREC(object)

Arguments

object

An object of class ModelAudit.

Value

an object of class scoreAudit

References

J. Bi, and K. P. Bennet, "Regression error characteristic curves," in Proc. 20th Int. Conf. Machine Learning, Washington DC, 2003, pp. 43-50

See also

Examples

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