The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Wealth Index » Quintile cutoffs - weighted and unweighted
Re: Quintile cutoffs - weighted and unweighted [message #10107 is a reply to message #9804] Tue, 28 June 2016 10:18 Go to previous messageGo to previous message
k322a is currently offline  k322a
Messages: 3
Registered: June 2016
Member
Hi,

Hope to know if you managed to solve this? I am also having issues replicating the quintile (cutoffs). This is my code for the 2010 Tanzania DHS -

xtile _5=hv271 [pw=cond(hv012==0,hv005*hv013,hv005*hv012)] , n(5)

. ta _5 hv270

5 |
quantiles | Wealth index
of hv271 | Poorest Poorer Middle Richer Richest | Total
-----------+------------------------------------------------ -------+----------
1 | 1,889 93 0 0 0 | 1,982
2 | 0 1,802 12 0 0 | 1,814
3 | 0 0 1,711 0 0 | 1,711
4 | 0 0 188 1,841 0 | 2,029
5 | 0 0 0 221 1,866 | 2,087
-----------+------------------------------------------------ -------+----------
Total | 1,889 1,895 1,911 2,062 1,866 | 9,623


Any help would be much appreciated.

Kerry
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wealth Index Spatial Data
Next Topic: Indonesia Sanitation Options
Goto Forum:
  


Current Time: Sun Dec 22 06:41:34 Coordinated Universal Time 2024