A handful of datasets simulated from an MMRM mechanism. These data sets are used for unit testing and for comparing results against other software, such as Stata and SAS, as well as models from other packages. All datasets have two arms and 4 timepoints, with some outcome values missing at random.
sim_mmrm_missing: A dataset with 20 subjects per arm. All subjects have at least one missing value.
sim_mmrm_20: 20 subjects per arm with values missing at random.
sim_mmrm_40: 40 subjects per arm with values missing at random.
sim_mmrm_60: 60 subjects per arm with values missing at random.
sim_mmrm_80: 80 subjects per arm with values missing at random.
sim_mmrm_100: 100 subjects per arm with values missing at random.
Format
sim_mmrm
- n_subs
number of subjects per arm
- subject
subject ID
- arm
arm code (0 or 1)
- base
baseline score
- time
time point of measurement (1-4)
- mus
mean score at timepoint
- chg
change from baseline at timepoint (chg = mus + residual error)
An object of class spec_tbl_df
(inherits from tbl_df
, tbl
, data.frame
) with 160 rows and 7 columns.
An object of class spec_tbl_df
(inherits from tbl_df
, tbl
, data.frame
) with 160 rows and 7 columns.
An object of class spec_tbl_df
(inherits from tbl_df
, tbl
, data.frame
) with 320 rows and 7 columns.
An object of class spec_tbl_df
(inherits from tbl_df
, tbl
, data.frame
) with 480 rows and 7 columns.
An object of class spec_tbl_df
(inherits from tbl_df
, tbl
, data.frame
) with 640 rows and 7 columns.
An object of class spec_tbl_df
(inherits from tbl_df
, tbl
, data.frame
) with 800 rows and 7 columns.