This function computes a confidence interval for the positive predictive value from a ROC curve, given the prevalence of the positive outcome.
cippv(
roc,
ppv,
prevalence,
boot.n = 2000,
quantiles = c(0.5, 0.025, 0.975),
...
)
A numeric vector of length 3 containing the median, lower bound, and upper bound of the confidence interval.
Object of class pROC.
Positive predictive value.
Prevalence of the endpoint in the study population.
Number of bootstrap replicates. Default: 2000.
Quantiles. Default: c(0.5,.025,.975).
Not used.
This function computes a confidence interval for the positive predictive value from a ROC curve, given the prevalence of the positive outcome. The confidence interval is computed using bootstrap resampling.