Hi all,
I'm currently writing my thesis and I have some questions about my fixed effects model.
My sample contains data from roughly 150 countries over 24 years. I have spend the past days figuring out what stata command to use to find consistent results, but I have not find a satisfying answer yet. I have to add both country and time invariant effects to eliminate these effects. So far, I have added dummy variables for the years and let stata add the country invariant effect by using xtreg.
I have read things about xtreg, xtpcse, xtregar, prais, xttest2, xttest3 and came across potential problems (e.g. serial correlation, autocorrelation, heteroskedasticity, groupwise heteroskedasticy) At this point, it is not exactly clear to me what command I should use to tackle the problems that are listed above.
I have used the xtserial command to detect serial correlation and found that my data is subject to this.
My question is: what command is appropriate in this case? How can I control for the serial correlation? Do I have to / how can I test for autocorrelation, heteroskedasticity and groupwise heteroskedasticity? Should I potentially use a first difference estimation to see whether my fixed effects results are very sensitive? Finally, have I overlooked anything?
Thanks in advance!
Greetings from Holland,
Koen
I'm currently writing my thesis and I have some questions about my fixed effects model.
My sample contains data from roughly 150 countries over 24 years. I have spend the past days figuring out what stata command to use to find consistent results, but I have not find a satisfying answer yet. I have to add both country and time invariant effects to eliminate these effects. So far, I have added dummy variables for the years and let stata add the country invariant effect by using xtreg.
I have read things about xtreg, xtpcse, xtregar, prais, xttest2, xttest3 and came across potential problems (e.g. serial correlation, autocorrelation, heteroskedasticity, groupwise heteroskedasticy) At this point, it is not exactly clear to me what command I should use to tackle the problems that are listed above.
I have used the xtserial command to detect serial correlation and found that my data is subject to this.
My question is: what command is appropriate in this case? How can I control for the serial correlation? Do I have to / how can I test for autocorrelation, heteroskedasticity and groupwise heteroskedasticity? Should I potentially use a first difference estimation to see whether my fixed effects results are very sensitive? Finally, have I overlooked anything?
Thanks in advance!
Greetings from Holland,
Koen
Comment