I have a partially nested three level model. The study randomised by sites and in each site I have coaches which just covered intervention groups. This is my model for outcome
mixed q_6m treat q_b || site: ||///
therapist:treat, nocons reml ///
residuals(independent, by(treat)) ///
dfmethod(sat)
I have the same for cost. I want to use equation model using gsem. Do you know how can I do this? I have tried
Gsem (cost6 <- cost_b treat M1[site] M2[therapist<site]* treat) (Y_6m <- treat Y_B M1[site] M2[therapist<site]* treat) . I don’t know if it is correct or not and I couldn’t add
, nocons reml ///
residuals(independent, by(treat)) ///
dfmethod(sat)
on it.
mixed q_6m treat q_b || site: ||///
therapist:treat, nocons reml ///
residuals(independent, by(treat)) ///
dfmethod(sat)
I have the same for cost. I want to use equation model using gsem. Do you know how can I do this? I have tried
Gsem (cost6 <- cost_b treat M1[site] M2[therapist<site]* treat) (Y_6m <- treat Y_B M1[site] M2[therapist<site]* treat) . I don’t know if it is correct or not and I couldn’t add
, nocons reml ///
residuals(independent, by(treat)) ///
dfmethod(sat)
on it.
Comment