calibration_plot: Produces a calibration plot for the win probability model.

Description Usage Arguments Value

Description

Splits the predictions into percentiles and calculates the percentage of predictions per percentile that were wins. A perfectly calibrated model means that plays with a win probability of n

Usage

1
calibration_plot(preds, truth, fg = FALSE)

Arguments

preds

Vector of predicted win probabilities.

truth

Vector of actual wins.

Value

ggplot2


bensoltoff/rnflstats documentation built on May 12, 2019, 2:08 p.m.