[R] How to obtain a 95% envelope for the estimated cumulative risk function from bootstrap samples

2004-09-10 Thread wanr
Hi all, I am trying to replicate the results from a paper. The problems are in the setting of survival analysis. The hypothetical data is displayed as follows. ID time status 1 81 0 2 42 1 3 37 1 4 54 0 5 35 0 6 38 1 7 29

[R] How to obtain a 95% envelope for the estimated cumulative risk function from bootstrap samples

2004-09-10 Thread wanr
Hi all, The hypothetical data is displayed as follows. ID time status 1 81 0 2 42 1 3 37 1 4 54 0 5 35 0 6 38 1 7 29 0 8 40 0 Question 1: How to obtain a 95% envelope for the estimated cumulative risk func