The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Minimum Meal frequency in BDHS 2014
Minimum Meal frequency in BDHS 2014 Wed, 22 February 2017 02:15
 Md. Nurnabi Sheikh Messages: 4Registered: May 2016 Location: Bangladesh Member
I am working IYCF practice on BDHS child datasets for my MPH thesis,and trying to replicate Minimum meal frequency in table 11.6. But I am not able to get same percentages among breastfed children, non-breastfed children and all children age 6-23 months. I am working in stata and my algorithm as follows;

* Last child in the last 2 years living with mother
* age in months
gen age = v008-b3
* drop if too old or not alive
keep if age<24 & b5==1

* keep only those children living with mother ...
keep if b9==0
* ... and keep the last born of those
drop if _n > 0 & caseid == caseid[_n-1]

drop if age<6

*Minimum meal frequency
tab m39, m

*Minimum meal frequency for breastfeed child age 6-8 months, 9-23 months
recode m39 (2/7=1 "2-7"), gen(mm1)
recode m39 (3/7=1 "3-7"), gen(mm2)

*Minimum meal frequency for non-breastfeed child age 6-23 months
recode m39 (4/7=1 "4-7"), gen(mm3)

*Age group
recode age (6/8=1 "6-8")(9/23=2 "9-23"), gen (age_g)

*Breastfeeding status
gen still_feeding=1 if m4==95
replace still_feeding=0 if still_feeding==.

*Minimum meal frequency applying all conditions
gen mmf1=1 if mm1==1 & age_g==1 & still_feeding==1

gen mmf2=1 if mm2==1 & age_g==2 & still_feeding==1

gen mmf3=1 if mm3==1 & still_feeding==0

It would be very much helpful for me if any one help me with stata command.

Regards,
Nurnabi

Nurnabi

 Minimum Meal frequency in BDHS 2014 By: Md. Nurnabi Sheikh on Wed, 22 February 2017 02:15 Re: Minimum Meal frequency in BDHS 2014 By: Trevor-DHS on Mon, 08 May 2017 15:10 Re: Minimum Meal frequency in BDHS 2014 By: Louis on Thu, 01 March 2018 09:01 Re: Minimum Meal frequency in BDHS 2014 By: Louis on Thu, 01 March 2018 11:15 Re: Minimum Meal frequency in BDHS 2014 By: rayhangog@gmail.com on Thu, 16 May 2019 16:19 Re: Minimum Meal frequency in BDHS 2014 By: Bridgette-DHS on Tue, 12 November 2019 10:32 Re: Minimum Meal frequency in BDHS 2014 By: rayhangog@gmail.com on Wed, 13 November 2019 04:23 Re: Minimum Meal frequency in BDHS 2014 By: shobhit on Tue, 19 September 2023 07:13 Re: Minimum Meal frequency in BDHS 2014 By: Bridgette-DHS on Tue, 19 September 2023 10:02 Indonesian : child age in month By: Hai R on Mon, 19 March 2018 01:17 Re: Indonesian : child age in month By: Hai R on Mon, 19 March 2018 01:46 Re: Indonesian : child age in month By: Trevor-DHS on Mon, 19 March 2018 09:52 Re: Indonesian : child age in month By: Hai R on Mon, 19 March 2018 20:57 Re: Indonesian : child age in month By: Hassen on Wed, 25 April 2018 10:54 Re: Indonesian : child age in month By: Hassen on Thu, 26 April 2018 03:55 Indonesia IYCF DHS 2012 By: Hai R on Mon, 22 April 2019 03:14 Re: Indonesia IYCF DHS 2012 By: dnameispaone on Fri, 26 April 2019 08:53 Re: Indonesia IYCF DHS 2012 By: Hai R on Sun, 28 April 2019 23:44 Re: Minimum Meal frequency in BDHS 2014 By: Trevor-DHS on Thu, 02 May 2019 15:03
 Previous Topic: Turkey 2008 child weight and height Next Topic: Merge two data set
Goto Forum:

Current Time: Wed Jul 17 16:18:57 Coordinated Universal Time 2024