Announcement

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

  • The error "factor-variable and time-series operators not allowed" when running xi: mixed command

    I wanted to see the interaction and used the command below and got the error message (factor-variable and time-series operators not allowed
    r(101)


    xi: mixed base_toi i.treat*i.time*i.riskgrp || id: , cov(exch) reml

    Any kind suggestions to improve the command?

  • #2
    Unless you've got an ancient version of Stata, you shouldn't be using xi:. Use factor variable notation. See

    Code:
    help factor variables
    I think the equivalent command is something like

    Code:
    mixed base_toi i.treat##i.time##i.riskgrp || id: , cov(exch) reml
    -------------------------------------------
    Richard Williams, Notre Dame Dept of Sociology
    StataNow Version: 18.5 MP (2 processor)

    EMAIL: [email protected]
    WWW: https://www3.nd.edu/~rwilliam

    Comment


    • #3
      Thank you so much Richard!

      Comment

      Working...
      X