clear set memory 150m set matsize 2500 set more off /* ********************************************************************************************************************************* */ /* ********************************************************************************************************************************* */ /* Jens Hainmueller and Michael J. Hiscox 2004: Educated Preferences: Explaining Attitudes Toward Immigration in Europe */ /* Do File 2: Replication Robustness Supplement: Tables 1-11 */ /* Version 1.2 09/10/2004 */ /* using file: "ESSvol5recodedHH2004.dta" --> Please copy this dataset to your STATA working directory and run the do file */ /* ********************************************************************************************************************************* */ /* Requires ado files "outreg", "dprobit" and "prchange" (all available for download via STATA help) */ /* ********************************************************************************************************************************* */ /* This do file replicates Robustness Supplement Tables 1-11 */ /* Log files for all table estimations named HH2004RobustnessTable1.log, etc. are created in your working directory */ /* Thank you for your interest in our research */ /* For questions please email: Jens_Hainmueller@ksg05.harvard.edu */ /* ********************************************************************************************************************************* */ /* ********************************************************************************************************************************* */ use "ESSvol5recodedHH2004.dta", clear /* Set up covariates matrix for baseline model */ gen xxage=age gen xxgender=gender gen xxincome=income gen xxnative=native gen xximmigrant_friends=immigrant_friends gen xxminority_area=minority_area gen xxpartisan_right=partisan_right log using HH2004RobustnessTable1.log, replace /* ******************************************************************************************* */ /* Table 1 ********** */ /* Effects of Skill on Immigration Preferences – Country Specific Estimates */ /* using the smaller country models with "income" (left panel) and with "perceived income" (right panel) */ /* skill345 */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT] , robust xi: dprobit iricheur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit iricheur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit iricheur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit iricheur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit iricheur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit iricheur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit iricheur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit iricheur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit iricheur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit iricheur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit iricheur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit iricheur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit iricheur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit iricheur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit iricheur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit iricheur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit iricheur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit iricheur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit iricheur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit iricheur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT], robust xi: dprobit ipooreur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit ipooreur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT] , robust xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT], robust xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* skill345 and perceived income *********************************** */ /* Set up new baseline model */ drop xx** gen xxage=age gen xxgender=gender gen xxperincome=perincome gen xxnative=native gen xximmigrant_friends=immigrant_friends gen xxminority_area=minority_area gen xxpartisan_right=partisan_right /* Immigration from Richer Europe */ xi: dprobit iricheur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT], robust /* Note single country models for LUXEMBURG are estimated with robust SE only because the whole country is one single region */ xi: dprobit iricheur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit iricheur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit iricheur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit iricheur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit iricheur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit iricheur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit iricheur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit iricheur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit iricheur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit iricheur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit iricheur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit iricheur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit iricheur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit iricheur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit iricheur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit iricheur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit iricheur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit iricheur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit iricheur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit iricheur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT], robust xi: dprobit ipooreur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit ipooreur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipooreur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT] , robust xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit irichnoeur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="LU" & paidwork==1 [pweight=DWEIGHT] , robust xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="NO" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="IE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="DK" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="CH" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="AT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="NL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="BE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="DE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONDE) /* France omitted: no skill observations available */ xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="FI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="IT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="GB" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="SE" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="IL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="ES" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="PT" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="GR" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="SI" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="CZ" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="HU" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipoornoeur1 skill345 xx* if CNTRY=="PL" & paidwork==1 [pweight=DWEIGHT] , cl(REGIONPL) /* Restore old covariates matrix for baseline model */ drop xx** gen xxage=age gen xxgender=gender gen xxincome=income gen xxnative=native gen xximmigrant_friends=immigrant_friends gen xxminority_area=minority_area gen xxpartisan_right=partisan_right /* ****************************************************************************************** */ log close log using HH2004RobustnessTable2.log, replace /* ******************************************************************************************* */ /* Table 2: ********** */ /* Skill-level, Education, and Immigration Attitudes by Source: Full ESS Sample */ /* High Skill Low Skill Dummy and Schooling (note: this part omitted in the paper where we show results for attainment only)*/ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling skill345 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling skill345 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling skill345 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling skill345 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Individual Skill Dummies and Schooling */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling skill2 skill3 skill4 skill5 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling skill2 skill3 skill4 skill5 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling skill2 skill3 skill4 skill5 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling skill2 skill3 skill4 skill5 xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* ******************************************************************************************* */ log close log using HH2004RobustnessTable3.log, replace /* ******************************************************************************************* */ /* Table 3: ********** */ /* Skill-level, Education, and Attitudes by Source: Employment Status Sub-Samples ************ */ /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain skill345 xx* i.CNTRY if paidwork==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain skill345 xx* i.CNTRY if paidwork==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain skill345 xx* i.CNTRY if paidwork==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain skill345 xx* i.CNTRY if paidwork==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Subsample 2: Currently unemployed looking for job and not in paid work; UEMPLA==1 | UEMPLI==1 & paidwork==0 */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain skill345 xx* i.CNTRY if UEMPLA==1 | UEMPLI==1 & paidwork==0 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain skill345 xx* i.CNTRY if UEMPLA==1 | UEMPLI==1 & paidwork==0 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain skill345 xx* i.CNTRY if UEMPLA==1 | UEMPLI==1 & paidwork==0 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain skill345 xx* i.CNTRY if UEMPLA==1 | UEMPLI==1 & paidwork==0 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Subsample 3: Students; EDCTN==1 */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain skill345 xx* i.CNTRY if EDCTN==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain skill345 xx* i.CNTRY if EDCTN==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain skill345 xx* i.CNTRY if EDCTN==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain skill345 xx* i.CNTRY if EDCTN==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Subsample 4: Currently retired; RTRD==1 */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain skill345 xx* i.CNTRY if RTRD==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain skill345 xx* i.CNTRY if RTRD==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain skill345 xx* i.CNTRY if RTRD==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain skill345 xx* i.CNTRY if RTRD==1 [pweight=PDWEIGHT], cl(REGINDICATOR) /* ******************************************************************************************* */ log close log using HH2004RobustnessTable4.log, replace /* ******************************************************************************************* */ /* Table 4 *********************************** */ /* Education, Cultural Tolerance, and Economic Literacy */ /* Setup additional covariate matrix zz* */ gen zzracism=racism gen zzcrime=crime gen zzantihate=antihate gen zzculture=culture gen zzmulticulti=multiculti gen zzeconomy=economy gen zzskill345=skill345 /* Educational Attainmnet */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Schooling */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling zz* xx* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* ******************************************************************************************* */ log close log using HH2004RobustnessTable5.log, replace /* ******************************************************************************************* */ /* Table 5 **************************************************** */ /* Education and Racism: Tests by Employment Status Sub-Samples */ /* educational attainment ********************************************* */ /* Racism Proxy: Racism **** */ /* Subsample 0: FULL Sample */ xi: reg racism eduattain age native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) level(99) /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg racism eduattain age native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) level(99) /* Subsample 1.1: Currently out of the labour market sub-sample (not in paid work); paidwork=0 */ xi: reg racism eduattain age native i.CNTRY [pweight=PDWEIGHT] if paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 2: Currently unemployed and not in paid work; UEMPLA==1 | UEMPLI==1 & paidwork==0 */ xi: reg racism eduattain age native i.CNTRY [pweight=PDWEIGHT] if UEMPLA==1 | UEMPLI==1 & paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 3: Students; EDCTN==1 */ xi: reg racism eduattain age native i.CNTRY [pweight=PDWEIGHT] if EDCTN==1 , cl(REGINDICATOR) level(99) /* Subsample 4: Currently retired; RTRD==1 */ xi: reg racism eduattain age native i.CNTRY [pweight=PDWEIGHT] if RTRD==1, cl(REGINDICATOR) level(99) /* Racism Proxy: antihate **** */ /* Subsample 0: FULL Sample */ xi: reg antihate eduattain age native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) level(99) /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg antihate eduattain age native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) level(99) /* Subsample 1.1: Currently out of the labour market sub-sample (not in paid work); paidwork=0 */ xi: reg antihate eduattain age native i.CNTRY [pweight=PDWEIGHT] if paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 2: Currently unemployed and not in paid work; UEMPLA==1 | UEMPLI==1 & paidwork==0 */ xi: reg antihate eduattain age native i.CNTRY [pweight=PDWEIGHT] if UEMPLA==1 | UEMPLI==1 & paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 3: Students; EDCTN==1 */ xi: reg antihate eduattain age native i.CNTRY [pweight=PDWEIGHT] if EDCTN==1 , cl(REGINDICATOR) level(99) /* Subsample 4: Currently retired; RTRD==1 */ xi: reg antihate eduattain age native i.CNTRY [pweight=PDWEIGHT] if RTRD==1, cl(REGINDICATOR) level(99) /* Racism Proxy: multiculti **** */ /* Subsample 0: FULL Sample */ xi: reg multiculti eduattain age native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) level(99) /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg multiculti eduattain age native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) level(99) /* Subsample 1.1: Currently out of the labour market sub-sample (not in paid work); paidwork=0 */ xi: reg multiculti eduattain age native i.CNTRY [pweight=PDWEIGHT] if paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 2: Currently unemployed and not in paid work; UEMPLA==1 | UEMPLI==1 & paidwork==0 */ xi: reg multiculti eduattain age native i.CNTRY [pweight=PDWEIGHT] if UEMPLA==1 | UEMPLI==1 & paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 3: Students; EDCTN==1 */ xi: reg multiculti eduattain age native i.CNTRY [pweight=PDWEIGHT] if EDCTN==1 , cl(REGINDICATOR) level(99) /* Subsample 4: Currently retired; RTRD==1 */ xi: reg multiculti eduattain age native i.CNTRY [pweight=PDWEIGHT] if RTRD==1, cl(REGINDICATOR) level(99) /* SKILL345 ************************************************ */ /* Racism Proxy: Racism */ /* Subsample 0: FULL Sample */ xi: reg racism skill345 age native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) level(99) /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg racism skill345 age native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) level(99) /* Subsample 1.1: Currently out of the labour market sub-sample (not in paid work); paidwork=0 */ xi: reg racism skill345 age native i.CNTRY [pweight=PDWEIGHT] if paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 2: Currently unemployed and not in paid work; UEMPLA==1 | UEMPLI==1 & paidwork==0 */ xi: reg racism skill345 age native i.CNTRY [pweight=PDWEIGHT] if UEMPLA==1 | UEMPLI==1 & paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 3: Students; EDCTN==1 */ xi: reg racism skill345 age native i.CNTRY [pweight=PDWEIGHT] if EDCTN==1 , cl(REGINDICATOR) level(99) /* Subsample 4: Currently retired; RTRD==1 */ xi: reg racism skill345 age native i.CNTRY [pweight=PDWEIGHT] if RTRD==1, cl(REGINDICATOR) level(99) /* Racism Proxy: antihate */ /* Subsample 0: FULL Sample */ xi: reg antihate skill345 age native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) level(99) /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg antihate skill345 age native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) level(99) /* Subsample 1.1: Currently out of the labour market sub-sample (not in paid work); paidwork=0 */ xi: reg antihate skill345 age native i.CNTRY [pweight=PDWEIGHT] if paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 2: Currently unemployed and not in paid work; UEMPLA==1 | UEMPLI==1 & paidwork==0 */ xi: reg antihate skill345 age native i.CNTRY [pweight=PDWEIGHT] if UEMPLA==1 | UEMPLI==1 & paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 3: Students; EDCTN==1 */ xi: reg antihate skill345 age native i.CNTRY [pweight=PDWEIGHT] if EDCTN==1 , cl(REGINDICATOR) level(99) /* Subsample 4: Currently retired; RTRD==1 */ xi: reg antihate skill345 age native i.CNTRY [pweight=PDWEIGHT] if RTRD==1, cl(REGINDICATOR) level(99) /* Racism Proxy: multiculti */ /* Subsample 0: FULL Sample */ xi: reg multiculti skill345 age native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) level(99) /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg multiculti skill345 age native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) level(99) /* Subsample 1.1: Currently out of the labour market sub-sample (not in paid work); paidwork=0 */ xi: reg multiculti skill345 age native i.CNTRY [pweight=PDWEIGHT] if paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 2: Currently unemployed and not in paid work; UEMPLA==1 | UEMPLI==1 & paidwork==0 */ xi: reg multiculti skill345 age native i.CNTRY [pweight=PDWEIGHT] if UEMPLA==1 | UEMPLI==1 & paidwork==0, cl(REGINDICATOR) level(99) /* Subsample 3: Students; EDCTN==1 */ xi: reg multiculti skill345 age native i.CNTRY [pweight=PDWEIGHT] if EDCTN==1 , cl(REGINDICATOR) level(99) /* Subsample 4: Currently retired; RTRD==1 */ xi: reg multiculti skill345 age native i.CNTRY [pweight=PDWEIGHT] if RTRD==1, cl(REGINDICATOR) level(99) /* ******************************************************************************************** */ log close log using HH2004RobustnessTable6.log, replace /* ******************************************************************************************* */ /* Table 6: The AREA model *********************************** */ /* Educational Attainmnet */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain xx* eduattainXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain xx* eduattainXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain xx* eduattainXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain xx* eduattainXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Schooling */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling xx* schoolingXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling xx* schoolingXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling xx* schoolingXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling x* schoolingXminority_area i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* ******************************************************************************************** */ log close log using HH2004RobustnessTable7.log, replace /* ********************************************************************************************** */ /* Table 7 ********** */ /* Effects of Education on Immigration Preferences: Country-Specific Estimates from Ordered-Probit Models */ /* Models with "income" */ /* Skill Proxy: Educational Atainment */ /* Immigration from Richer Europe */ xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust /* Note single country models for LUXEMBURG are estimated with robust SE only because the whole country is one single region */ xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Years of Schooling */ /* Immigration from Richer Europe */ xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* ******************************************************************************************* */ log close log using HH2004RobustnessTable7b.log, replace /* ******************************************************************************************* */ /* Table 7b ********** */ /* Effects of Education on Immigration Preferences: Country-Specific Estimates from Ordered-Probit Models */ /* Models with perceived income */ /* Set up new baseline model */ drop xx** gen xxage=age gen xxgender=gender gen xxperincome=perincome gen xxnative=native gen xximmigrant_friends=immigrant_friends gen xxminority_area=minority_area gen xxpartisan_right=partisan_right /* Skill Proxy: Educational Atainment */ /* Immigration from Richer Europe */ /* Immigration from Richer Europe */ xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust /* Note single country models for LUXEMBURG are estimated with robust SE only because the whole country is one single region */ xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit iricheur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipooreur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit irichnoeur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipoornoeur_ordprobit eduattain xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Years of Schooling */ /* Immigration from Richer Europe */ xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit iricheur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipooreur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit irichnoeur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: oprobit ipoornoeur_ordprobit schooling xx* if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* ******************************************************************************************* */ /* Restore old Baseline model */ drop xx** gen xxage=age gen xxgender=gender gen xxincome=income gen xxnative=native gen xximmigrant_friends=immigrant_friends gen xxminority_area=minority_area gen xxpartisan_right=partisan_right /* ******************************************************************************************* */ log close log using HH2004RobustnessTable8a.log, replace /* ******************************************************************************************* */ /* Table 8a ********** */ /* The "Kitchen Sink" Model without mobility (big N)*/ /* Setup yet additional covariates matrix YY* */ gen YYTRUST=TRUST gen YYFREEMARKET=FREEMARKET gen YYEQUALITY=EQUALITY gen YYALTRUSIM=ALTRUSIM gen YYTRADITIONALISM=TRADITIONALISM gen YYRELIGIOUS=RELIGIOUS gen YYSCAPITAL1=SCAPITAL1 gen YYSCAPITAL2=SCAPITAL2 gen YYREFUGEE1=REFUGEE1 gen YYREFUGEE2=REFUGEE2 gen YYTUMEMBER=TUMEMBER gen YYs1=s1 gen YYoccupUE=occupUE gen YYcomp_d=comp_d gen YYcomp_a=comp_a gen YYcomp_nt=comp_nt gen YYuemp3m=uemp3m gen YYUEMPLA=UEMPLA /* Educational Attainmnet */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Schooling */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* ******************************************************************************************* */ log close log using HH2004RobustnessTable8b.log, replace /* ******************************************************************************************* */ /* Table 8b ********** */ /* The "Kitchen Sink" Model with mobility (small N)*/ /* Add mobility to covariates matrix YY* */ gen YYmobility=mobility /* Educational Attainmnet */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Schooling */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling zz* xx* YY* i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) drop YY* drop zz* /* ******************************************************************************************* */ log close log using HH2004RobustnessTable10.log, replace /* ******************************************************************************************* */ /* Table 10 ******************************************** */ /* Education, Skills, Job Insecurity ****************** */ /* Labour Market Risk 1: Past Unemployment ******** */ /* Proxy: uemp3m ** */ /* educational attainment **** */ /* Subsample 0: FULL Sample */ xi: probit uemp3m eduattain age age2 native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) prchange /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: probit uemp3m eduattain age age2 native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) prchange /* SKILL345 ***** */ /* Subsample 0: FULL Sample */ xi: probit uemp3m skill345 age age2 native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) prchange /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: probit uemp3m skill345 age age2 native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) prchange /* Labour Market Risk 2: Current Unemployment ******** */ /* Proxy: UEMPLA *** */ /* educational attainment ******** */ /* Subsample 0: FULL Sample */ xi: probit UEMPLA eduattain age age2 native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) prchange /* Other Subsample nonsensical */ /* SKILL345 ********************** */ /* Subsample 0: FULL Sample */ xi: probit UEMPLA skill345 age age2 native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) xi: dprobit UEMPLA skill345 age age2 native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Other Subsample nonsensical */ /* Labour Market Risk 3: Mobility ******** */ /* Proxy: mobility *** */ /* educational attainment ******** */ /* Subsample 0: FULL Sample */ xi: reg mobility eduattain age age2 native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) lincom 6*eduattain /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg mobility eduattain age age2 native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) lincom 6*eduattain /* SKILL345 ********************** */ /* Subsample 0: FULL Sample */ xi: reg mobility skill345 age age2 native i.CNTRY [pweight=PDWEIGHT], cl(REGINDICATOR) /* Subsample 1: Currently in the labour market sub-sample; paidwork=1 */ xi: reg mobility skill345 age age2 native i.CNTRY [pweight=PDWEIGHT] if paidwork==1, cl(REGINDICATOR) /* ******************************************************************************************* */ log close log using HH2004RobustnessTable11.log, replace /* ******************************************************************************************* */ /* Table 11a ********** */ /* Effects of Education on Immigration Preferences: Country-Specific Estimates from Probit Fixed Effects Models */ /* single country models with income */ /* Skill Proxy: Educational Atainment */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust /* Note single country models for LUXEMBURG are estimated with robust SE only because the whole country is one single region */ xi: dprobit iricheur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit iricheur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit iricheur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit iricheur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit iricheur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit iricheur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit iricheur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit iricheur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit iricheur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit iricheur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit iricheur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit iricheur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit iricheur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit iricheur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit iricheur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit iricheur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit iricheur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit iricheur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit iricheur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit iricheur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit iricheur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipooreur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipooreur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipooreur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipooreur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipooreur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipooreur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipooreur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipooreur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipooreur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipooreur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipooreur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipooreur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipooreur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipooreur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipooreur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipooreur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipooreur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipooreur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipooreur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipooreur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipooreur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit irichnoeur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit irichnoeur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit irichnoeur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit irichnoeur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit irichnoeur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit irichnoeur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit irichnoeur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit irichnoeur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit irichnoeur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit irichnoeur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit irichnoeur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit irichnoeur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit irichnoeur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit irichnoeur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit irichnoeur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit irichnoeur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit irichnoeur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipoornoeur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Years of Schooling */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit iricheur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit iricheur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit iricheur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit iricheur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit iricheur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit iricheur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit iricheur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit iricheur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit iricheur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit iricheur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit iricheur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit iricheur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit iricheur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit iricheur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit iricheur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit iricheur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit iricheur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit iricheur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit iricheur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit iricheur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit iricheur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipooreur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipooreur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipooreur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipooreur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipooreur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipooreur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipooreur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipooreur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipooreur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipooreur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipooreur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipooreur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipooreur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipooreur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipooreur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipooreur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipooreur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipooreur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipooreur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipooreur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipooreur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit irichnoeur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit irichnoeur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit irichnoeur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit irichnoeur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit irichnoeur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit irichnoeur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit irichnoeur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit irichnoeur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit irichnoeur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit irichnoeur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit irichnoeur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit irichnoeur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit irichnoeur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit irichnoeur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit irichnoeur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit irichnoeur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit irichnoeur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit irichnoeur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit irichnoeur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit irichnoeur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit irichnoeur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipoornoeur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipoornoeur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipoornoeur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipoornoeur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipoornoeur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipoornoeur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipoornoeur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipoornoeur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipoornoeur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipoornoeur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipoornoeur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipoornoeur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipoornoeur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipoornoeur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipoornoeur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipoornoeur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipoornoeur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* ******************************************************************************************* */ log close log using HH2004RobustnessTable11b.log, replace /* ******************************************************************************************* */ /* Table 11b ********** */ /* Effects of Education on Immigration Preferences: Country-Specific Estimates from Probit Fixed Effects Models */ /* single country models with perceived income */ drop xx* gen xxage=age gen xxgender=gender gen xxperincome=perincome gen xxnative=native gen xximmigrant_friends=immigrant_friends gen xxminority_area=minority_area gen xxpartisan_right=partisan_right /* Skill Proxy: Educational Atainment */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust /* Note single country models for LUXEMBURG are estimated with robust SE only because the whole country is one single region */ xi: dprobit iricheur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit iricheur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit iricheur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit iricheur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit iricheur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit iricheur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit iricheur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit iricheur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit iricheur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit iricheur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit iricheur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit iricheur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit iricheur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit iricheur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit iricheur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit iricheur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit iricheur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit iricheur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit iricheur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit iricheur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit iricheur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipooreur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipooreur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipooreur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipooreur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipooreur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipooreur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipooreur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipooreur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipooreur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipooreur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipooreur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipooreur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipooreur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipooreur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipooreur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipooreur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipooreur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipooreur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipooreur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipooreur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipooreur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit irichnoeur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit irichnoeur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit irichnoeur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit irichnoeur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit irichnoeur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit irichnoeur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit irichnoeur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit irichnoeur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit irichnoeur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit irichnoeur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit irichnoeur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit irichnoeur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit irichnoeur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit irichnoeur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit irichnoeur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit irichnoeur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit irichnoeur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit irichnoeur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 eduattain xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipoornoeur1 eduattain xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipoornoeur1 eduattain xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Years of Schooling */ /* Immigration from Richer Europe */ xi: dprobit iricheur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit iricheur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit iricheur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit iricheur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit iricheur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit iricheur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit iricheur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit iricheur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit iricheur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit iricheur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit iricheur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit iricheur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit iricheur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit iricheur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit iricheur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit iricheur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit iricheur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit iricheur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit iricheur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit iricheur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit iricheur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit iricheur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Europe */ xi: dprobit ipooreur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipooreur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipooreur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipooreur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipooreur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipooreur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipooreur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipooreur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipooreur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipooreur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipooreur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipooreur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipooreur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipooreur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipooreur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipooreur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipooreur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipooreur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipooreur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipooreur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipooreur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipooreur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Richer Outside Europe */ xi: dprobit irichnoeur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit irichnoeur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit irichnoeur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit irichnoeur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit irichnoeur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit irichnoeur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit irichnoeur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit irichnoeur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit irichnoeur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit irichnoeur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit irichnoeur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit irichnoeur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit irichnoeur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit irichnoeur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit irichnoeur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit irichnoeur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit irichnoeur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit irichnoeur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit irichnoeur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit irichnoeur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit irichnoeur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit irichnoeur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* Immigration from Poorer Outside Europe */ xi: dprobit ipoornoeur1 schooling xx* if CNTRY=="LU" [pweight=DWEIGHT] , robust xi: dprobit ipoornoeur1 schooling xx* i.REGIONNO if CNTRY=="NO" [pweight=DWEIGHT] , cl(REGIONNO) xi: dprobit ipoornoeur1 schooling xx* i.REGIONIE if CNTRY=="IE" [pweight=DWEIGHT] , cl(REGIONIE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONDK if CNTRY=="DK" [pweight=DWEIGHT] , cl(REGIONDK) xi: dprobit ipoornoeur1 schooling xx* i.REGIONCH if CNTRY=="CH" [pweight=DWEIGHT] , cl(REGIONCH) xi: dprobit ipoornoeur1 schooling xx* i.REGIONAT if CNTRY=="AT" [pweight=DWEIGHT] , cl(REGIONAT) xi: dprobit ipoornoeur1 schooling xx* i.REGIONNL if CNTRY=="NL" [pweight=DWEIGHT] , cl(REGIONNL) xi: dprobit ipoornoeur1 schooling xx* i.REGIONBE if CNTRY=="BE" [pweight=DWEIGHT] , cl(REGIONBE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONDE if CNTRY=="DE" [pweight=DWEIGHT] , cl(REGIONDE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONFR if CNTRY=="FR" [pweight=DWEIGHT] , cl(REGIONFR) xi: dprobit ipoornoeur1 schooling xx* i.REGIONFI if CNTRY=="FI" [pweight=DWEIGHT] , cl(REGIONFI) xi: dprobit ipoornoeur1 schooling xx* i.REGIONIT if CNTRY=="IT" [pweight=DWEIGHT] , cl(REGIONIT) xi: dprobit ipoornoeur1 schooling xx* i.REGIONGB if CNTRY=="GB" [pweight=DWEIGHT] , cl(REGIONGB) xi: dprobit ipoornoeur1 schooling xx* i.REGIONSE if CNTRY=="SE" [pweight=DWEIGHT] , cl(REGIONSE) xi: dprobit ipoornoeur1 schooling xx* i.REGIONIL if CNTRY=="IL" [pweight=DWEIGHT] , cl(REGIONIL) xi: dprobit ipoornoeur1 schooling xx* i.REGIONES if CNTRY=="ES" [pweight=DWEIGHT] , cl(REGIONES) xi: dprobit ipoornoeur1 schooling xx* i.REGIONPT if CNTRY=="PT" [pweight=DWEIGHT] , cl(REGIONPT) xi: dprobit ipoornoeur1 schooling xx* i.REGIONGR if CNTRY=="GR" [pweight=DWEIGHT] , cl(REGIONGR) xi: dprobit ipoornoeur1 schooling xx* i.REGIONSI if CNTRY=="SI" [pweight=DWEIGHT] , cl(REGIONSI) xi: dprobit ipoornoeur1 schooling xx* i.REGIONCZ if CNTRY=="CZ" [pweight=DWEIGHT] , cl(REGIONCZ) xi: dprobit ipoornoeur1 schooling xx* i.REGIONHU if CNTRY=="HU" [pweight=DWEIGHT] , cl(REGIONHU) xi: dprobit ipoornoeur1 schooling xx* i.REGIONPL if CNTRY=="PL" [pweight=DWEIGHT] , cl(REGIONPL) /* ******************************************************************************************* */ /* Marginal effects for the attainment/schooling variable of all above models */ /* are stored in a separate sub-dataset: figure1b.dta (available for download on the paper website) */ /* this sub-dataset was used to create Figure 1b */ log close /* Cleaning Up *********************************** */ drop xx*