Dear Profs and Colleagues,
I have panel data.
after regression, I realized that there exist heteroskedasticity and autocorrelation
in order to correct them simultaneously, I use neway
The question arises that whats the optimal lag lengths? How can I be assured that lag(4) or lag (3) or ... is the proper one?
Another question is that can I use newey with random effect ? because Hausman Test says to run random effect.
Any help appreciated.
Cheers,
Paris
I have panel data.
Code:
xtset NPC_FIC year Panel variable: NPC_FIC (unbalanced) Time variable: year, 2010 to 2020, but with gaps Delta: 1 year
Code:
reg mig_jump immi_sh firm_age foreign_aff i.sector i.region
Code:
newey mig_jump immi_sh firm_age foreign_aff i.sector i.region, lag(4) force
Another question is that can I use newey with random effect ? because Hausman Test says to run random effect.
Any help appreciated.
Cheers,
Paris
Comment