Hello,
My dependent variable is number of incidents in a region over different years. My region is unit and I'm trying to cluster also at unit.
To run xtpoission regression , is the following command correct where I wanted to include fixed effects of unit and year while clustering at unit?
Here the policy variable either takes the value 0 or 1. I'm trying to see how the policy affects the dependent variable y.
My dependent variable is number of incidents in a region over different years. My region is unit and I'm trying to cluster also at unit.
To run xtpoission regression , is the following command correct where I wanted to include fixed effects of unit and year while clustering at unit?
Code:
xi: xtpoisson yvar xvar controlvar policy i.year i.unit, robust i(unit) fe
Comment