Hi all, i am struggling pretty hard with my mixed effect model and I would really appreciate some help. I have a 4 (time) by 2 (intervention) model looking at a dependent variable of subjective anxiety ratings (on a scale of 0-100). Participants subjective anxiety was taken at pre-test, post-test, and 2 follow-up points.
The basic code is this: mixed anxiety i.time##intervention || id:
However, all participants completed measures of depression too. I added a co-ariate of baseline depression to the model and it was significant. I then added depression scores as an interaction like this: mixed anxiety i.time##cond c.depress##i.time c.depress##cond || id:
The interaction terms were also significant in Stata's read out. Where I am stuck is that I want to see how the depression scores affected the rate of change (or slope) from different time points. For instance, when people have higher depressive scores, does one intervention work better in reducing anxiety from pre-test to post-test.
I would love some insight on how to get these from the mixed model. Thanks in advance for your time!
The basic code is this: mixed anxiety i.time##intervention || id:
However, all participants completed measures of depression too. I added a co-ariate of baseline depression to the model and it was significant. I then added depression scores as an interaction like this: mixed anxiety i.time##cond c.depress##i.time c.depress##cond || id:
The interaction terms were also significant in Stata's read out. Where I am stuck is that I want to see how the depression scores affected the rate of change (or slope) from different time points. For instance, when people have higher depressive scores, does one intervention work better in reducing anxiety from pre-test to post-test.
I would love some insight on how to get these from the mixed model. Thanks in advance for your time!
Comment