confIntPairedAUCDiff {biostatUZH} | R Documentation |
Computes confidence interval for the difference in the area under the curve based on two paired samples.
confIntPairedAUCDiff(cases, controls, conf.level = 0.95)
cases |
Matrix with values of the continuous variable for the cases. First column gives values of test A, second gives values of test B. |
controls |
Matrix with values of the continuous variable for the controls. First column gives values of test A, second gives values of test B. |
conf.level |
Confidence level for confidence interval. |
A matrix with estimate and confidence limits for AUC of the two tests and their difference.
Leonhard Held
Pepe, M.S. (2003) The statistical evaluation of medical tests for classification and prediction. Oxford: Oxford University Press.
data(wiedat2b) ind <- wiedat2b[,3] cases <- wiedat2b[(ind==1),1:2] controls <- wiedat2b[(ind==0),1:2] confIntPairedAUCDiff(cases, controls)