[R] How to get the 5th percentile( with a 95% CI )of the Kaplan-meier estimator?

From: 程燕 <cheng_lucy_at_hotmail.com>
Date: Sat, 28 Jun 2008 08:33:27 +0000

Hi, all dear R experts,  

    I am really stuck by how to get the 5th percentile( with a 95% CI )of the Kaplan-meier estimator of survival function P(T>t). I have a simulated sample of lifetime Ts, then I set the KM estimator
< km.fit<-survfit(Surv(T),type="kaplan-meier",data=Surv(T))
<quantile(km.fit,.05)

However, it gave "Error in order...". Does someone have some ideas of how to solve it( with a 95% CI )? Thanks a lot!!!  

Cheers,
Yan    



[[elided Hotmail spam]]

        [[alternative HTML version deleted]]



R-help_at_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. Received on Sat 28 Jun 2008 - 08:40:02 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 Sat 28 Jun 2008 - 10:31:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive