Hello everyone,
For my thesis, I am aming on extracting country fixed effects on the perception of migrants. For that purpose, my supervisor instructed me to use the *xtreg* command.
As you can see below, when I use *tab cntry*, I have 20 countries including EE = Estonia:
Array
But after using:
xtset cntry
xtrereg patm trstun trstep i.safe i.strgov i.trad i.rule imp_eco imp_cult lrscale ecoinsec i.hinctnta sex i.agebrack eduyrs highschool apprentice undergrad postgrad i.cntry, vce(robust)
I receive the following output for the country variables:
Array
As you can see, EE = Estonia is not included anymore. Why is that?
I already tried removing vce(robust) or to replace it by vce(country = robust).
Interestingly, I am working with the data from the Eurobarometer. This is for ESS7 in 2014. I already did the same regression on ESS8 in 2016 and I did not have that issue.
Can anyone help me?
Thank you very much in advance for your help!
Aileen
Related Posts with xtreg regression leaves out one country for i.country
Assigning value from one variable to another if condition is metI have a data manipulation question: I have a dataset with the variables "id_1", "year", and "id_2."…
Is it possible that log mis-calculates it or create weird ".b" when the workload is too heavy?I use Stata 17 (24 cores). I am sorry that I cannot provide the reproducible example because this p…
Extracting All Strings After a Word within a Variable NameI have a dataset representing a treated unit (GDP), a series of estimated counterfactuals, (cf) and …
Is it possible that log mis-calculates it or create weird ".b" when the workload is too heavy?I use Stata 17 (24 cores). I am sorry that I cannot provide the reproducible example because this p…
Determining level of significance between two median and between two catergorial variables, pre and post treatmentDear Stata community, I was wondering if anybody could help me with the following question. I am tr…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg regression leaves out one country for i.country
Post a Comment