The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Wealth Index » Decile Share using Wealth Index Factor by Urban and Rural (Stata)
Decile Share using Wealth Index Factor by Urban and Rural (Stata) [message #2523] Mon, 07 July 2014 07:47 Go to previous message
smileyc
Messages: 14
Registered: June 2014
Member
Hi,

I just want to seek your advice whether is it advisable to generate decile shares by urban-rural using the wealth index factor. I have read some concerns of using the wealth index (which is based on household assets that urban households commonly have)

I'm trying to use the xtile decile, please see below my syntax: (also whether my syntax below is correct, appreciate your advice)

g residence=1 if hv025==1
replace residence=0 if hv025==2
label define residence 1 "Urban" 0 "Rural"
label values residence residence
xtile decile_urban = hv271 if residence==1 [weight=weight], nq(10)
xtile decile_rural = hv271 if residence==0 [weight=weight], nq(10)

Thank you.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wealth index creation syntax file for DRC
Next Topic: problem in recomputing the factor score for BDHS6 2011 data
Goto Forum:
  


Current Time: Tue Jul 23 17:58:09 Coordinated Universal Time 2024