ZHIYAO YI posted on Tuesday, October 15, 2019 - 7:49 pm
Dear Dr. Muthen,
I want to generate a dataset that have individuals repeatedly measured before and after intervention as follow and analyze it using DSEM models. I need to separate pre and post tests as two separate variables. Could you help or recommend me any reading materials that have this type of data pattern? Is there a way to generate data with no observation at particular time points. Thank you so much in advance.
id phase obs pre post 1 1 1 Y1 no 1 1 2 Y2 no 1 1 3 Y3 no 1 2 1 no Y4 1 2 2 no Y5 1 2 3 no Y6 ...