toy_df.Rd
A toy dataset provided in Maringe et al. (2020) to demonstrate the clone-censor weight approach.
toy_df
toy_df
A data frame with 200 rows and 12 columns:
patient identifier
observed follow-up time (time to death or 1 year if censored alive)
observed event of interest (all-cause death) 1: dead, 0:alive
time to surgery (NA if no surgery)
age at diagnosis
patient's sex
performance status at diagnosis
stage at diagnosis
deprivation score
Charlson's comorbidity index
route to diagnosis
Maringe, Camille, et al. "Reflection on modern methods: trial emulation in the presence of immortal-time bias. Assessing the benefit of major surgery for elderly lung cancer patients using observational data." International journal of epidemiology 49.5 (2020): 1719-1729.