Learn R Programming

DTComPair (version 1.2.6)

acc.paired: Accuracy of Two Binary Diagnostic Tests in a Paired Study Design

Description

Sensitivity and specificity, (positive and negative) predictive values and (positive and negative) diagnostic likelihood ratios of a two binary diagnostic tests in a paired study design.

Usage

acc.paired(tab, alpha, method.ci, ...)

Value

A list of class acc.paired:

Test1

A list of class acc.1test containing results and accuracy estimates of Test 1.

Test2

A list of class acc.1test containing results and accuracy estimates of Test 2.

Arguments

tab

An object of class tab.paired.

alpha

Significance level alpha for 100(1-alpha)%-confidence intervals, the default is 0.05.

method.ci

A function used to compute the confidence intervals for sensitivity, specificity, and predictive values. The default is waldci for Wald's asymptotic normal-based confidence intervals. See acc.1test.

...

Additional arguments, usually not required.

Details

The calculation of accuracy measures follows standard methodology, e.g. described in Pepe (2003) or Zhou et al. (2011).

The confidence intervals for sensitivity, specificity, and predictive values are computed using the methodology implemented in the function passed to the argument method.ci.

Confidence intervals for diagnostic likelihood ratios are computed according to Simel et al. (1991).

References

Pepe, M. (2003). The statistical evaluation of medical tests for classifcation and prediction. Oxford Statistical Science Series. Oxford University Press, 1st edition.

Zhou, X., Obuchowski, N., and McClish, D. (2011). Statistical Methods in Diagnostic Medicine. Wiley Series in Probability and Statistics. John Wiley & Sons, Hoboken, New Jersey, 2nd edition.

See Also

tab.paired, print.acc.paired, acc.1test.

Examples

Run this code
data(Paired1) # Hypothetical study data 
b1 <- tab.paired(d=d, y1=y1, y2=y2, data=Paired1)
b2 <- acc.paired(b1)
print(b2)

Run the code above in your browser using DataLab