Hi Statalisters,
I am having trouble determining which regression model to use to analyze my data.
I have an unbalanced panel dataset with n=53 and T~68. There are gaps within time variable (measured in days), and the panels don't necessarily share the same time periods (e.g. one panel could cover June 5 - September 5, while another covers October 6 - December 20).
I ran a Hausman test, which indicated that random effects (-xtreg,re-) is preferred over fixed effects (-xtreg,fe-) for this data.
I also ran -lrtest-, which indicated that there is heteroskedasticity between panels.
Based on this information, does anyone have a recommendation for the most appropriate Stata command to use to model this data? From prior reading and research, I believe that -xtreg, re vce(robust)- and -xtgls, panels(heteroskedastic)- would be viable options, but I would welcome any further insight into this matter.
Thanks in advance,
Luke
I am having trouble determining which regression model to use to analyze my data.
I have an unbalanced panel dataset with n=53 and T~68. There are gaps within time variable (measured in days), and the panels don't necessarily share the same time periods (e.g. one panel could cover June 5 - September 5, while another covers October 6 - December 20).
I ran a Hausman test, which indicated that random effects (-xtreg,re-) is preferred over fixed effects (-xtreg,fe-) for this data.
I also ran -lrtest-, which indicated that there is heteroskedasticity between panels.
Based on this information, does anyone have a recommendation for the most appropriate Stata command to use to model this data? From prior reading and research, I believe that -xtreg, re vce(robust)- and -xtgls, panels(heteroskedastic)- would be viable options, but I would welcome any further insight into this matter.
Thanks in advance,
Luke
Comment