confIntPairedAUCDiff | 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. Default is 0.95. |
A data.frame with the estimates and confidence limits for the 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 University Press.
confIntAUC
, confIntIndependentAUCDiff
,
standardErrorAUCDiff
data(wiedat2b)
ind <- wiedat2b[,3]
cases <- wiedat2b[ind == 1, 1:2]
controls <- wiedat2b[ind == 0, 1:2]
confIntPairedAUCDiff(cases = cases, controls = controls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.