The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Egypt » Question about a variable in the Egypt 2005 DHS
Re: Question about a variable in the Egypt 2005 DHS [message #4132 is a reply to message #4068] Thu, 02 April 2015 16:56 Go to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
You can find that variable I417 in the EGOD5A.zip file for the Egypt DHS 2008. We do not have the variable in a recode format as it appears in a separate questionnaire, called the Health Issues Questionnaire. You can find it in the map file distributed with the data.
Quote:
I417 In the last 6 months have you heard, seen, or received any information about HIV/AIDS
1 Yes
2 No
8 Not sure
(m) 9 Missing
(na)


In the Egypt DHS 2005, the raw variable Q1125 "In the last 6 months have you heard, seen, or received any information about HIV/AIDS?" was recoded as follows and is country-specific s1126a - s1126j, s1126x - s1126z
Quote:
if W1125=8 then
s1126a=0;
s1126b=0;
s1126c=0;
s1126d=0;
s1126e=0;
s1126f=0;
s1126g=0;
s1126h=0;
s1126i=0;
s1126j=0;
s1126x=0;
s1126y=0;
s1126z=1;
elseif pos("?",W1126) or W1125=missing then
s1126a=missing;
s1126b=missing;
s1126c=missing;
s1126d=missing;
s1126e=missing;
s1126f=missing;
s1126g=missing;
s1126h=missing;
s1126i=missing;
s1126j=missing;

s1126x=missing;
s1126y=missing;
s1126z=missing;
elseif W1125=2 then
s1126a=0;
s1126b=0;
s1126c=0;
s1126d=0;
s1126e=0;
s1126f=0;
s1126g=0;
s1126h=0;
s1126i=0;
s1126j=0;
s1126x=0;
s1126y=1;
s1126z=0;
elseif length(strip(w1126)) then
s1126a=(pos("A",W1126)>0);
s1126b=(pos("B",W1126)>0);
s1126c=(pos("C",W1126)>0);
s1126d=(pos("D",W1126)>0);
s1126e=(pos("E",W1126)>0);
s1126f=(pos("F",W1126)>0);
s1126g=(pos("G",W1126)>0);
s1126h=(pos("H",W1126)>0);
s1126i=(pos("I",W1126)>0);
s1126j=(pos("J",W1126)>0);
s1126x=(pos("X",W1126)>0);
s1126y=0;
s1126z=0;
endif;


I hope this answers your question. If you have additional questions, please post again. Thank you!
 
Read Message
Read Message
Previous Topic: Egypt 2008 DHS: IR data file versus OR data file
Next Topic: how to cite egypt dhs 2014 preliminary report
Goto Forum:
  


Current Time: Tue Mar 11 14:10:03 Coordinated Universal Time 2025