pROC 1.4 is here

After several months without any new version, here is finally pROC version 1.4!

This long-awaited version introduces three new notable features:

Multiclass ROC curves

Multi-class AUC is a precious generalization of ROC curves for tests with more than one outcome. We used the approach by Hand and Till (2001)1 that averages all the ROC curves than can be built with the given levels. Here is a basic example:

library(pROC)
data(aSAH)
multiclass.roc(aSAH$gos6, aSAH$s100b)

See ?multiclass.roc for more details.

Unpaired ROC tests

The second feature is the unpaired DeLong2 and bootstrap ROC tests. Until now, only paired ROC curves (when measurements were done on the same sample) were available. Now even unpaired ROC curves are supported.

rocs100 <- roc(aSAH$outcome, aSAH$s100b)
rocwfns <- roc(aSAH$outcome, aSAH$wfns)
roc.test(rocs100, rocwfns, paired=FALSE)

Or with a truly unpaired context:

rocwfns.subset <- roc(aSAH$outcome[1:100], aSAH$wfns[1:100])
roc.test(rocs100, rocwfns.subset)

Specificity and sensitivity tests

The last feature introduced in pROC 1.4 is the specificity and sensitivity tests in roc.test. Instead of testing the AUC, it will test if the ROC curves have the same sensitivity/specificity at the given level of specificity/sensitivity, as described by Pepe et al. (2009)3. Here are two examples:

roc.test(roc1, roc2, method="specificity", specificity=0.9)
roc.test(roc1, roc2, method="sensitivity", sensitivity=0.9)

Conclusion

Here is the full change log:

As usual, you can find the new version on ExPASy and on the CRAN. To update, type update.packages() or install.packages("pROC") if you want to update pROC only.

Xavier Robin
Publié le vendredi 21 janvier 2011 à 20:38 CET
Lien permanent : /blog/2011/01/21/proc-1.4-released
Tags : pROC
Commentaires : 0

Commentaires

Aucun commentaire

Nouveau commentaire

* L'astérisque dénote un champ obligatoire.

En soumettant votre message, vous acceptez qu' il soit publié sous licence CC BY-SA 3.0.

Quelques balises HTML sont autorisées : a[href, hreflang, title], br, em, i, strong, b, tt, samp, kbd, var, abbr[title], acronym[title], code, q[cite], sub, sup.

Switch to English

Chercher

Tags

Bruit de fond Hobbys Humour Informatique Internet Livres Logiciels Moi Mon site web Mozilla Photo Politique Programmation Scolaire Ubuntu pROC

Billets récents

Calendrier

lun.mar.mer.jeu.ven.sam.dim.
12
3456789
10111213141516
17181920212223
24252627282930
31

Syndication

Recommender