Hello everybody
I am writing my master thesis on on rural-urban inequality decomposition using unconditional quantile regression and Oaxaca8 decomposition. I was able to run the decomposition with the help of rifreg command and and oaxaca8 but now i would like to perform the reweighed decomposition but I dont have any idea of how to do it this. Here is the code I used for the decomposition with no reweight :
forvalues q=10(10)90{
quietly xi: rifreg Lnc privatejob publicjob age age2 sex married hhsize Maxeduc1 Maxeduc2 Maxeduc3 Maxeduc4 agriculand Lnpcasset if rurale == 0, quantile (`q') retain(rif_u`q')
estimates store urbanmed`q'
quietly xi: rifreg Lnc privatejob publicjob age age2 sex married hhsize Maxeduc1 Maxeduc2 Maxeduc3 Maxeduc4 agriculand Lnpcasset if rurale == 1, quantile (`q') retain(rif_r`q')
estimates store ruralemed`q'
oaxaca8 urbanmed`q' ruralemed`q', weight(1) asis detail esave }
Please help...
0 Response to Reweighed Rif OLS decomposition..
Post a Comment