Skip to contents

Computes the AUC of a model

Usage

evaluateAUC(score, y, sign = ">")

Arguments

score:

the ^y score of the model

y:

the response vector

sign:

in which direction to make the comparison? "auto" (default): automatically define in which group the median is higher and take the direction accordingly. ">": if the predictor values for the control group are higher than the values of the case group (controls > t >= cases). "<": if the predictor values for the control group are lower or equal than the values of the case group (controls < t <= cases).

Value

an auc value