The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Intro of semisolid and soft foods to children
Intro of semisolid and soft foods to children [message #16256] Tue, 04 December 2018 13:27
radhs
Messages: 4
Registered: November 2018
Member
Dear mam,
I am trying to calculate statistics of children under 6-8 months children (6-8 months) receiving solid
or semi-solid food and breast milk as per who iycf.

gen age=v008-b3
recode age (0/5 = 1 "<6") (6/8 = 2 "6-8") (9/11 = 3 "9-11") (12/17 = 4 "12-17") (18/23 = 5 "18-23") (24/35 = 6 "24/35") (36/47 = 7 "36-47") (48/59 = 8 "48-59"), gen(child_age)
keep if b9==0
bysort v001 v002 v003: egen minbidx=min(bidx)
drop if bidx>minbidx

keep if child_age==2
gen semi=0
replace semi=1 if m39>=1 & m39<=7 & m4==95

but i am not getting proportions as 42.7.
Previous Topic: Correct stunting rate but wrong number of PSUs
Next Topic: Historic/event calendars to determine date of birth of children
Goto Forum:
  


Current Time: Mon Dec 30 09:44:08 Coordinated Universal Time 2024