Skip to content
Back to formatted view

Raw Message

Message-ID: <4B41E5ED.60609@vanderbilt.edu>
Date: 2010-01-04T12:58:21Z
From: Frank E Harrell Jr
Subject: Are unpaired data suitable for Hmisc's improveProb ?
In-Reply-To: <c895d7a51001040431y4ab8da8ar4a77fca85f9119d5@mail.gmail.com>

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