Announcement

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

  • Problem with the ivpois syntax

    I am not super familiar with Stata and I am trying to run the following syntax:

    Code:
    xi: ivpois depvar Crime_Rate_H i.Urbanisation_Dummy i.Size_Dummy i.industry i.Constraint_A_Dummy i.Constraint_B_Dummy i.year i.iso3c exog(myexogvar) endog(myendogvar)
    Which results in the error:
    Code:
    factor-variable and time-series operators not allowed
    r(101);
    I was under the impression that the
    Code:
    xi:
    part was supposed to solve this.

    Could someone perhaps tell me which syntax rule I am breaking? I did not do any special coding for the variables. Database turned into .dta from R.

  • #2
    I noticed I just forgot a comma.. Can I somehow delete this post?

    Comment


    • #3
      Hello Tom,

      I have the same problem as you. I want to control factor-variable and time-series operators but it doesn't work whether it is in front or behind the comma.
      Did you solve it and can you give me any advice? Thank you very much!

      Iris

      Comment

      Working...
      X