Confidence Intervals for Outcome Predictions
Source:R/bridge-outcome.R
mskOutcomeConfidenceInterval.RdComputes confidence intervals for functional outcome predictions using bootstrap resampling or analytical delta method.
Usage
mskOutcomeConfidenceInterval(
predictions,
method = c("bootstrap", "analytical"),
n_boot = 100L,
confidence_level = 0.95
)Value
A list with:
- ci
data.frame with outcome, point_estimate, lower, upper, width
- method
character
- n_boot
integer (for bootstrap)
- overall_uncertainty
numeric, mean CI width
Examples
if (FALSE) { # \dontrun{
outcome <- mskPredictFunctionalOutcome("Biceps Brachii")
ci <- mskOutcomeConfidenceInterval(outcome)
} # }