# Software for drawing ROC curve

Having the sensitivity and specificity values, what software do you recommend that enables drawing the ROC curve provided this data?

Thanks.

As I wrote earlier, ROC requires confidence scores, not random FPR/FNR readings.

Nevertheless, I would recommend two R packages: ROCR for plotting (many options, very nice graphs) and colAUC from caTools for calculating AUROC (rocket fast).

• Thanks for your reply. How can I find the confidence score, provided as I mentioned that I have sensitivity and specificity values for different studies? Thanks – Simplicity Jul 30 '11 at 12:36
• @SWEngineer Depends on the method you use; vote proportion in ensembles, distance from boundary in SVM-likes, proportion of classes in the neighborhood in kNN-likes, ... – user88 Jul 30 '11 at 12:45
• What I have is a list of studies that used some sort of computer algorithm or computer aided diagnosis (CAD) system and measured the sensitivity and specificity. So, as you can imaging I JUST have values for those two variables for different studies, and trying to plot an ROC curve. Provided that, what should I do to get an ROC curve correct? Thanks – Simplicity Jul 30 '11 at 12:55
• In this case there is no hope for ROC. You can at most plot them as points to compare with other ROC curves. – user88 Jul 30 '11 at 13:56
• I will be having the following values in this case TP, FP, FN, and TN. Do you think this is sufficient. There is a software called Meta-DiSc that requires those values to draw a SROC curve. By the way, is there a difference between SROC and ROC? Thanks – Simplicity Jul 30 '11 at 14:02

In addition to the previously mentioned packages, an other R package I would recommend to perform ROC Analysis and draw ROC curves is pROC. This package can perform multiclass AUC as defined by Hand and Till (2001).

For MATLAB, there are some basic tools on my website here