[R] Compare mean survival time

Ben Bolker bolker at ufl.edu
Tue Feb 19 01:41:24 CET 2008


Xing Yuan <joe.yuan0309 <at> gmail.com> writes:

> 
> Dear List,
> 
> Does anybody no how to compare mean survival times for two (more) groups in
> R? What test statistics should I use?
> 
> Thank you very much!
> 
> Joe

  The question is probably a little bit too vague.  You should
certainly look at the survival package (which is 'recommended',
so included with R) -- if you really have individual-level survival
data, then survival analysis is more powerful than comparing mean
survival times (but not necessarily the same thing).  Try
Therneau and Grambsch (listed on the "books" page at www.r-project.org) ...

   Ben Bolker



More information about the R-help mailing list