Rank: 51800 based on 0 downloads (last 30 days) and 0 file submitted


Johns Hopkins University
39.297287, -76.593315

Personal Profile:


Watch this Author's files


Comments and Ratings by Michael
Updated File Comments Rating
24 Jul 2009 ROCout=roc(varargin) compute a ROC curve Author: Giuseppe Cardillo

Agree with cabrego, this algorithm does not work correctly. Depending on the input data, it generates ROC curves with specificity and sensitivity backward. I believe this is because elements that fall below a cutoff value (I in the code) are called "true positives" when they should be "false positives". The convention is that higher values of a test are abnormal (positive).

I confirmed that other software (online ROC calculator, ROCR in R, STATA) does not behave this way with the same input data and all others produce correct results.

Use at your own risk.

Contact us