Simulate beta data
simulate_beta_random_effect_data(
subject_n = 50,
time_n = 5,
v = 2,
beta = as.matrix(c(-0.5, -0.5, 0.5)),
Z = NA,
s2 = 1,
sim_seed = 100
)
a named list
Y
Z
c
u
v
beta
s2
subject_ind
time_ind
the number of subjects
the number of time points
FILL
FILL
FILL
FILL
the random seed with which to simulate the data