Skip to contents

Computes the weighted probability that a randomly selected event has a higher score than a randomly selected non-event, with half credit for ties.

Usage

ci_roc_auc(truth, estimate, weights = NULL)

Arguments

truth

Numeric or logical observed outcomes.

estimate

Numeric predicted probabilities or mean outcomes.

weights

Optional non-negative weights.

Value

A numeric ROC AUC. Larger is better.