Description Usage Arguments Value Author(s) References
View source: R/ipw.bootstrap.ph2.R
To generate the empirical distribution for estimated sub-distribution hazard functions and regression coefficients, we adopted the two-phase weighted bootstrap procedure (Hyun et al, reference). We fit ipw.pi.competing function from main.R to the bootstrap weighted data.The most arguments except for three arguments, n.boot, parallel, n.core are necessary for fitting "ipw.pi.competing" function.
1 2 3 4 5 |
n.boot |
the number of replications for bootstrap resampling |
parallel |
if parallel=TRUE, n.core should be specified. Default to FALSE. |
n.core |
the nummber of cores for parallel computing |
The output is a list of class ipw.bootstrap.ph2, which contains the following elements.
reg.coef: estimated regression coefficients
time finite time points at which subdistribution hazards are estimated
subdist.hazard1 estimated subdistribution hazard function for event 1
subdist.hazard2 estimated subdistribution hazard function for event 2
Noorie Hyun, nhyun@mcw.edu, Xiao Li xiaoli@mcw.edu
Hyun N, Katki HA, Graubard BI. Sample-Weighted Semiparametric Estimation of Cause-Specific Cumulative Risk and Incidence Using Left or Interval-Censored Data from Electronic Health Records. Statistics in Medicine 2020; under the 2nd review.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.