Calculate standard errors for estimated CIFs and treatment effects
Source: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.
Value
A list including
- time
Time points in both groups.
- cif1
Estimated cumulative incidence function in the treated group.
- cif0
Estimated cumulative incidence function in the control group.
- se1
Standard error of the estimated cumulative incidence function in the treated group.
- se0
Standard error of the estimated cumulative incidence function in the control group.
- ate
Estimated treatment effect (difference in cumulative incidence functions).
- se
Standard error of the estimated treatment effect.
- strategy
Strategy used.
- method
Estimation method used.