Hi I’m trying to do a oaxaca decomposition for multiple (more than 2 ) races for my regression. currently I narrowed down my “ethnic” variable into just 2 variables but that would mask a lot of interpretation. can someone teach me the codes to allowing multiple groups of ethnics?
Currently my code is
xi: oaxaca lnhourpay sex age educ industry married workerlevel employmentduration famunit publicsector regsmoke region fulltime , by(white) pooled noisily
Looking to change “white” which is 2 categories: white and non white to ethnics which have multiple categories: white chinese bangladesh indian etc..
Thanks for you help in advance!
Currently my code is
xi: oaxaca lnhourpay sex age educ industry married workerlevel employmentduration famunit publicsector regsmoke region fulltime , by(white) pooled noisily
Looking to change “white” which is 2 categories: white and non white to ethnics which have multiple categories: white chinese bangladesh indian etc..
Thanks for you help in advance!

Comment