Hi all, I am trying to run a panel model with fixed effects for year and state. If you xtset your data, does that automatically include fixed effects for those variables, or do you need to include dummy variables as well? In other words, which model is correct?
xtset state year
xtnbreg DV IV
or
xtset state year
xtnbreg DV IV i.state i.year
xtset state year
xtnbreg DV IV
or
xtset state year
xtnbreg DV IV i.state i.year
Comment