diagCI: Compute values and confidence intervals for sensitivity, specificity, positive likelihood ratio, negative likelihood ratio for a single 2x2 table
Description
Compute values and confidence intervals for sensitivity, specificity, positive likelihood ratio, negative likelihood ratio for a single 2x2 table
The total number of positives ("sick") in the population.
trueNeg
The number of true negatives in the population.
totalDzNeg
The total number of negatives ("well") in the population.
calcLRCI
Method to use to calculate the LR CI: "BayesianLR.test" "none" or "analytic"
alpha
The alpha for the width of the confidence interval (defaults to alpha = 0.05 for a 95 percent CI)
binomMethod
The method to be passed to binom.confint to calculate confidence intervals of proportions (sensitivity, etc.). See help("binom.confint") and the Newcombe article referenced below.
…
Arguments to pass to Bayesian.LRtest.
Value
A matrix containing sensitivity, specificity, posLR, negLR results and their confidence intervals