View source: R/psychopdaroc_utilities.R
bootstrapNRI | R Documentation |
Bootstrap NRI calculation with confidence intervals
bootstrapNRI(
new_values,
ref_values,
actual,
direction = ">=",
thresholds = NULL,
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 "<=") |
thresholds |
Risk category thresholds (NULL for continuous NRI) |
n_boot |
Number of bootstrap iterations |
conf_level |
Confidence level (default 0.95) |
List with NRI components and confidence intervals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.