confIntPairedAUCDiff {biostatUZH}R Documentation

Computes confidence interval for the difference in AUC based on two paired samples.

Description

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

Usage

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


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

confIntPairedAUCDiff(cases, controls)


[Package biostatUZH version 1.8.0 Index]