Good afternoon,
I am currently working with a small panel database that includes only 17 countries and 15 periods. First, for a general analysis of the impact that the independent variable has on human development in the Latin American region, I have proceeded as follows:
xtreg depvar indepvar, fe cluster(id)
estimates store fixed
xtreg depar indepar, re cluster(id)
estimates store random
xtoverid (intead of "Hausman test" to choose between FE or RE)
However, now my interest is to know or analyze the impact that my independent variable has BUT for each country of the sample, then my question is with respect to the command to be used on STATA, I´m using:
--xtreg depvar indepvar i.country1, vce(robust)
And I would like to know if this command is ok or there is another more effective way that can be suggested. I will really appreciate the help.
Thanks in advance.
Elizabeth.
I am currently working with a small panel database that includes only 17 countries and 15 periods. First, for a general analysis of the impact that the independent variable has on human development in the Latin American region, I have proceeded as follows:
xtreg depvar indepvar, fe cluster(id)
estimates store fixed
xtreg depar indepar, re cluster(id)
estimates store random
xtoverid (intead of "Hausman test" to choose between FE or RE)
However, now my interest is to know or analyze the impact that my independent variable has BUT for each country of the sample, then my question is with respect to the command to be used on STATA, I´m using:
--xtreg depvar indepvar i.country1, vce(robust)
And I would like to know if this command is ok or there is another more effective way that can be suggested. I will really appreciate the help.
Thanks in advance.
Elizabeth.
Comment