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

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

"Tianxu" <> wrote in

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

See section 4 of Fox's contribution:



<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

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.

list of date sections of archive