Tools for estimating Receiver Operating Characteristic (ROC) curves, building confidence bands, comparing several curves both for dependent and independent data, estimating the cumulative-dynamic ROC curve in presence of censored data, and performing meta-analysis studies, among others.
The basic function of the nsROC package is the
gROC function. It
will estimate an ROC curve under one of these considerations: larger values of
the marker are associated with a higher probability of being positive (right-sided),
the opposite (left-sided) or when both smaller and larger values of the marker
are associated with having more probability of being positive (both).
Confidence bands for an ROC curve estimate resulting of the previous function can
be computed and displayed by the
ROCbands function. Three different
methods are provided to compute them.
Several paired or unpaired ROC curves can be compared with the
compareROCindep function, respectively. In order to compare ROC curves
different statistics can be used, and to approximate the distribution of the statistic in
the paired case both permutation and bootstrap procedures are computed.
Time-dependent ROC curves can be estimated by the cumulative/dynamic approach using
cdROC function. In order to deal with the right censored problem three
different statistics can be considered.
Meta-analysis of ROC curves following a non-parametric approach can be performed with
metaROC function. Both the fixed-effects and random-effects model can
The following abbreviations are frequently used in this package:
ROC: Receiver Operating Characteristic
AUC: Area Under the (ROC) Curve
TPR: True-Positive Rate
FPR: False-Positive Rate
||ROC curve estimate (generalization included)|
||Confidence bands for ROC curves|
||Comparison of k paired ROC curves|
||Comparison of k independent ROC curves|
||Cumulative/dynamic ROC curve estimate|
||Non-parametric ROC curve estimate for meta-analysis|
||Plot an ROC curve|
||Plot confidence bands for an ROC curve|
||Plot a time-dependent ROC curve|
|| Print a
|| Print a
|| Print a
||Check the data to compute an ROC curve (internal function)|
This package comes with a dataset of 9 papers (meta-analysis) with the number of TP
(true positive), FP (false positive), TN (true negative) and FN (false negative)
about the use of the Interleukin6 (IL6) as a marker for the early detection of
To install this package:
To load the package:
Maintainer: Sonia Perez Fernandez <email@example.com>
CRAN packages sde and survival employed in this package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.