Learn R Programming

ebmstate (version 0.1.5)

boot_probtrans: Bootstrap confidence intervals for transition probabilities

Description

Generates 95% highest density bootstrap interval estimates for transition probabilities computed using probtrans_ebmstate (clock-reset version).

Usage

boot_probtrans(coxrfx_fits_boot, patient_data, tmat, initial_state, max_time)

Value

Interval estimates for transition probabilities.

Arguments

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 computed

max_time

The maximum time for which estimates should be computed

Author

Rui Costa

See Also

probtrans_ebmstate; boot_coxrfx; transMat; expand.covs