0

Is there any tool that can calculate the AUC value from a ROC curve if I already have true positive, true negative, false positive, false negative values.

  • 5
    You will need those 4 values at a variety of thresholds. – Zach Jul 31 '13 at 17:32
  • You might want to consider just using some descriptive stats in your case, pos. predictive, recall, f1 score, or something similar. As @Zach points out there is no ROC curve when you only have a 2x2 table. – Max Gordon Jul 31 '13 at 20:35
  • @MaxGordon none of those values are necessary to calculate the AUC (or $c$-statistic). You only need estimates of sensitivty and specificity obtained from thresholding a probabilistic marker across all possible ranges. – AdamO Jul 31 '13 at 21:27
  • @AdamO Those 4 values are used to calculate sensitivity and specificity. – Zach Jul 31 '13 at 23:03
  • @Adamo I'm aware of that, it was just a suggestion for what can be done with a simple 2x2 table. As there is no range in a 2x2 table the c-statistic is unattainable as Zach pointed out in the first comment. – Max Gordon Aug 01 '13 at 07:13
  • Those person who reported this question as duplicate. Please go through this question.... – user28681 Aug 07 '13 at 09:03

0 Answers0