boot_probtrans function

Bootstrap confidence intervals for transition probabilities

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)

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

Returns

Interval estimates for transition probabilities.

See Also

probtrans_ebmstate; boot_coxrfx; transMat; expand.covs

Author(s)

Rui Costa

  • Maintainer: Rui Costa
  • License: GPL (>= 3)
  • Last published: 2024-10-19

Useful links