perf.fbroc.roc: Calculate performance for bootstrapped ROC curve
Description
Calculates different performance metric for ROC curves based on the bootstrap
results saved in an object of class fbroc.roc. Confidence intervals
are included.
Usage
## S3 method for class 'fbroc.roc':
perf(roc, metric = "auc", conf.level = 0.95,
tpr = NULL, fpr = NULL, ...)
Arguments
roc
An object of class fbroc.roc.
metric
A performance metric. Select "auc" for the AUC, "tpr" for the TPR at a fixed
FPR and "fpr" for the FPR at a fixed TPR.
conf.level
The confidence level of the confidence interval.
tpr
The fixed TPR at which the FPR is to be evaluated when fpr is selected as metric.
fpr
The fixed FPR at which the TPR is to be evaluated when tpr is selected as metric.
...
Further arguments, that are not used at this time.
Value
A list of class fbroc.perf, containing the elements:
Observed.PerformanceThe observed performance.
CI.PerformanceQuantile based confidence interval for the performance.
conf.levelConfidence level of the confidence interval.
metricUsed performance metric.
paramsParameters used to further specifiy metric, e.g. fixed TPR.
n.bootNumber of bootstrap replicates used.
boot.resultsPerformance in each bootstrap replicate.