hello
I have a panel data, where I set panelvariable
gives me the same results as
and
Thats ok =)
So my fixed effects model is controlling for ID and TIME. Because the IDs (a company) seldom change industry, the firm fixed effects controls also for industry effects.
Now, when I want control for industry anyways, I try:
warning: existing panel variable is not INDUSTRY
My problem is now, thru excluding the variable (which is even not a panel variable set with -xtset- ID Year), I get strong significant coefficients t >2.7 and a big difference, although the industry effects shuld be covered through -fe robust- in the first equation. Shuld I try to mix ID with INDUSTRY, and then set
Can this work??
Uff, thank you
I have a panel data, where I set panelvariable
Code:
-xtset ID Year-
Code:
-xtreg X Y, fe robust -
Code:
-xtreg X Y, fe i(ID)-
Code:
-areg X Y , absorb (ID).
So my fixed effects model is controlling for ID and TIME. Because the IDs (a company) seldom change industry, the firm fixed effects controls also for industry effects.
Now, when I want control for industry anyways, I try:
Code:
xtreg X Y, fe i(INDUSTRY)
My problem is now, thru excluding the variable (which is even not a panel variable set with -xtset- ID Year), I get strong significant coefficients t >2.7 and a big difference, although the industry effects shuld be covered through -fe robust- in the first equation. Shuld I try to mix ID with INDUSTRY, and then set
Code:
-xtset ID*INDUSTRY Year-
Uff, thank you
Comment