Re: [R] Compare mean survival time

From: Corey Sparks <>
Date: Wed, 20 Feb 2008 08:00:38 -0600

Xing Yuan wrote:
> Dear List,
> Does anybody no how to compare mean survival times for two (more) groups in
> R? What test statistics should I use?

You should be careful considering the mean survival time, because censoring in survival data often makes the mean less informative. The median survival time is what is generally recommended for testing (i.e. in survdiff) and the statistical test of the median survival times following the methods in Harrington and Fleming (1982) Biometrika v.69 pp553-566.


Corey S. Sparks, Ph.D.

Assistant Professor
Department of Demography and Organization Studies University of Texas San Antonio
One UTSA Circle
San Antonio, TX 78249

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 20 Feb 2008 - 14:06:49 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 Wed 20 Feb 2008 - 14:30:16 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive