I am analysing a panel data with n=19 (ID/panel variable i.e. countries) and T=44 (time variable) to understand the drivers of equity flows to emerging markets. Before estimating the model, I run following diagnostic tests:
1. Using -xttest3-, I find presence of Heteroskedasticity.
2. Using -xtserial-, no autocorrelation is found.
3. Using -xttest2-, I find presence of cross sectional dependence.
Moving on, based on these, I compute Robust Hausman Test using -xtoverid- after running -xtreg, re(robust)-. Robust Hausman Test suggests using FE model.
Now, I have to decide between -xtgls- & -xtscc-.
By using help xtscc, I find this:
-xtscc, fe- performs fixed-effects (within) regression with Driscoll-Kraay standard errors. These standard errors are robust to very general forms of cross-sectional ("spatial") and temporal dependence (provided that T is sufficiently large). If the residuals are assumed to be heteroscedastic only: use xtreg, fe robust.
On the other hand, -xtgls- fits panel-data linear models by using feasible generalized least squares. This command allows estimation in the presence of AR(1) autocorrelation within panels and cross-sectional correlation and heteroskedasticity across panels.
So, I have to choose between the following two commands:
1. xtscc depvar indepvars, fe
2. xtgls depvar indepvars, panels(correlated) corr(independent)
Which one should I choose?
Thanks.
Related Posts with -xtgls- vs -xtscc-?
Two ID variables for each rowHey all, In advance would like to say sorry for experienced users for asking this (just cannot find …
Blinder-Oaxaca Decomposition with group specific variablesI would like to run a Blinder-Oaxaca Decomposition on black-white differences. I have panel data whe…
Converting DMS coordinates to decimal in StataHi! Can someone please tell me if it's possible to convert DMS coordinates to decimal in Stata? I am…
stcox: Continuous Time Varying CovariatesWhen evaluating the effect of a continuous covariate that changes from one wave to the next, (in thi…
how to split datae and timedateofvisit 1/25/2020 1:02 1/12/2020 11:55 variable type double. how can i split date and time in to…
Subscribe to:
Post Comments (Atom)
0 Response to -xtgls- vs -xtscc-?
Post a Comment