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
drawing sample of coefficients from a vce or correlation matrixHi everyone, I have a vce matrix as well as its corresponding correlation matrix which I obtained af…
Stata regression command helpHi everyone! I am working on a project where I will be studying how subcontracting affects the abil…
Regression discontinuity in time and logit approachHi all, I have got a question concerning a regression discontinuity design with time series data. …
how to save a vce output of biprobit model in excel and RHi everyone, I ran a biprobit model and used a post-estimation command of "estat vce" and "estat vce…
sorting dataHi Stata Forum, I have a long dataset of hospitalization data. I am looking at number of lower limb…
Subscribe to:
Post Comments (Atom)
0 Response to xtmixed
Post a Comment