Community level Poverty [message #23174] |
Tue, 27 July 2021 04:36 |
saifulhaq
Messages: 7 Registered: October 2019
|
Member |
|
|
Dear expoerts,
Please give your feedback on the following coding which i have used for constructing "community level poverty" using dhs data of Pakistan. i need to know if this variable has been constructed correctly.
gen cpvt=0
replace cpvt=1 if v190==1
bysor v001:egen cmpov=mean(cpvt)
xtile compov=cmpov,nq(3)
la def compov 1 low 2 moderate 3 high
la var compov "Community Poverty Level"
la val compov compov
tab compov[iweight=wgt]
|
|
|