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
Issues with Time-Invariant Variables when using Stack Command in panel regressionHi everyone - I'm trying to use the stack command to compare the effects of the same independent va…
Adding dots to the top of a line in graph twowayHi all, I am trying to put dots on certain months similar to the graph below. Do you know how to do …
Rounding off long decimals after importing from excelDear Statalist forum, I am encountering an issue that seems to be trivial, but so far I have not fo…
Postestimation for mlogit: statistically significant differences in predicted probabilitiesI ran multinomial logit model (code below). Dependent variableis gender (M, F, Unknown). Model has o…
gsem: Same code, no longer workingHello, I am using gsem in Stata 15 for an LCA, and although I have been using Stata for some time, …
Subscribe to:
Post Comments (Atom)
0 Response to xtmixed
Post a Comment