Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help including covariables in a mixed effects model

    Hi All!

    So, I am a little stuck on something. I have a 2 (group) x 2 (intervention) x 4 (time) mixed effects model. The participants (in 2 groups) were test at pre-test, post-test, and 2 follow-up points. Here is my code:

    mixed believe i.time##dx##cond || id:

    However, I wish to include the pre-test scores as a covariate to help control for baseline differences. Any idea how to do this? Thanks for the help in advance, it is so appreciated!

  • #2
    I think I figured it out! I just made a new variable with the pre-test scores. Then I added it to the code:

    mixed believe i.time##dx##cond pretest || id:


    Comment

    Working...
    X