The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Ethiopia » Analysis on Exclusive breastfeeding (EBF) in Ethiopian DHS 2016 (unable to differentiate exclusive breastfeeding and non-exclusive breastfeeding in Ethiopian DHS 2016 )
Re: Analysis on Exclusive breastfeeding (EBF) in Ethiopian DHS 2016 [message #18833 is a reply to message #18741] Thu, 27 February 2020 14:16 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3035
Registered: February 2013
Senior Member

Following is a response from DHS Lead Nutrition Research Associate, Rukundo Benedict:

Based on your message it looks like you are using the correct file and some of the variables. Note if you are replicating table 11.3, this table is based on children under 2 years (var b19<24) who are living with their mother.

The STATA code below will be helpful for replicating table 11.3 in the 2016 Ethiopia DHS.

****Table 11.3 Breastfeeding status according to age****

use "ETKR70FL.DTA"

*Generate weight variable**
gen wgt=v005/1000000

*Generate age, keep those <2 years
gen age=b19
keep if age<24
*keep only those children alive 
ta b5
keep if b5==1

*Generate age groups
recode age (0/1=1 "0-1")(2/3=2 "2-3")(4/5=3 "4-5")(6/8=4 "6-8")(9/11=5 "9-11")(12/17=6 "12-17")(18/23=7 "18-23"), gen (age_months)


**If drank from bottle with nipple (bottlefeeding)
gen bottle=0
replace bottle=1 if m38==1 
gen wgt=v005/1000000
ta age_month bottle  [iw=wgt], row

*Important Note: for the other indicators, children must be the youngest child and living with mother
*keep only those living with mother
keep if b9==0
* finding the youngest child living with the mother
bysort v001 v002 v003: egen minbidx=min(bidx) 
* keep only children less than 2 years 
keep if age<24
ta bidx minbidx 
* need to drop those that are bidx==2 and minbidx==1
drop if bidx>minbidx
ta age_month [iw=wgt]



gen water=0
gen liquids=0
gen milk=0
gen solids=0
gen breast=0


*To determine if child is given water, sugar water, jiuce, tea or other  
replace water=1 if (v409>=1 & v409<=7)
                  
* If given other liquids
foreach xvar of varlist v409a v410 v410a v413*  {
replace liquids=1 if `xvar'>=1 & `xvar'<=7
}
                                                                                          
* If given powder/tinned milk, formula or fresh milk 
foreach xvar of varlist v411 v411a v412 v414p {
replace milk=1 if `xvar'>=1 & `xvar'<=7
}

*If currently breastfeeding
replace breast=1 if m4==95 


*If given any solid
foreach xvar of varlist v414* {
replace solids=1 if `xvar'>=1 & `xvar'<=7
}
replace solids=1 if v412a==1 | v412b==1 

gen feeding=1
replace feeding=2 if water==1
replace feeding=3 if liquids==1
replace feeding=4 if milk==1
replace feeding=5 if solids==1
replace feeding=0 if breast==0
label define feeding 0 "Not breastfeeding" 1 "exclusive breastfeeding" 2 "+Water" 3 "+Liquids" 4 "+Other Milk" 5 "+Solids"
label val feeding feeding


ta age_month feeding  [iw=wgt], row
ta age_month breast  [iw=wgt], row
 
Read Message
Read Message
Read Message
Previous Topic: RURAL VS URBAN
Next Topic: Calculating stillbirth using Ethiopia DHS 2000
Goto Forum:
  


Current Time: Sat Apr 20 12:05:29 Coordinated Universal Time 2024