In Stata, I run svyset [iw=asecwt], sdrweight(repwtp1-repwtp160) vce(sdr) mse
oaxaca firm50_p $indepvars if sampMH==1, by(notcitizen) detail($vargroups2) svy categorical($categories).
However, I get the error message “svy sdr is not supported by suest.”
I tried svyset [iw=asecwt], sdrweight(repwtp1-repwtp160), and the decomposition runs, but I don’t get the correct SE.
I also tried, bootstrap, reps(1000): oaxaca firm50_p $indepvars if sampMH==1, by(notcitizen) detail($vargroups2) categorical($categories), but I didn’t get the correct mean differences or SE.
The main issue is obtaining the correct SE. Can you please point me in the right direction?
Thank you!