Hey y'all,
I am having issues converging a logit fixed effect model, which I want to run in order to conduct a Hausman test. The dependent variable is whether the wage is round or not. The explanatory variables are the wage level (wage) and the price level (cpi_5). The fixed effect is cty_gr which are regions. This is the code that does not converge:
In order to work around this issue, I did the following:
This works, but I was wondering if the two logit fixed effects models are computationally the same and why the first one does not work.
Cheers!
I am having issues converging a logit fixed effect model, which I want to run in order to conduct a Hausman test. The dependent variable is whether the wage is round or not. The explanatory variables are the wage level (wage) and the price level (cpi_5). The fixed effect is cty_gr which are regions. This is the code that does not converge:
Code:
xtset cty_gr xtlogit round wage cpi_5, fe
Code:
logit round wage cpi_5 i.cty_gr estimates store fe xtset cty_gr xtlogit round wage cpi_5, re estimates store re hausman fe re
Cheers!

Comment