Hello!
I am conducting research into the determinants of FDI using panel data. From previous studies I have seen fixed effects is generally preferred when performing this research.
I have a panel of 16 countries and 22 years and have performed unit root tests on each variable to ensure they are stationary. After that I performed tests for heteroscedasticity and autocorrelation, and concluded autocorrelation and heteroscedasticity are present in the data. Is there any additional diagnostic tests to perform on the data before using the 'xtoverid' function to test whether to use RE or FE? (I've read in previous posts that Hausman test is invalid when autocorrelation and heteroscedastity is present).
After running
xtreg "depvar" "varlist", re vce(cluster country)
xtoverid
The p value returned is <0.05, which suggests that FE should be used.
Given my panel dynamics is the function 'xtgls' or 'xtreg,fe' to be used?
e.g
xtreg "depvar" "varlist", fe vce(cluster country)
or
xtgls "depvar" "varlist", panels(hetero) corr(ar1) force.
Many thanks if anyone can help!
Sam
Related Posts with Panel data- xtgls vs xtreg
tvgc - time-varying granger causalityHow can I solve this error in Stata? tvgc_cv(): 3499 mm_quantile() not found <istmt>: - funct…
Geocoding in StataI have address variable (~700k observations) and I would like to get latitude and longitude of the a…
Three-tier Multi-Level Model: violation of the assumptions of normality and heteroscedasticity Dear colleagues, I am working with educational data. To do so, I am using the classic three-level h…
How to set up a time-dependent Cox model in Stata?Hello everyone, I need to conduct an analysis, but the exposure can occur after the origin time. I h…
Lasso for selection of variables and running logit regression using selected variables in lassoHi all, Can someone help me please, I am assessing the impact of income(X1) on economic growth (Y) b…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data- xtgls vs xtreg
Post a Comment