I have a question regarding my xtreg model. I am uncertain whether I should include yearly fixed effects or not. I am already using fixed effects at the community level. The following code suggests that I should include yearly fixed effects:
xtreg var1 var2 i.year, fe robust
testparm i.year
However, the RESET test indicates a misspecification as soon as I include yearly fixed effects. Without yearly fixed effects, no misspecification is apparent.
xtreg var1 var2 i.year, fe robust
predict fit, xb
gen fit2=fit^2
xtreg var1 var2 i.year fit2, fe robust
test fit2=0
Does it make sense to use yearly fixed effects or not?
Many thanks!
xtreg var1 var2 i.year, fe robust
testparm i.year
However, the RESET test indicates a misspecification as soon as I include yearly fixed effects. Without yearly fixed effects, no misspecification is apparent.
xtreg var1 var2 i.year, fe robust
predict fit, xb
gen fit2=fit^2
xtreg var1 var2 i.year fit2, fe robust
test fit2=0
Does it make sense to use yearly fixed effects or not?
Many thanks!
Comment