s-news
[Top] [All Lists]

Confidence interval for survival function

To: S-News <s-news@lists.biostat.wustl.edu>
Subject: Confidence interval for survival function
From: Tristan Lorino <tristan.lorino@lcpc.fr>
Date: Tue, 20 May 2008 15:50:45 +0200
Organization: LCPC
Reply-to: Tristan Lorino <tristan.lorino@lcpc.fr>
Hi,

I try to plot on the same graph three survival functions (KM, Weibull
and Cox) with their confidence intervals:

> weibfit_survReg(Surv(time,status)~1, data=Cens)
> coxfit <- coxph(Surv(time,status) ~ 1, data=Cens)
> x_seq(0,10,by=.3)
> plot(survfit(Surv(time,status), data=Cens),ylim=c(.4,1))
> points(survfit(coxfit), type="l",col=2)
> points(x,1-pweibull(x, 1/weibfit$scale, exp(coef(weibfit))),type="l",col=3)

Is there a simple way to obtain CI for Weibull and Cox survival
curves? Conf.type and conf.int options do not change the output.

Thanks in advance,

Tristan Lorino


-- 
Laboratoire central des ponts et chaussées
[Division ESAR — Section AGR]
Route de Bouaye BP 4129
44341 Bouguenais Cedex
France
Tél 33 (0)2 40 84 56 18
Fax 33 (0)2 40 84 59 92


<Prev in Thread] Current Thread [Next in Thread>