The DHS Program User Forum
Discussions regarding The DHS Program data and results
Today's Messages (off)  | Unanswered Messages (on)

Forum: Kenya
 Topic: Calculating time to first birth after marriage
Calculating time to first birth after marriage [message #17918] Wed, 17 July 2019 12:11
Kennedy is currently offline  Kennedy
Messages: 1
Registered: July 2019
Member
Dear DHS,
How would I go about computing time to first birth after date of marriage. Data is in CMC and needs conversion to years, An example from DHS Kenya data for 2008/09 will be appreciated.
With kind regards,
Kennedy
Forum: Child Health
 Topic: Variable definition
Variable definition [message #17901] Thu, 11 July 2019 04:17
jenyaz5 is currently offline  jenyaz5
Messages: 1
Registered: July 2019
Member
Hello,
I would like to use the variable "type of place of residence" which has been defined as "Type of place of residence where the household resides as either urban or rural" from Malawi DHS data sets to analyze the correlation between acute respiratory infections in under five children and household factors. However I would like to ask for further clarification on the definition of the variable. How does the DHS differentiate urban from rural area/What features do they look for in order to say this place is urban and this is rural.

attached is a table containing all the variables of interest for my study.

Regards
 Topic: Correct derivation of Age-appropriate vaccination
Correct derivation of Age-appropriate vaccination [message #17900] Wed, 10 July 2019 18:27
funkyola is currently offline  funkyola
Messages: 8
Registered: April 2018
Location: NIgeria
Member
Dear all,

Please, I have worked on a study which the outcome was age-appropriate vaccination. I have consulted this forum widely and also the DHS site below

https://dhsprogram.com/data/Guide-to-DHS-Statistics/Vaccinat ion.htm

The codes I used are written below. However, there has been back and forth comments if the codes are correct to derive age-appropriate vaccination, rather it seems the codes are for complete vaccination.

Please is the below code correct for age-appropriate vaccination? or is it for complete vaccination? If my codes are wrong, then what is the right way to get age-appropriate vaccination, and if codes are correct, how do I derive complete vaccination. This clarification is highly needed to conclude this multi-country study.

KINDLY ASSIST.

Thank you all.


gen bcg=0
replace bcg=1 if h2>0 & h2<8
replace bcg=. if hw1<12 | hw1>23

gen dpt=0
replace dpt=1 if h3>0 & h3<8 & h5>0 & h5<8 & h7>0 & h7<8
replace dpt=. if hw1<12 | hw1>23

gen measles=(h9==1|h9==2|h9==3)
replace measles = . if hw1<12 | hw1>23

gen polio=0
replace polio=1 if h4>0 & h4<8 & h6>0 & h6<8 & h8>0 & h8<8
replace polio = . if hw1<12 | hw1>23

gen vaccine=0
replace vaccine=1 if polio==1 & dpt==1 & measles==1 & bcg==1
replace vaccine= . if hw1<12 | hw1>23

Forum: Nigeria
 Topic: Running DHS Datasets on STATA
Running DHS Datasets on STATA [message #17916] Wed, 17 July 2019 06:35
Ogah is currently offline  Ogah
Messages: 1
Registered: July 2019
Member
Hello there,

I need help on how to run STATA version of DHS datasets on my PC. I have downloaded and unzipped the file. But I got an error "NGFW72FL.DAT not found" when I ran the .DO file. Please what is the likely problem and how do I resolve it.
Forum: Nutrition and Anthropometry
 Topic: Co-occurrence of stunting & anemia, Stunting & overweight & obese among under five children
Co-occurrence of stunting & anemia, Stunting & overweight & obese among under five children [message #17914] Mon, 15 July 2019 11:21
Alinoor is currently offline  Alinoor
Messages: 6
Registered: January 2016
Location: Jigjiga
Member
Greetings!

I'm trying to generate a variable from two different variables. i.e a variable that has both stunted and overweight children. I came up with the following STATA codes but not sure if it is correct.

gen stunting_overweight=.
replace stunting_overweight =1 if stunting==1 & baz1==1
replace stunting_overweight =0 if stunting==1 & baz1==0

see the below table used as a reference when generating the variable


-------------------------------
| baz1
stunting | 0 1 Total
----------+--------------------
0 | .8916 .1084 1
| 5036 716 5752
|
1 | .9483 .0517 1
| 3004 219 3223
|
Total | .9131 .0869 1
| 8040 935 8975
-------------------------------

[Updated on: Mon, 15 July 2019 11:22]

Report message to a moderator

Forum: Bangladesh
 Topic: Need information about some variables.
Need information about some variables. [message #17908] Fri, 12 July 2019 09:03
tahneiaquader is currently offline  tahneiaquader
Messages: 7
Registered: August 2018
Location: South Korea
Member
Dear All,

My query might sound silly. But being a newbie I am not well conversant with DHS dataset. Can anyone please tell me where to search for V008A, B17, B18 and B19 in Bangladesh DHS dataset. I need CDC for recoding timely vaccination, but what I am getting is CMC.

Thanks in advance.
Tania

[Updated on: Fri, 12 July 2019 09:03]

Report message to a moderator




Current Time: Wed Jul 17 15:31:48 Eastern Daylight Time 2019