confIntPairedAUCDiff: Computes confidence interval for the difference in AUC based...

Description Usage Arguments Value Author(s) References Examples

Description

Computes confidence interval for the difference in the area under the curve based on two paired samples.

Usage

1
confIntPairedAUCDiff(cases, controls, conf.level = 0.95)

Arguments

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.

Value

A matrix with estimate and confidence limits for AUC of the two tests and their difference.

Author(s)

Leonhard Held

References

Pepe, M.S. (2003) The statistical evaluation of medical tests for classification and prediction. Oxford: Oxford University Press.

Examples

1
2
3
4
5
6
data(wiedat2b)
ind <- wiedat2b[,3]
cases <- wiedat2b[(ind==1),1:2]
controls <- wiedat2b[(ind==0),1:2]

confIntPairedAUCDiff(cases, controls)

biostatUZH documentation built on May 2, 2019, 6:06 p.m.