Hello,
I'm facing a similar problem in STATA at the moment when trying to run a panel fixed effects model.
I'm trying to include state fixed effects, year fixed effects, and an interaction term capturing state-specific linear time trends. Currently, I'm using i.year (to capture year fixed effects), i.state (to capture state fixed effects), and c.year##i.state (to capture state-specific linear time trends). I initially tried using i.year##i.state to capture these trends but received a multicollinearity error message in STATA.
I'm wondering:
1) What is the difference between i. and c. (I was under the impression that c. provided the AVERAGE year effect, regardless of year...so I would think I want to use i.?)
2) If I include i.year, i.state AND the interaction term c.year##i.state (or i.year##i.state if I can get it to work) will there be multicollinearity in my regression?
Any advice would be much appreciated!
Thanks,
Becky
I'm facing a similar problem in STATA at the moment when trying to run a panel fixed effects model.
I'm trying to include state fixed effects, year fixed effects, and an interaction term capturing state-specific linear time trends. Currently, I'm using i.year (to capture year fixed effects), i.state (to capture state fixed effects), and c.year##i.state (to capture state-specific linear time trends). I initially tried using i.year##i.state to capture these trends but received a multicollinearity error message in STATA.
I'm wondering:
1) What is the difference between i. and c. (I was under the impression that c. provided the AVERAGE year effect, regardless of year...so I would think I want to use i.?)
2) If I include i.year, i.state AND the interaction term c.year##i.state (or i.year##i.state if I can get it to work) will there be multicollinearity in my regression?
Any advice would be much appreciated!
Thanks,
Becky
Comment