I have two countries and different companies in those countries. I try to run a panel data regression analysis after declaring my data panel data. I use this command so far: xtreg dependent variable independent variable, fe after I checked with the Hausmann test.
However, I now got the task to control also for country of origin. And I thought that I could just give one country the dummy variable 0 and the other one 1, but when I then try to run the regression using
xtreg , dependent variable independent variable control variables dummy variables, fe
it says omitted for the dummy variable part.
Any idea how I can control for my country of origin?
However, I now got the task to control also for country of origin. And I thought that I could just give one country the dummy variable 0 and the other one 1, but when I then try to run the regression using
xtreg , dependent variable independent variable control variables dummy variables, fe
it says omitted for the dummy variable part.
Any idea how I can control for my country of origin?

Comment