performance_mse: Mean Square Error of Linear Models
Description
Compute mean square error of linear models.
Usage
performance_mse(model, verbose = TRUE)
mse(model, verbose = TRUE)
Arguments
model
A model.
verbose
Toggle off warnings.
Value
Numeric, the mean square error of model.
Details
The mean square error is the mean of the sum of squared residuals,
i.e. it measures the average of the squares of the errors. Less technicaly
speaking, the mean square error can be considered as the variance of the
residuals, i.e. the variation in the outcome the model doesn't explain.
Lower values (closer to zero) indicate better fit.