Learn R Programming

auditor (version 0.2.1)

scoreMSE: Mean Square Error

Description

Mean Square Error.

Usage

scoreMSE(object)

Arguments

object

An object of class ModelAudit.

Value

an object of class scoreAudit

See Also

score

Examples

Run this code
# NOT RUN {
library(car)
lm_model <- lm(prestige~education + women + income, data = Prestige)
lm_au <- audit(lm_model, data = Prestige, y = Prestige$prestige)
scoreMSE(lm_au)

# }

Run the code above in your browser using DataLab