The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Wealth Index » Comparative Wealth Index for Bangladesh
Re: Comparative Wealth Index for Bangladesh [message #9193 is a reply to message #9145] Sun, 21 February 2016 00:44 Go to previous messageGo to previous message
mmr-UMICH is currently offline  mmr-UMICH
Messages: 21
Registered: February 2015
Location: A2, MI
Member
Thank you so much, Dr. Trevor.

I have a related question for my previous request. You know I wanted to calculate the rural wealth index for Bangladesh DHS 2011, as I mentioned previous email that I downloaded an SPSS syntax file from DHS website which QH series variables using DHS raw data. I am trying to prepare the code as per your advice; trying to find the corresponding variables of QH series from HV variables in recode data set. I did almost major part of the syntax but I cannot figure out corresponding HV variables for the following variables (I cut and paste from the downloaded syntax code). Could you please provide me the variable labels of these variables at your earliest possible convenience. Thanking you again.

(I collect the variables here: qh110A to qh110L qh118A to qh118D qh121 qh122a to qh122c
qh122_1 to qh122_5 qh123 and DOMESTIC)

*{Reset missing values to "does not have", change 2 code to 0}.
if (missing(qh110a) | qh110a<>1) qh110a=0.
if (missing(qh110b) | qh110b<>1) qh110b=0.
if (missing(qh110c) | qh110c<>1) qh110c=0.
if (missing(qh110d) | qh110d<>1) qh110d=0.
if (missing(qh110e) | qh110e<>1) qh110e=0.
if (missing(qh110f) | qh110f<>1) qh110f=0.
if (missing(qh110g) | qh110g<>1) qh110g=0.
if (missing(qh110h) | qh110h<>1) qh110h=0.
if (missing(qh110i) | qh110i<>1) qh110i=0.
if (missing(qh110j) | qh110j<>1) qh110j=0.
if (missing(qh110k) | qh110k<>1) qh110k=0.
if (missing(qh110l) | qh110l<>1) qh110l=0.
if (missing(qh118a) | qh118a<>1) qh118a=0.
if (missing(qh118b) | qh118b<>1) qh118b=0.
if (missing(qh118c) | qh118c<>1) qh118c=0.
if (missing(qh118d) | qh118d<>1) qh118d=0.
if (not(missing(qh122c)) & qh122c < 99.98) landarea=qh122c.
if (qh122c=99.95) landarea=95.
if (missing(qh122b) | qh122b<>1) landarea=0.
frequencies landarea.
if (missing(qh121) | qh121 <>1) qh121=0.
if (missing(qh122_1) | qh121 <>1) qh122_1=0.
if (missing(qh122_2) | qh121 <>1) qh122_2=0.
*if (missing(qh122_3) | qh121 <>1) qh122_3=0.
if (missing(qh122_4) | qh121 <>1) qh122_4=0.
if (missing(qh122_5) | qh121 <>1) qh122_5=0.
if (missing(qh122a) | qh122a<>1) qh122a=0.
missing values qh122_1 to qh122_5 (98,99).
if (missing(qh123) | qh123<>1) qh123=0.

Rahman
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Comparative Wealth Index for 5 countries: Need alpha and betas
Next Topic: Ghana DHS 2014 factor weight file - possible error?
Goto Forum:
  


Current Time: Sun Dec 22 18:30:54 Coordinated Universal Time 2024