Skip to main content
. 2021 Oct 30;21:235. doi: 10.1186/s12874-021-01433-4

Table 3.

Description of variables used in simulation study 1

Variable Description Method of generation
Yij Continuous outcome for patient i in episode j Generated based on model [5]
Zij Treatment allocation (0 = control, 1 = intervention) for patient i in episode j Bernoulli random variable with probability of 0.5 (implying simple randomisation
Xepij Indicator for episode 2 NA
XMi Indicator for number of episodes patient experiences (0 = 1 episode, 1 = 2 episodes); equivalent to Mi NA
Zi, j − 1 Treatment allocation for patient i in episode j − 1; equal to 0 for episode 1 NA
XPLi Unobserved patient-level binary covariate, which is constant across episodes Bernoulli random variable with probability of 0.5
XELij Unobserved episode-level binary covariate, which can vary across episodes Bernoulli random variable with probability of 0.5
μi Random intercept for patient i N0,σμ2
εij Random error term for episode j in patient i N0,σε2