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 © Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010