R/surv_boot.R
surv.boot.RdThis function calculates the standard error for the estimated potential cumulative incidence function and treatment effect. Two methods to calculate the standard error are considered: the asymptotic standard error based on the explicit formula and bootstrapping.
surv.boot(fit, nboot = 0, seed = 0)A list including
Time points in both groups.
Estimated cumulative incidence function in the treated group.
Estimated cumulative incidence function in the control group.
Standard error of the estimated cumulative incidence function in the treated group.
Standard error of the estimated cumulative incidence function in the control group.
Estimated treatment effect (difference in cumulative incidence functions).
Standard error of the estimated treatment effect.
Strategy used.
Estimation method used.