Bootstrap confidence intervals for transition probabilities
Generates 95% highest density bootstrap interval estimates for transition probabilities computed using probtrans_ebmstate
(clock-reset version).
boot_probtrans(coxrfx_fits_boot, patient_data, tmat, initial_state, max_time)
coxrfx_fits_boot
: The list of CoxRFX objects obtained by running boot_coxrfx
.patient_data
: (Single) patient data in long format
, possibly with expanded
covariates (as obtained by running mstate::expand.covs
).tmat
: Transition matrix for the multi-state model, as obtained by running mstate::transMat
initial_state
: The initial state for which transition probability estimates should be computedmax_time
: The maximum time for which estimates should be computedInterval estimates for transition probabilities.
probtrans_ebmstate
; boot_coxrfx
; transMat
; expand.covs
Rui Costa
Useful links