View source: R/bootstrap_and_leave_one_out.R
boot_probtrans | R Documentation |
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 |
patient_data |
(Single) patient data in 'long format', possibly with 'expanded' covariates
(as obtained by running |
tmat |
Transition matrix for the multi-state model, as obtained by running |
initial_state |
The initial state for which transition probability estimates should be computed |
max_time |
The maximum time for which estimates should be computed |
Interval estimates for transition probabilities.
Rui Costa
probtrans_ebmstate
; boot_coxrfx
;
transMat
; expand.covs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.