Re: [R] median survival

2014-01-29 Thread Therneau, Terry M., Ph.D.
Actually, it's worse than you think. Ideal: if the survival curve has a horizontal segment at exactly 50%, report the midpoint of that segment. For uncensored data, this makes the routine agree with the ordinary definition of a median. Reality: The survfit routine tries for this. However, due

Re: [R] median survival

2014-01-28 Thread array chip
please ignore. actually the median survival from survfit() is the mean of the 2 time points. To: R help Sent: Tuesday, January 28, 2014 11:27 AM Subject: [R] median survival Hi, if 50% survival probability horizontal line in a Kaplan-Meier survival

[R] median survival

2014-01-28 Thread array chip
Hi, if 50% survival probability horizontal line in a Kaplan-Meier survival curve overlap one of the step line between 2 time points t1 and t2, the survfit() from survival package estimates median survival as t2 (the longest time point). But I saw some articles (page 23: http://www.amstat.org/ch

Re: [R] median survival time from survfit

2011-03-18 Thread Dunia Scheid
Many thanks! 2011/3/18 Marc Schwartz > On Mar 18, 2011, at 6:06 AM, Dunia Scheid wrote: > > > Hello, > > > > I am trying to compute the mdeian of the survival time from the function > > survfit: > > > >> fit <- survfit(Surv(time, status) ~ 1) > >> fit > > Call: survfit(formula = Surv(time, statu

Re: [R] median survival time from survfit

2011-03-18 Thread Marc Schwartz
On Mar 18, 2011, at 6:06 AM, Dunia Scheid wrote: > Hello, > > I am trying to compute the mdeian of the survival time from the function > survfit: > >> fit <- survfit(Surv(time, status) ~ 1) >> fit > Call: survfit(formula = Surv(time, status) ~ 1) > > records n.max n.start events median 0.95

[R] median survival time from survfit

2011-03-18 Thread Dunia Scheid
Hello, I am trying to compute the mdeian of the survival time from the function survfit: > fit <- survfit(Surv(time, status) ~ 1) > fit Call: survfit(formula = Surv(time, status) ~ 1) records n.max n.start events median 0.95LCL 0.95UCL 111 111 111 20 NA NA NA