AUC By Hand
Calculating the area under a curve by hand never really appealed to me. R and Python did the trick nicely. Unfortunately, in a recent Biostatistics class, I had to calculate it by hand. Luckily, it was a rather simple receiver operator curve (ROC) that consisted of just five points. I would not want to do this for more than 10 points.
In R, as part of the caTools package trapz() works very nicely. I utilized this to submit my answer and I was asked to show my work. So the above graphic, simple in nature is what I used. So what is the formula, well its the area of a triangle plus the area of trapezoid for each subsequent point. You the typed formula in the cover photo.
For a complete story on how I got to above ROC, head on over to Medium.