Description Usage Arguments Details Value Examples
Primitive non-parametric function for calculating false and true positive rate for two comparable samples with ordinal data.
1 | simple_roc3(norm, abnorm)
|
norm |
Ordinal data of the norm group (controls). |
abnorm |
Ordinal data of the abnorm group (patients). |
This function does not check anything. Argument norm
and
abnorm
must have the correct ordinal data. The thresholds only
concern available test scores and are always ordered from lowest to
highest.
List of
$testscores sorted available unique test scores.
$dich.thresholds Indicates the thresholds and
their interpretation. If mean(norm) > mean(abnorm)
, the thresholds
are <= test score, otherwise the thresholds are >= test score.
$d0 Frequencies of ordinal scores of norm group, from lowest to highest score
$d1 Frequencies of ordinal scores of abnorm group, from lowest to highest score
$TP Cumulative true positive scores. If
mean(norm) > mean(abnorm)
the highest score is the total sum,
otherwise the lowest score is the total sum.
$FP Cumulative false
positive scores. If mean(norm) > mean(abnorm)
the highest score is
the total sum, otherwise the lowest score is the total sum.
$tpr True positive rates (Sensitivities) for each threshold
$fpr False positive rates (1 - Specificities) for each threshold
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.