Compute bootstrap percentile confidence intervals for competing risks estimates
Source:R/competing-risks.R
get_boot_pci_cr.RdComputes the 2.5th and 97.5th percentiles of the bootstrap distribution for
each column of a matrix of bootstrap estimates. Intended for competing
risks quantities (e.g. cumulative incidence at a set of time points, or
Fine-Gray regression terms), where each bootstrap replicate produces more
than one estimate, unlike the single scalar log hazard ratio handled by
get_boot_pci_se().
Arguments
- boot_mat
A numeric matrix of bootstrap estimates, with one row per bootstrap replicate and one column per estimand (e.g. time point or regression term), as returned by row-binding the results of multiple calls to
cuminc_waverage_cr(),cuminc_ipcw_cr(), orfg_weighted_cr().