ddhazard
See the vignette 'Bootstrap illustration'
ddhazard_boot(ddhazard_fit, strata, unique_id, R = 100,
do_stratify_with_event = T, do_sample_weights = F, print_errors = F)
Returned object from a ddhazard
call
Strata to sample within. These need to be on an individual by individual basis and not rows in the design matrix
Unique ids where entries match entries of strata
Number of bootstrap estimates
TRUE
if sampling should be by strata of whether the individual has an event. An interaction factor will be made if strata
is provided
TRUE
if weights should be sample instead of individuals
TRUE
if errors should be printed when estimations fails
An object like returned from the boot
function