Learn R Programming

elo (version 2.1.1)

elo.mse: Calculate the mean square error

Description

Calculate the mean square error (Brier score) for a model.

Usage

brier(object, subset, ...)

mse(object, subset, ...)

# S3 method for elo.run mse(object, subset, ...)

# S3 method for elo.glm mse(object, subset, ...)

# S3 method for elo.running mse(object, subset, running = TRUE, ...)

# S3 method for elo.markovchain mse(object, subset, ...)

# S3 method for elo.winpct mse(object, subset, ...)

# S3 method for elo.colley mse(object, subset, ...)

Arguments

object

An object

subset

(optional) A vector of indices on which to calculate the MSE.

...

Other arguments (not in use at this time).

running

logical, denoting whether to use the running predicted values.

Details

Even though logistic regressions don't use the MSE on the y=0/1 scale, it can still be informative. Note that the S3 method is mse.