Hi, I want to use Oaxaca Blinder Decomposition and Heckit for my final project.
Both are used to analyze the difference in wages between different types of disability and non-disability. There are three types of disabilities, namely blind, deaf, and speech impaired. The three variables are dummy variables. As an example:
deaf=1 if the individual has a hearing problem, 0 otherwise.
Non-disability consists of individuals who do not have hearing, vision, and speech problems.
How does the command analyze it in terms of, for example, the difference in wages between the deaf and non-disabled groups.
This is my dataex
With description:
id: is resident id
lwage_m1: log wages per month
krt : a variable that only exists in the selection model but is not in the wage equation.
Thank you in advance!
Both are used to analyze the difference in wages between different types of disability and non-disability. There are three types of disabilities, namely blind, deaf, and speech impaired. The three variables are dummy variables. As an example:
deaf=1 if the individual has a hearing problem, 0 otherwise.
Non-disability consists of individuals who do not have hearing, vision, and speech problems.
Code:
gen nondisbld = 1 if deaf==0&blind==0&speech_impaired==0
This is my dataex
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str2 id byte(blind deaf speech_impaired yeduc krt) float(lwage_m1 nondisbld) "1" 1 0 0 9 0 13.458836 0 "2" 0 0 1 0 0 14.220976 0 "3" 0 0 0 9 0 14.220976 1 "4" 0 1 0 9 1 14.220976 0 "5" 0 0 0 16 1 14.220976 1 "6" 1 0 0 13 1 13.304685 0 "7" 0 0 0 11 1 14.7318 1 "8" 0 0 0 2 1 13.81551 1 "9" 0 0 0 6 0 . 1 "10" 0 0 1 4 0 . 0 end
id: is resident id
lwage_m1: log wages per month
krt : a variable that only exists in the selection model but is not in the wage equation.
Thank you in advance!
Comment