I have annual panel data on firms. Data is structured as firm-year. Firms are nested within states. I wish to investigate both within and between variation of different firm properties (some of which are time invariant) on some outcome variable. Thus I cannot use a firm FE model.
I do wish to account for different time-invariant properties of the states the firms operate in though - which can be done via state FE.
The question is, which model is more appropriate? Random Effects at the firm level with state FE or rather "regular" OLS with state FE, what are the different assumptions underlying either model?
"Speaking stata", the models are:
I do wish to account for different time-invariant properties of the states the firms operate in though - which can be done via state FE.
The question is, which model is more appropriate? Random Effects at the firm level with state FE or rather "regular" OLS with state FE, what are the different assumptions underlying either model?
"Speaking stata", the models are:
Code:
xtset firm year *firm random effects with state FE* xtreg y x1-x5 i.state, re *OLS with state FE* reg y x1-x5 i.state areg y x1-x5, absorb(state) reghdfe y x1-x5, absorb(state)
Comment