Tuesday, April 17, 2012

ROC curves with pROC

http://web.expasy.org/pROC/

pROC: display and analyze ROC curves in R and S+


pROC is a set of tools to visualize, smooth and compare receiver operating characteristic (ROC curves). (Partial) area under the curve (AUC) can be compared with statistical tests based on U-statistics or bootstrap. Confidence intervals can be computed for (p)AUC or ROC curves.

In R

http://web.expasy.org/pROC/files/pROC_1.5.3_R_manual.pdf

data(aSAH)
# Build a ROC object and compute the AUC
roc(aSAH$outcome, aSAH$s100b)
roc(outcome ~ s100b, aSAH)

1 comment:

bmbvm5 said...

Hi,More explanation please,how it can be used? thanks