[R] Sample size AUC for ROC curves

Greg Snow Greg.Snow at imail.org
Tue Aug 9 19:45:12 CEST 2011


If you know how to generate random data that represents your null hypothesis (chance, auc=0.5) and how to do your analysis, then you can do this by simulation, simulate a dataset at a given sample size, analyze it, repeat a bunch of times and see if that sample size is about the right size.  If not, do it again with a different sample size until you find one that works for you.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Karl Knoblick
> Sent: Monday, August 08, 2011 3:29 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Sample size AUC for ROC curves
> 
> Hallo!
> 
> Does anybody know a way to calculate the sample size for comparing AUC
> of ROC
> curves against 'by chance' with AUC=0.5 (and/or against anothe AUC)?
> 
> Thanks!
> Karl
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list