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
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
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
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
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
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
6 matches
Mail list logo