Description Usage Arguments Value
Compute bootstrap confidence intervals and correct for bootstrap bias
1 2 3 4 5 6 7 | bootstrap_ci(
bs_values,
raw_mean,
conf_level = 0.95,
correction = FALSE,
recenter = FALSE
)
|
bs_values |
A vector of bootstrap estimates to be corrected |
raw_mean |
The "raw" mean of the measure to be corrected, i.e., not the bootsrapped estimate of the mean. |
conf_level |
The confidence level. Default is 0.95, i.e. a 95 confidence interval will be computed. |
correction |
Controls whether to perform bias correction (TRUE) or not (FALSE). |
recetner |
Controls whetehr to center the confidence interval on the value of 'raw_mean'. Default is FALSE. Only relevant if 'correction' is FALSE. |
named vector with corrected "mean", "high" (upper CI limit), "low" (lower CI limit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.