Announcement

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

  • Expoisson command error: factor-variable and time-series operators not allowed

    I am running an expoisson model on a summarized dataset and faced a issue when i added a covariate with 3 categories.
    Code:
    expoisson NADM i.yearcat, exposure(Persondays) irr
    Any one know a workaround? i want IRRs of each category compared to the first..
    Thanks

  • #2
    use the -xi- prefix; see
    Code:
    h xi

    Comment


    • #3
      I think that worked! thank you- this is so useful for similar models that dont allow factor variables.

      Comment

      Working...
      X