View source: R/psychopdaroc_utilities.R
bootstrapIDI | R Documentation |
Bootstrap IDI calculation with confidence intervals
bootstrapIDI(
new_values,
ref_values,
actual,
direction = ">=",
n_boot = 1000,
conf_level = 0.95
)
new_values |
Test values for new test |
ref_values |
Test values for reference test |
actual |
Binary outcome vector (0/1) |
direction |
Classification direction (">=" or "<=") |
n_boot |
Number of bootstrap iterations |
conf_level |
Confidence level (default 0.95) |
List with IDI, confidence intervals, and p-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.