Hi all,
I am working with a panel data set of about 180 countries spread over 27 years.
My data suffers from both serial correlation and heteroskedasticity, which I correct for using the user written program -xtscc-.
I would use this program to provide estimates for my Hausman test, but the program only works with fixed effects, not random effects.
My problem is that, as far as I am aware, the Hausman test is only valid under homoskedasticity, and thus invalid in my case.
However, when I try correcting for this by adding -, robust- at the end of my -xtreg- regression, Stata is unable to compute the Hausman test.
The exact error comes out as "hausman cannot be used with vce(robust), vce(cluster cvar), or p-weighted data".
Do anyone have a solution for this?
As I have GDP as an explanatory variable, I am aware that the fixed effects model is probably the best choice from a theoretical standpoint.
This is just to cover all my bases for my bachelor's thesis.
Also, a side question: Does anyone know of another (better) way to correct for serial correlation and heteroskedasticity at the same time, than the -xtscc- program?
Any comments will be greatly appreciated,
Mathias
Related Posts with Choosing between fixed effects vs. random effects in the presence of heteroskedasticity
Multilevel Panel Data with CPS DataGood evening, Using the below Census Population Survey variables, I need to figure out the change i…
Assistance on Statistical analysisCan anyone help me out? I am investigating the coping strategies used among women by using the Brief…
Problem with merging multiple csv files using merge 1:1Hi, I am a beginner in Stata (using Stata 16) and after going through many of the posts regarding m…
Using anymatch in a forvalue loop to detect if each value in v1 matches ANY value in v2I'm struggling to come up with a solution for finding if each observation in variable 1 matches ANY …
Time stamps in forum softwareIs there any chance the forum software could be changed to specify time zone in the time stamps? Rig…
Subscribe to:
Post Comments (Atom)
0 Response to Choosing between fixed effects vs. random effects in the presence of heteroskedasticity
Post a Comment