My data are unbalanced panel with large N and small T (6 years).
I plan to run a regression like this (cluster2 is written by Mitchell Petersen http://www.kellogg.northwestern.edu/...rogramming.htm)
cluster2 Y X1 X2 X3 industry_dummies year_dummies, fcluster(firm_id) tcluster(year_id)
The reason for including year fixed effects is that there could be some exogenous shock (such as macroeconomic shock) in some years that affect all firms in the same year.
The reason for clustered standard errors by year is that I think the errors for firms within the same year could be correlated due to some unobserved or unknown factors.
Stata allows me to run it, but my question is whether it is theoretically correct to include year_dummies (for year fixed effects) and then cluster the standard errors by year again?
Thank you.
I plan to run a regression like this (cluster2 is written by Mitchell Petersen http://www.kellogg.northwestern.edu/...rogramming.htm)
cluster2 Y X1 X2 X3 industry_dummies year_dummies, fcluster(firm_id) tcluster(year_id)
The reason for including year fixed effects is that there could be some exogenous shock (such as macroeconomic shock) in some years that affect all firms in the same year.
The reason for clustered standard errors by year is that I think the errors for firms within the same year could be correlated due to some unobserved or unknown factors.
Stata allows me to run it, but my question is whether it is theoretically correct to include year_dummies (for year fixed effects) and then cluster the standard errors by year again?
Thank you.