Hi everybody,
For my research I have to do multiple regressions with panel data.
1. including year fixed effects
2. including year and firm fixed effects
3. including firm fixed effects and industry-times-year fixed effects
For the first one I did:
xtreg y var1 var2 var3 i.year, fe
But for both the second and the third one, I got a bit stuck, because you cannot simply add i.firm to the regression right?
Someone an idea how to fix this?
Thanks!
For my research I have to do multiple regressions with panel data.
1. including year fixed effects
2. including year and firm fixed effects
3. including firm fixed effects and industry-times-year fixed effects
For the first one I did:
xtreg y var1 var2 var3 i.year, fe
But for both the second and the third one, I got a bit stuck, because you cannot simply add i.firm to the regression right?
Someone an idea how to fix this?
Thanks!
Comment