I want to determine the gender wage gap and use the reghdfe
command to obtain a linear estimate of this:
ln_real_wage
is the natural log of real annual wages.
male
returns 1 for male individuals and zero elsewhere.
high_skilled_chen
returns 1 for individuals working in a high-skill industry and zero elsewhere.
age
returns the age of the individual and full_time
returns 1 when an individual works on a full time basis and zero elsewhere.
eststo: reghdfe ln_real_income i.male##i.high_skilled_chen age age_2 i.full_time, absorb(i.province) vce(cluster id_numeric)
This is the output:
Then, I run predictive margins to obtain the difference between men and women dependent on the sector that they work in (high-skill sector or not).
eststo margin: margins, over(i.male i.high_skilled_chen) post
How do I obtain the % difference in wages between males and females working in the high-skill sector and the % difference between males and females working in a low-skill sector (using the predictive margins)?