auc.elo: Calculate AUC on an 'elo.run' object

auc.eloR Documentation

Calculate AUC on an elo.run object

Description

Calculate AUC on an elo.run object

Usage

## S3 method for class 'elo.run'
auc(object, ..., subset = TRUE)

## S3 method for class 'elo.glm'
auc(object, ..., subset = TRUE)

## S3 method for class 'elo.running'
auc(object, running = TRUE, discard.skipped = FALSE, ..., subset = TRUE)

## S3 method for class 'elo.markovchain'
auc(object, ..., subset = TRUE)

## S3 method for class 'elo.winpct'
auc(object, ..., subset = TRUE)

## S3 method for class 'elo.colley'
auc(object, ..., subset = TRUE)

Arguments

object

An object of class elo.run.

...

Other arguments (not used at this time).

subset

(optional) A vector of indices on which to calculate

running

logical, denoting whether to use the running predicted values.

discard.skipped

Logical, denoting whether to ignore the skipped observations in the calculation

Value

The AUC of the predicted Elo probabilities and the actual win results.

References

Adapted from code here: https://stat.ethz.ch/pipermail/r-help/2005-September/079872.html

See Also

pROC::auc, elo.run.


elo documentation built on Aug. 23, 2023, 5:10 p.m.