Dear stata listeners,
I would like to estimate the effect size of two terms and their interaction in a linear mixed model (while controlling for a set of 5 covariates). and I'm not a stata expert so, any kind of suggestion would be much appreciated.
The syntax for my model is:
xtmixed `var' cov1 cov2 cov3 cov4 cov5 group##sex || Site:
Both group and sex have two levels.
I need effects size (and CI) of:
- group
- sex
- group by sex
Could you help me to find out the easiest way to get them?
I checked out this:
https://stats.idre.ucla.edu/stata/fa...ize-for-mixed/ but, honestly, I found it difficult to understand the procedure.
Also, I thought to estimate cohen's d using
margins, over(group)
margins, over(Sex)
margins, over(group Sex)
and estimating SD from SE, but I'm guessing this is NOT an efficient strategy, also not sure how to calculate the interaction term effect size in this way.
I'm a stata newbie so, any suggestion would be much appreciated.
Thanks for your help
Gloria
I would like to estimate the effect size of two terms and their interaction in a linear mixed model (while controlling for a set of 5 covariates). and I'm not a stata expert so, any kind of suggestion would be much appreciated.
The syntax for my model is:
xtmixed `var' cov1 cov2 cov3 cov4 cov5 group##sex || Site:
Both group and sex have two levels.
I need effects size (and CI) of:
- group
- sex
- group by sex
Could you help me to find out the easiest way to get them?
I checked out this:
https://stats.idre.ucla.edu/stata/fa...ize-for-mixed/ but, honestly, I found it difficult to understand the procedure.
Also, I thought to estimate cohen's d using
margins, over(group)
margins, over(Sex)
margins, over(group Sex)
and estimating SD from SE, but I'm guessing this is NOT an efficient strategy, also not sure how to calculate the interaction term effect size in this way.
I'm a stata newbie so, any suggestion would be much appreciated.
Thanks for your help
Gloria
Comment