Re: [R] How to do survival analysis with time-related IVs?

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Mon, 21 Apr 2008 13:24:07 +0000 (UTC)

"Tianxu" <tc332_at_drexel.edu> wrote in
news:20080421012323.F06A311662F_at_smtp.mail.drexel.edu:

> 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_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.
Received on Mon 21 Apr 2008 - 13:45:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Apr 2008 - 14:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive