"Tianxu" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 


> I am wondering how to do survival analysis with time-related IVs in
> R. For example,

See section 4 of Fox's contribution:

<http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf>

<http://cran.r-project.org/doc/contrib/Fox-Companion/cox-regression.txt>


<snip example>
 
> 
> And then run logistic regression using "censor" as the DV? 
> 

I was initially unclear about why you were running logistic regression on 
"censor", but perhaps you are trying to assess the non-informative 
censoring assumption? The R function that immediately comes to mind 
is glm( ...., family=binomial). Hmisc package also has lrm(...) and 
associated summary and diagnostic functions.

-- 
David Winsemius

______________________________________________
R-help@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.

Reply via email to