I have panel data of N=18 countries with T=72 months. Heteroskedasticity and autocorrelation are present in the dataset. I was working on Stata with xtreg fixed effects with clustered countries since hausman test indicated so (I was suspecting it as well). My first question since I read this (p.11) "However, the Hausman test is only valid under homoscedasticity":
Then reading "Microeconometrics using Stata" by Cameron & Trivedi I found the xtpcse command which was ideal for cases like mine with smaller N and larger T. The command was correcting for heteroscedasticity and auto-correlation. I also used the psar1 correlation and everything seemed perfect until I started wondering whether I should include country dummies in the model. No clear answer was given to this question in fora I read. I was quite sure that there is a country effect (from hausman test and from intuition). So I started searching for the differences between xtreg and xtpcse by running regressions when I realised that xtpcse with country dummies is the same as xtreg, fe and xtpcse with no dummies is the same as xtreg, re. Then I couldn't understand why this xtpcse command is proposed for cases of N < T since it gives the same results as xtreg. Anyone could explain this?
So I'm coming to my second and third questions:
- I know that heteroscedasticity is present in my data from likelihood-ratio test. Should I not take hausman results into account? If so, do I have any alternative?
Then reading "Microeconometrics using Stata" by Cameron & Trivedi I found the xtpcse command which was ideal for cases like mine with smaller N and larger T. The command was correcting for heteroscedasticity and auto-correlation. I also used the psar1 correlation and everything seemed perfect until I started wondering whether I should include country dummies in the model. No clear answer was given to this question in fora I read. I was quite sure that there is a country effect (from hausman test and from intuition). So I started searching for the differences between xtreg and xtpcse by running regressions when I realised that xtpcse with country dummies is the same as xtreg, fe and xtpcse with no dummies is the same as xtreg, re. Then I couldn't understand why this xtpcse command is proposed for cases of N < T since it gives the same results as xtreg. Anyone could explain this?
So I'm coming to my second and third questions:
- Should I or should I not include country dummies with my xtpcse command? My main problem is that country dummies change the sign of the variable I want to investigate (positive and significant without the dummies, negative and significant with) whereas the signs and significance of control variables remain (almost) unchanged. As you understand the question whether should I include them is crucial.
- Is xtpcse the answer to my problem or in the end it doesn't really help?
Comment