Learn R Programming

ebmstate

Source code for the R package 'ebmstate', a package for multi-state survival analysis under empirical Bayes Cox models.

Copy Link

Version

Install

install.packages('ebmstate')

Monthly Downloads

184

Version

0.1.5

License

GPL (>= 3)

Maintainer

Rui Costa

Last Published

October 19th, 2024

Functions in ebmstate (0.1.5)

msfit_generic

Compute subject-specific transition hazards.
joint_cum_hazard_function

Compute the cumulative hazard of leaving a given state
unique_paths

Find all possible paths until absorption from a given starting state
probtrans_by_convolution_clockforward

Compute transition probabilities under a clock-forward model using a convolution algorithm.
cumhaz_splines

Spline approximations of the cumulative hazard functions
probtrans_by_convolution_clockreset

Compute transition probabilities under a clock-reset model using a convolution algorithm.
ebmstate-package

Empirical Bayes multi-state Cox model
probtrans_by_convolution

Compute all transition probabilities from a given state using convolution
print.msfit

Print method for msfit objects generated by msfit_generic
probtrans_mstate

Compute subject-specific or overall transition probabilities
summary.coxrfx

A summary method for CoxRFX models
boot_coxrfx

Bootstrap confidence intervals for regression coefficients
MakeInteger

Convert factor to integer.
mstate_data

An example of long-format multistate data
msfit_object_sample

Estimated cumulative hazard rates under an empirical Bayes Cox model (example)
successful_transitions

Find the unique possible path until an absorbing state
probtrans_ebmstate

Compute subject-specific transition probabilities using convolution.
convolute_clockforward

Convolution function for clock-forward models
convolute_clockreset

Convolution function for clock-reset models
CIs_for_target_state

Ancillary function of boot_ebmstate.
CoxRFX

Empirical Bayes, multi-state Cox model
boot_ebmstate

Bootstrap samples and bootstrap interval estimates
boot_probtrans

Bootstrap confidence intervals for transition probabilities
probtrans_fft

Compute subject-specific transition probabilities using a convolution algorithm based on the Fast Fourier transform.
mstate_data_sample

A simulated event-history data set
print.coxrfx

Print method for CoxRFX objects
cumhazCIs_for_target_transition

Ancillary function of boot_ebmstate.
extract_function

Ancillary function to boot_ebmstate.
coxrfx_object_sample

Example of an empirical Bayes model fit
loo_ebmstate

Leave-one-out estimation