I am not super familiar with Stata and I am trying to run the following syntax:
Which results in the error:
I was under the impression that the
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.
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)
Code:
factor-variable and time-series operators not allowed r(101);
Code:
xi:
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.
Comment