程燕
2008-Jun-28 08:33 UTC
[R] How to get the 5th percentile( with a 95% CI )of the Kaplan-meier estimator?
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]]
