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...
Related Posts with Reweighed Rif OLS decomposition..
tableHi, I want to make a table. I have a dataset containing sum of sales on different locations in diffe…
Stata keep first same data by moleculeHey stata community, I'm very new in using stata and have a question concerning the use of keeping …
Loop function to order multiple variables togetherHello I urgently need help with the loop function in STATA to order multiple variables together. I…
Calculate risk ratio directly using two weighted prevalence estimatesHello all, I have two weighted prevalence estimates and their 95% confidence intervals [0.12 (95% C…
Dropping unmatched observationsHi, I'm doing a panel data estimation. I'm merging (m:m) CSV files. Till now the total number of ob…
Subscribe to:
Post Comments (Atom)
0 Response to Reweighed Rif OLS decomposition..
Post a Comment