The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Calculating for children less than 23 months
Calculating for children less than 23 months [message #9260] Sun, 28 February 2016 16:57 Go to previous message
tony is currently offline  tony
Messages: 10
Registered: March 2013
Location: Ghana
Member

Daer all,

I'm trying to calculate for the number of youngest child under two years living with their mother. But the figures I get do not correspond with those in the report; thus Table 11.3: Breastfeeding status by age. I am using the children file of Ghana DHS 2014. Any help. Thanks.

Below is the Stata code I used.

clear
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]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Computing Exclusive Breastfeeding Using SPSS
Next Topic: women's empowerment on child nutrition
Goto Forum:
  


Current Time: Tue Oct 8 14:56:10 Coordinated Universal Time 2024