Does it make sense to control for year dummies by using the i.year command for OLS and fixed effects estimation, to compare the two models?
For example
reg a b c i.year, robust
xtreg a b c i.year, robust fe
And compare the two models, or is it unnecessary to use the i.year command in one of them?
In the fixed effects estimation, I want to make sure the effects are fixed for years and individuals. Does the fe command automatically do that or would I use i.year too?
For example
reg a b c i.year, robust
xtreg a b c i.year, robust fe
And compare the two models, or is it unnecessary to use the i.year command in one of them?
In the fixed effects estimation, I want to make sure the effects are fixed for years and individuals. Does the fe command automatically do that or would I use i.year too?
Comment