Dear stata users,
I am trying to analyze the effect of a intervention where we have used a cluster randomized design. There are three measure points, t1,t2 and t3 and the outcome variable is continuous. The individs are clustred in classes, the variable INT refer to grouptype; interventiongroup=1 and controllgroup=0; time =1,2 and 3.
I wonder if the model below are correct:
xtmixed Y i.time##i.INT||class:||id:,var
If I have understand this correctly this is a two-level linear model (level 1=individ and level 2=class) with random intercepts by individ and class?
Sunniva
Related Posts with xtmixed
Test for a trend of bacterial resistance against antibiotics over ten years periodDear statalist, Unfortunately, I posted this question one week on cross-validated and have yet to g…
Ignoring null values in sumI have a variable of "totalamountraised" that i would like to find the mean for. Some observations h…
Displaying symbols in value labelsHi, is there a way to display math symbols like "greater than or equal to" as value labels and have …
need equal spaces for unequal time points in x-axis of graphI'm trying to create a line graph showing trends in religiosity across five waves of survey data (2,…
random number generationusing stata 13 I have set a seed value and using gen random=runiform() generated random numbers. Whe…
Subscribe to:
Post Comments (Atom)
0 Response to xtmixed
Post a Comment