Hi there,
I have a panel which id=company and time=monthly (1 to 120) for 10 years. I have controlled for time by including year dummies by manually adding them into the regression.
However, I want to do fixed effects but at a country level, not company. Each company has a dummy for the country they are in - could you let me know how to do this?
I would manually input the country dummies, but stata won't let me run the Hausman fe vs re unless I officially do the command with ", fe". So is there a command for changing what level you run fixed effects for (when the level is not the default id - company in this case), and therefore I can do the test.
I have a panel which id=company and time=monthly (1 to 120) for 10 years. I have controlled for time by including year dummies by manually adding them into the regression.
However, I want to do fixed effects but at a country level, not company. Each company has a dummy for the country they are in - could you let me know how to do this?
I would manually input the country dummies, but stata won't let me run the Hausman fe vs re unless I officially do the command with ", fe". So is there a command for changing what level you run fixed effects for (when the level is not the default id - company in this case), and therefore I can do the test.
Comment