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 x1, x2, and y in this function. Please kindly help and thank you. Elaine [[alternative HTML version deleted]]
Frank E Harrell Jr
2010-Jan-04 12:58 UTC
[R] Are unpaired data suitable for Hmisc's improveProb ?
improveProb, as the documentation says, takes two predicted probabilities and one outcome variable as its inputs. The predictions must be on the same subjects so improveProb only handles paired data. Frank 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 x1, x2, and y in this > function. > > Please kindly help and thank you. > > Elaine > > [[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