Hello
I am trying to conduct an entity fixed effects panel regression.
The dataset is perfectly balanced and I am trying to control for entity fixed effects. When I run the regression, the variable INDUSTRY that I have coded 1-19 to reflect the various industries in the dataset suffers collinearity and as such is omitted from the regression.
The function is:
xtreg dependent_variable independence_variable control_variables i.INDUSTRY, fe robust
I had a look at an earlier post and it mentioned that perhaps I am asking Stata to make the INDUSTRY variable, but it didn't work when I tried to do the solution provided on that forum.
Please can you help me resolve this issue?
Thank you.
Alex.
I am trying to conduct an entity fixed effects panel regression.
The dataset is perfectly balanced and I am trying to control for entity fixed effects. When I run the regression, the variable INDUSTRY that I have coded 1-19 to reflect the various industries in the dataset suffers collinearity and as such is omitted from the regression.
The function is:
xtreg dependent_variable independence_variable control_variables i.INDUSTRY, fe robust
I had a look at an earlier post and it mentioned that perhaps I am asking Stata to make the INDUSTRY variable, but it didn't work when I tried to do the solution provided on that forum.
Please can you help me resolve this issue?
Thank you.
Alex.
Comment