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
(daily pannel data) i want to create time dummy variable for the weekHello everyone. I can not speak English very well. So I use Google Translator. I have unbalanced dai…
ZINB on pooled panelHello, I am running a ZINB on a pooled panel using the vce (cluster ID) option, yet I have been adv…
Outreg2 after a loopHi, I am using Stata 15 and I am having trouble getting estimates of a series of regressions with O…
Interaction Terms in 2slsDear Users, This is my first post in Statalist. I am trying to use 2sls with a Dummy Interaction Te…
Using xtile for a subset of casesI tried to use xtile with the if statement, but received the message, "option if not allowed". Is th…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data- xtgls vs xtreg
Post a Comment