I want to test the observations in a group of countries as below
And it returns the omitted result
So, I did a search and see this topic (https://www.statalist.org/forums/for...ring-variables)
And I adjusted my code to inlist of 10 countries each
Is this a right code, is there any other way to run data for a group of countries (without cutting the data to another file)
Code:
reghdfe y x if inlist(GEOGN, "CHINA" "UNITEDS" "INDONESIA" "RUSSIAN" "MEXICO" "JAPAN" "PHILIPPINES" "VIETNAM" "SOUTHKOREA") | inlist(GEOGN,"COLOMBIA" "CANADA" "PERU" "MALAYSIA" "AUSTRALIA" "CHILE" "ECUADOR" "SINGAPORE" "NEWZEALAND"), a(TYPE2 INDC32#yr)
So, I did a search and see this topic (https://www.statalist.org/forums/for...ring-variables)
And I adjusted my code to inlist of 10 countries each
Code:
reghdfe y x if inlist(GEOGN, "CHINA" "UNITEDS" "INDONESIA" "RUSSIAN" "MEXICO" "JAPAN" "PHILIPPINES" "VIETNAM" "SOUTHKOREA") | inlist(GEOGN,"COLOMBIA" "CANADA" "PERU" "MALAYSIA" "AUSTRALIA" "CHILE" "ECUADOR" "SINGAPORE" "NEWZEALAND"), a(TYPE2 INDC32#yr)
Comment