The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Community level Poverty
Community level Poverty [message #23174] Tue, 27 July 2021 04:36 Go to previous message
saifulhaq is currently offline  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]

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Availability of health facility
Next Topic: Multi-level mixed effect Poisson regression in Stata
Goto Forum:
  


Current Time: Thu Apr 18 12:50:13 Coordinated Universal Time 2024