The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Exclusive breastfeeding in Zambia 2013-14 dataset
Re: Exclusive breastfeeding in Zambia 2013-14 dataset [message #9255 is a reply to message #6869] Sat, 27 February 2016 17:53 Go to previous message
tony is currently offline  tony
Messages: 10
Registered: March 2013
Location: Ghana
Member

I'm also not getting figures in the report. Believe I'm doing something wrong. I'm trying to replicate Table 11.3:Breastfeeding status by age using Ghana DHS 2014 (children file). This is how I started with Stata:

keep if midx==1&b9==0&hw1<24
tab hw1
recode hw1(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")(24/59=.), gen(child_age)
tab child_age
tab child_age[w=v005]

But the result of the above did not correspond with the report figures. Any help on that and how to proceed to replicate Table 11.3: Breastfeeding status by age.

Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Bangladesh and Nepal
Next Topic: Missing values for anemia
Goto Forum:
  


Current Time: Mon Dec 23 06:38:50 Coordinated Universal Time 2024