compute_mauc_ord {AutoScore}R Documentation

Internal function: Compute mAUC for ordinal predictions

Description

Internal function: Compute mAUC for ordinal predictions

Usage

compute_mauc_ord(y, fx)

Arguments

y

An ordered factor representing the ordinal outcome, with length n and J categories.

fx

Either (i) a numeric vector of predictor (e.g., predicted scores) of length n or (ii) a numeric matrix of predicted cumulative probabilities with n rows and (J-1) columns.

Value

The mean AUC of J-1 cumulative AUCs (i.e., when evaluating the prediction of Y<=j, j=1,...,J-1).


[Package AutoScore version 1.0.0 Index]