Could you please tell me how to replicate the "Deciles of the distribution of persons by MPCE by major states in Rural and urban areas" in NSS HCES 2022-23?
I tried following commands, but I am not getting estimates which matches the reports: -
xtile decile_rural = mpce[aw=weight] if sector==1, nq(10)
xtile decile_urban = mpce[aw=weight] if sector==2, nq(10)
tab decile_rural [aw=weight], sumarize(mpce)
tab decile_urban [aw=weight], sumarize(mpce)
I tried some more ways as well, but the results does not match NSS report.
I tried following commands, but I am not getting estimates which matches the reports: -
xtile decile_rural = mpce[aw=weight] if sector==1, nq(10)
xtile decile_urban = mpce[aw=weight] if sector==2, nq(10)
tab decile_rural [aw=weight], sumarize(mpce)
tab decile_urban [aw=weight], sumarize(mpce)
I tried some more ways as well, but the results does not match NSS report.
