A simulated dataset from the 2/1 partially nested design with treatment-incuded clustering
data_inA data frame with 400 rows and 8 variables:
Outcome.
Cluster assignment in the treatment arm.
Treatment assignment. 1 for individuals assigned to the treatment arm. 0 for individuals assigned to the control arm. The control arm is unclustered.
Baseline covariates.
Baseline covariates.
Baseline covariates.
Baseline covariates.
Individual id.