Hi to all,
I have panel data for municipalities and I am trying to estimate the following model:
Where x1, x2 and x3 are time-variant variables, while x4 is not. I know that FE models don't allow time-invariant variables because you use FE precisely to make those constant and "control" for individual characteristics (Stata will drop these due to collinearity with the id). Nontheless, one of those time-invariant variables is important to my estimation. Is there a way to estimate the same fixed effects model with the time-invariant variable (x4)?
I have seen in some papers that they multiply the time-invariant variable with the time variable (something like x3X2000 or any year), but I don't know what is the theory behind this.
Any thoughts?
Thanks in advance,
Iván
I have panel data for municipalities and I am trying to estimate the following model:
Code:
xtset id year xtreg depvar x1 x2 x3 x4 i.year, fe
I have seen in some papers that they multiply the time-invariant variable with the time variable (something like x3X2000 or any year), but I don't know what is the theory behind this.
Any thoughts?
Thanks in advance,
Iván
Comment