Hello,
I'm using Blinder-Oaxaca decomposition method to study gender wage gap using four waves of the PSID.
I used the command, Oaxaca, to implement in Stata and realized it produces different results everytime I ran the same do-file.
It is strange because the OLS regression results are the same.
One of the command I used is as follows:
oaxaca lnwage (demo:race agev) (education:educ college advdeg) (experience:fulltime parttime fulltimesq parttimesq) if female==0 & year==1993, by(child) weight(1)
The do-file imports the PSID datasets, cleans the variables, and then it runs several regressions and decompositions.
The summary statistics of the datasets are always the same, the OLS regression results are the same.
Only decomposition results are different.
Would it be related to the multithreading environment of the Stata? or should I try order/sort the datasets before computing Oaxaca?
Any comment will be appreciated.
Thanks in advance.
I'm using Blinder-Oaxaca decomposition method to study gender wage gap using four waves of the PSID.
I used the command, Oaxaca, to implement in Stata and realized it produces different results everytime I ran the same do-file.
It is strange because the OLS regression results are the same.
One of the command I used is as follows:
oaxaca lnwage (demo:race agev) (education:educ college advdeg) (experience:fulltime parttime fulltimesq parttimesq) if female==0 & year==1993, by(child) weight(1)
The do-file imports the PSID datasets, cleans the variables, and then it runs several regressions and decompositions.
The summary statistics of the datasets are always the same, the OLS regression results are the same.
Only decomposition results are different.
Would it be related to the multithreading environment of the Stata? or should I try order/sort the datasets before computing Oaxaca?
Any comment will be appreciated.
Thanks in advance.
Comment