addWellCalib {RBPcurve} | R Documentation |
Visualizes a measure for well calibration on the RBP curve.
Description
A measure for a well calibrated model can be obtained by grouping the predicted probabilities via deciles yielding 10 groups. The equally collored areas belong to a specific group. When each of the two equally collored areas are similar, the model is well calibrated.
Usage
addWellCalib(obj, plot.values = TRUE, subplot.control = list(diff = TRUE),
col = shape::greycol(10L, interval = c(0.3, 1)), pos = NULL)
Arguments
obj |
[ |
plot.values |
[ |
subplot.control |
[ |
col |
[ |
pos |
[ |
Value
A matrix that contains the average of the “probabilities within deciles” conditional on Y.