Hello,
I have a panel data set with 180 countries observed during the period 2008-2017, I am trying to see the effect of interacting democracy measure (polity2) with different measures of government ideology on the environmental performance of the country. My supervisor advised me to use three different models: Pooled OLS with time fixed effects, FE and RE to see how the regression looks like in each of them.
The question is, I would like to test for heteroskedasticity under the three models. I have searched before asking and found that I should use xttest2 for FE. For the RE, I saw some suggestions for xttest0, but I am not sure if this is the right context. Also, I couldn't find what should I use to test in the pooled OLS.
Also, to control for heteroskedacity, I've understood that I should cluster standard errors at the country level using: vce, cluster(country) with xtreg as it is the same as vce, robust. In the pooled OLS model, I fail to understand if I should use the cluster or the robust option with regress.
I'd be very grateful if you could help.
Thanks and best regards.
Related Posts with How to test for heteroskedasticity in a panel data-set
Level-2 Dependent variableGood morning, I am working with data from students (level 1) belonging to classes (level 2) within …
Deleting part of a text in a string variableHi STATALIST, I need to create b from a : Code: * Example generated by -dataex-. To install: ss…
New to stata. Need some heplHi, I am new to Stata 15 and I need some help. I have two databases (database_y and database_x). I …
Why are all my residuals negative?I'm trying to use GMM to estimate a model on the following data: Code: * Example generated by -dat…
methodological question: matching/imputation based on two datasetsHello, I struggle to find the right method for what I want to do using two household surveys. I hav…
Subscribe to:
Post Comments (Atom)
0 Response to How to test for heteroskedasticity in a panel data-set
Post a Comment