[R] How to calculate the area under the curve

olivier.abz 0509785 at rgu.ac.uk
Thu Oct 22 16:22:56 CEST 2009


Hi all, 

I would like to calculate the area under the ROC curve for my predictive
model. I have managed to plot points giving me the ROC curve. However, I do
not know how to get the value of the area under. 
Does anybody know of a function that would give the result I want using an
array of specificity and an array of sensitivity as input?

Thanks, 

Olivier
-- 
View this message in context: http://www.nabble.com/How-to-calculate-the-area-under-the-curve-tp26010501p26010501.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list