Dear Stata users,
I don't have a lot of experience using the software and I'm currently working on my master's thesis, so I really need your help.
I have a panel data (65 countries, 12 years per country) and it is strongly balanced. Since I have to run several robustness tests (regressions) to finally come up with strong final results, I know the commands to run panel data regression ( xtset ... xtreg, fe , re, be...) However, my main problem is that I'm not sure if I'm a running the right Pooled OLS regressions with robust standard errors.
Is this code correct to use Pooled OLS with robust standard errors????? Should I use robust or vce (cluster country_code)... I'm not sure if I should cluster by country, to be honest it doesn't make sense to me, I believe clustering is useful only if you have firms of the same industry or households information within the countries... which is not my case, I'm working with country data only.
reg dependvar regressor1 regressor2 .... regressor_n, robust
or Should I use:
reg dependvar regressor1 regressor2 .... regressor_n, vce (cluster country_code)
Another question, some of the papers similar to my thesis run a fixed effect and random effect models using one lag of the dependent variable... how can I include one lag of the dependent variable in the fixed and random effect models?
xtreg dependvar regressor1 regressor2 .... regressor_n l.dependedvar, fe robust .... is this ok?
Thanks for any help you can give me.
Regards,
Ivan
Related Posts with Pooled OLS and robust standard errors
Creating a new variable with date and time togetherHi, I am trying to create a new variable that has the date (bedtime_date) and time (q4_time_outofbe…
-coefplot- for treatment effectsHello, I ran treatment effects regression adjustment (-teffects ra-, pomeans aequations) and now I …
Obtaining individuals' ages from their dates of birthHi all. I have data on the socio-economic characteristics of mayors in Brazil in 2004. Please see pa…
Latent class analysis: marginal predicted probabilities vs marginal predicted posterior probabilities and estat vs predictI have a latent class model that I'm broadly happy with. I want to be able to say that x% of the sam…
Replicating xtabond2 results with xtdpdgmmHello, I am using the following two-step difference GMM model: Code: xtabond2 y l.y l.x1 l.x2 l.x3…
Subscribe to:
Post Comments (Atom)
0 Response to Pooled OLS and robust standard errors
Post a Comment