simple_auc: Primitive non-parametric function for calculating AUC or C-statistic for two
comparable samples with ordinal data.
Description
Primitive non-parametric function for calculating AUC or C-statistic for two
comparable samples with ordinal data.
Usage
simple_auc(norm, abnorm)
Arguments
norm
Ordinal data of the norm group (controls).
abnorm
Ordinal data of the abnorm group (patients).
Value
The statistic AUC (Area under the Receiver Operating Characteristics
Curve), also known as the C-statistic or Concordance statistic.
Details
This function does not check anything. Argument norm and
abnorm must have the correct ordinal data. When mean(norm) >
mean(abnorm) it is assumed that lower sores indicate deviation from the
norm, and otherwise that higher scores indicate deviation of the norm.
This function can handle very large files.