Plot Roc Curve Excel ✮ 〈TESTED〉
= =COUNTIFS($A$2:$A$100,0,$B$2:$B$100,">="&E2)
Assume Sensitivity (TPR) values in col J and FPR values in col K. plot roc curve excel
Column N: = =L3*M3 (drag down)
| A (Actual) | B (Predicted Prob) | |------------|--------------------| | 1 | 0.92 | | 0 | 0.31 | | 1 | 0.88 | | 0 | 0.45 | | 1 | 0.67 | | ... | ... | we calculate True Positives
You should now have a table like:
by predicted probability (highest to lowest). 👉 Select both columns → Data tab → Sort → by Predicted Prob → Descending . Step 2: Choose Threshold Values We will test different classification thresholds (cutoffs). For each threshold, we calculate True Positives, False Positives, etc. etc. = =F2/(F2+I2)
= =F2/(F2+I2)