Hello everyone,
I'm trying to analyse the gender pay gap by using RIF decomposition. The attached pictures are the sample results I wanna get.

But I'm confused how to deal with the categorical variables. The variables I used include highest education background, employment type, industry type, occupation type, region and experience. For the first picture, I've checked oaxaca_rif, can I use "oaxaca_rif lnwage educ exper tenure, by(female) wgt(1) rif(mean) rwlogit(educ exper tenure)" by simply adding the categorical variable names in the commend (e.g. "oaxaca_rif lnwage educ exper tenure highestedubg emplytype, by(female) wgt(1) rif(mean) rwlogit(educ exper tenure)") ? Also how can I get the results like the second picture?
Regards
Yuanji JIANG
I'm trying to analyse the gender pay gap by using RIF decomposition. The attached pictures are the sample results I wanna get.
But I'm confused how to deal with the categorical variables. The variables I used include highest education background, employment type, industry type, occupation type, region and experience. For the first picture, I've checked oaxaca_rif, can I use "oaxaca_rif lnwage educ exper tenure, by(female) wgt(1) rif(mean) rwlogit(educ exper tenure)" by simply adding the categorical variable names in the commend (e.g. "oaxaca_rif lnwage educ exper tenure highestedubg emplytype, by(female) wgt(1) rif(mean) rwlogit(educ exper tenure)") ? Also how can I get the results like the second picture?
Regards
Yuanji JIANG
Comment