Hi everyone, I have a panel data (T=9 and N=24) and I have the three following problems:
- heteroscedasticity
-cross-sectional dependency
-time fixed effect
first of all, I run fixed via random model and the Hausman test reject the null hypothesis of Random effects. Then i run FGLS model with the following command (xtgls Y X i.year, panels(correlated)corr(psar1) rhotype(freg)) .
Do my estimation is right or false? if false, how can i resolve these problems?
Thanks
Related Posts with xtgls command
Combining two datasets on two variables.Hello, I have one dataset (called Natural Disaster) with three variables: Year, CountryCode, and Tot…
return first non-zero valueDear All, Suppose that I have this dataset Code: clear input id x 1 . 1 0 1 3 1 4 2 0 2 . 2 0 2 3 …
Merging problemHi statalist, I have shown a sample of my dataset below. I want to make a merging with the other da…
Panel data difference-in-difference with different treatment timingHi all, I'm trying to study whether the decline in birth rates had an impact on GDP on a national l…
save results from "test" (wald test) command and combine later with others to create outputI am running several test commands in a row and I would like to save these results and combine them …
Subscribe to:
Post Comments (Atom)
0 Response to xtgls command
Post a Comment