Useful functions beyond scope of simulation study
cuminc_weib()
Compute true cumulative incidence for one of two competing events
rweibull_KM()
Sample from Weibull distirbution in K&M parametrisation.
nelsaalen_timefixed()
Compute Nelson Aalen estimate for simulated data
choose_standard_refpat()
Choose standard reference patient to predict
make_mstate_refpat()
Prepare reference patient to predict with probtrans
pool_morisot()
Pooling probabilities based on complementary log-log transformation
ggplot_nlp()
Custom ggplot-based nested loop plots
Summarised simulation data and synthetic version of applied dataset
dat_mds_synth
Synthetic version of MDS long-term data
mds_shape_rates
Estimated baseline hazard parameters from MDS data
preds_results
Summarised simulation results - predictions
regr_results
Summarised simulation results - regression coefficients
scenarios
Scenarios table for simulation study