Area under the curve (AUC)

Description

computes the area under the ROC curve (AUC) for the marker 'linpred' and the binary status 'Y'.

Usage

1
my.auc(linpred, Y)

Arguments

linpred

n-vector giving the value of the marker.

Y

n-vector giving the binary status, coded as 0/1.

Value

the area under the curve