elaine kuo
2010-Jan-04 12:36 UTC
[R] Are unpaired data suitable for DiagnosisMed's Diagnosis ?
Dear, I wanna to compare AUC generated by two distribution models using the same sample. The AUC for model 1 consists of two columns, column A for 0/1 and column B for probability, eahc with the same row number of 3000. The AUC for model 2 consists of two columns, column A for 0/1 and column B for probability, eahc with the same row number of 10000 rows. I am wondering what value I should put in for gold and test in this function. Please kindly help and thank you. Elaine [[alternative HTML version deleted]]
Frank E Harrell Jr
2010-Jan-04 13:00 UTC
[R] Are unpaired data suitable for DiagnosisMed's Diagnosis ?
elaine kuo wrote:> Dear, > > I wanna to compare AUC generated by two distribution models using the same > sample. > > The AUC for model 1 consists of two columns, column A for 0/1 and column B > for probability, eahc with the same row number of 3000. > The AUC for model 2 consists of two columns, column A for 0/1 and column B > for probability, eahc with the same row number of 10000 rows. > > I am wondering what value I should put in for gold and test in this > function. > > Please kindly help and thank you. > > ElaineHmisc's improveProb (Pencina's methods) exists because comparisons of AUC have low power. If you want to compare AUCs a more direct approach is with rcorrp.cens in Hmisc. You are confusing data for AUC which is a single summary measure. I don't think you are using the term AUC in the right context. Please consolidate your multiple queries into one note next time. Frank> > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >-- Frank E Harrell Jr Professor and Chairman School of Medicine Department of Biostatistics Vanderbilt University