Applies a obwoe_scale scaling to the linear predictor of a
model that predicts the log-odds of the event.
Arguments
- link
Numeric vector of log-odds of the event, as returned by
predict(fit, type = "link").- scaling
An
"obwoe_scaling"object fromobwoe_scale.- round
Logical. Round to whole points? Default
FALSE; the unrounded score is what the additivity identity holds for.
Examples
scaling <- obwoe_scale()
obwoe_score(c(-log(50), -log(100), 0), scaling)
#> [1] 600.0000 620.0000 487.1229
