View source: R/validate_bewrs.R
| validate_bewrs | R Documentation |
Computes AUC, Brier score, calibration intercept, and calibration slope.
validate_bewrs(observed, predicted)
observed |
Binary vector of observed outcomes, coded 0/1. |
predicted |
Numeric vector of predicted probabilities. |
A data.frame containing validation metrics.
validate_bewrs(c(0, 1, 1, 0), c(0.1, 0.8, 0.7, 0.3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.