wanr@ucalgary.ca
2004-Sep-13 06:23 UTC
[R] How to bootstrap Kaplan-Miere estimator with 95% envelope
Hi all, Given a typical right-censoring data which contains a time variable and a censoring indicator. How do we bootstrap samples to obtain a 95% envelope for the estimated cumulative hazard function? Thanks in advance. Rui
Frank E Harrell Jr
2004-Sep-13 11:18 UTC
[R] How to bootstrap Kaplan-Miere estimator with 95% envelope
wanr at ucalgary.ca wrote:> Hi all, > > Given a typical right-censoring data which contains a time variable and a > censoring indicator. How do we bootstrap samples to obtain a 95% envelope > for the estimated cumulative hazard function? > > Thanks in advance. > > Ruibootkm in the Hmisc package does not compute confidence intervals for the whole curve, only for one time point or one quantile of survival time, but it shows how to bootstrap K-M quickly using survfit.km in the survival package. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University