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 ______________________________________________ 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.