View source: R/generate.confidence.intervals.r
This function generates confidence intervals around difference of two given point estimates using empirical bootstrapping.
1 2 | generate.confidence.intervals(study_sample, model_or_pointestimate, func,
samples, diffci_or_ci, outcome_name)
|
study_sample |
The study sample list. No default. |
model_or_pointestimate |
Character vector describing predictions or point estimates to analyse. For example, pred_cat and clinicians_predictions predictions for model.review.AUROCC or NRI+ and NRI- point estimates for model.review.reclassification. No default. |
func |
Function that generates key statistic. For example, model.review.AUROCC that generates AUROCC of a given model, or model.review.reclassification that generates reclassification elements. No default. |
samples |
Samples as prepared with train.predict.bssamples. No default. |
diffci_or_ci |
String. Whether to return confidence interval on difference of model_or_pointestimates, or return confidence intervals on model_or_pointestimates separately or no confidence intervals. Must be one of c("diff", "ci", "none") |
outcome_name |
Name of outcome variable. No default. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.