I am working with an unbalanced panel dataset of 60 developing countries (id) observed over 17 years.
My model is:
xtreg sdi fin fin_sqr urpop old_age political_violence log_cpi log_trade i.year, fe vce(cluster id) (fin_sqr is the quandaric term of fin)
I want to ensure that my inference is valid in the presence of heteroskedasticity, serial correlation within panels, and potential cross-sectional dependence.
I have run:
Is it appropriate to rely on xtreg …, fe vce(cluster id) to handle heteroskedasticity, serial correlation, and some degree of cross-sectional dependence?
Or should I prefer:
My model is:
xtreg sdi fin fin_sqr urpop old_age political_violence log_cpi log_trade i.year, fe vce(cluster id) (fin_sqr is the quandaric term of fin)
I want to ensure that my inference is valid in the presence of heteroskedasticity, serial correlation within panels, and potential cross-sectional dependence.
I have run:
- Pesaran CD test → cross-sectional dependence
- xtserial → serial correlation
- xttest3 → heteroskedasticity
Is it appropriate to rely on xtreg …, fe vce(cluster id) to handle heteroskedasticity, serial correlation, and some degree of cross-sectional dependence?
Or should I prefer:
- xtscc (Driscoll–Kraay),
- or reghdfe with HAC,
- or a CCE estimator (e.g., xtcce)?
- or any other models?

Comment