Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Area Under Curve

The area under a curve examples:



> library(Hmisc)
> set.seed(1)
> predicted <- runif(200)
> dead <- sample(0:1, 200, TRUE)
> roc.area <- somers2(predicted, dead)["C"]



Copyright © 2004-2006 Graham.Williams@togaware.com
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.