Announcement

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

  • Factor not found in list of covariates

    Hello,

    I have tried searching for an answer to my question but have not be able to find one. I am running a multilevel model on Stata with a three way interaction and would like to use the contrast command to be able to report the interaction, however I am met with the following message:
    factor scl90_tot not found in the list of covariates


    My model is as follows:

    Code:
    mixed hr_mean i.sessie##i.sample##c.scl90_tot demo_age demo_sex || subjno: sample, cov(un) || sessie: sample, cov(un)
    The model runs fine, but it somehow doesn't recognize scl90_tot for the contrast command.

    Any suggestion as to how I could proceed? I have tried a few things but none have yielded any results.

    Thank you in advance
Working...
X