This function computes a confidence interval for the negative predictive value from a ROC curve, given the prevalence of the negative outcome.
cinpv(roc, npv, prevalence, boot.n, 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.
Negative 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 negative predictive value from a ROC curve, given the prevalence of the negative outcome. The confidence interval is computed using bootstrap resampling.