I am trying to run a poisson fixed effects model using gsem. Basically I want to duplicate the results from the following command after setting a panel data
Code:
xtpoisson dep_var ind_var, fe robust
The reason I want to use gsem is that I want to deal with endogeneity in my model and therefore need to run a structural model. I cannot explicitly add dummy variables for fixed effects as I have large number of fixed effects and Stata gets stuck trying to solve for the estimates. I need to absorb the estimates as the estimates themselves are not interesting in my analysis. I appreciate your response, any leads you can provide. Thanks