This function estimates the bootstrap standard errors for the finite-dimensional model parameters and for the non-parametric cumulative hazard function under the assumption of independent censoring. Parallel computing using foreach has been used to speed up the computation.
boot.funI(
init,
resData,
X,
W,
lhat,
cumL,
dist,
k,
lb,
ub,
Obs.time,
n.boot,
n.iter,
ncore,
eps
)
Bootstrap standard errors for parameter estimates and for estimated cumulative hazard function.
Initial values for the finite dimensional parameters obtained from the fit of fitIndepCens
Data matrix with three columns; Z = the observed survival time, d1 = the censoring indicator of T and d2 = the censoring indicator of C.
Data matrix with covariates related to T
Data matrix with covariates related to C. First column of W should be a vector of ones
Initial values for the hazard function obtained from the fit of fitIndepCens
based on the original data
Initial values for the cumulative hazard function obtained from the fit of fitIndepCens
based on the original data
The distribution to be used for the dependent censoring time C. Only two distributions are allowed, i.e, Weibull
and lognormal distributions. With the value "Weibull"
as the
default
Dimension of X
lower boundary for finite dimensional parameters
Upper boundary for finite dimensional parameters
Observed survival time, which is the minimum of T, C and A, where A is the administrative censoring time.
Number of bootstraps to use in the estimation of bootstrap standard errors.
Number of iterations; the default is n.iter = 20
. The larger the number of iterations, the longer the computational time
The number of cores to use for parallel computation is configurable, with the default ncore = 7
.
Convergence error. This is set by the user in such away that the desired convergence is met; the default is eps = 1e-3