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
Collapse command, OLS regression, and weighing per groupHello everyone, I am analyzing a large dataset with STATA, and am utilizing OLS regression to try t…
switch_probitHello Statalist, I am trying to use switch_probit for an endogenous switching model. I once used it…
Move selected observations one variable/column to the rightHello. Please consider my data: Code: * Example generated by -dataex-. To install: ssc install dat…
Using SEM for estimation of a RI-CLPMI am trying to estimate a random intercept cross lagged panel model (RI-CLPM), as recommended by Ham…
Creating new variable from other variablesHello; I am trying to merge some variables to create a new variable. To expand, I am trying to cre…
Subscribe to:
Post Comments (Atom)
0 Response to xtmixed
Post a Comment