Hi guys, the model i built is xtreg y x1 x2 x3 i.year i.industry_code,fe
I'm trying to control the year effect, industry effect and firm fixed effect. But a reviewer pointed out that if the industry effect and firm fixed effect are included in a regression simultaneously, the industry effect will be omitted, since the industry effect and firm fixed effect are both time-invariant. It sounds right because the estimation is within-group.
However, the question is the results are different when I run
and
like the coefficients of independent variables from the two regressions are different
Then how to explain the difference if the industry effect will be omitted in the estimation?
I'm trying to control the year effect, industry effect and firm fixed effect. But a reviewer pointed out that if the industry effect and firm fixed effect are included in a regression simultaneously, the industry effect will be omitted, since the industry effect and firm fixed effect are both time-invariant. It sounds right because the estimation is within-group.
However, the question is the results are different when I run
Code:
xtreg y x1 x2 x3 i.year i.industry_code,fe
Code:
xtreg y x1 x2 x3 i.year ,fe
Then how to explain the difference if the industry effect will be omitted in the estimation?
Comment