Home » Countries » Other countries » Sierra Leone 2017 MICS6 (computing infant and young child feeding practice )
Re: Sierra Leone 2017 MICS6 [message #25890 is a reply to message #25817] |
Wed, 28 December 2022 16:01 |
Janet-DHS
Messages: 882 Registered: April 2022
|
Senior Member |
|
|
ollowing is a response from DHS Lead Nutrition Research Associate, Rukundo Benedict:
Dear User,
Thank you for sharing your code. You are on the right track and most of your code is correct. Below I've indicated the changes you need to make to your code to have it match table 11.6.
1. You didn't define mdd4 (or else you didn't include in what you shared). So edit as follows:
*Among breastfed & Non-breastfed
*3+ food groups for breastfed children & 4+ groups nonbreastfed
egen foodsum = rsum(group1 group2 group3 group4 group5 group6 group7 group8)
recode foodsum (1/2 .=0 "No") (3/8=1 "Yes"), gen(mdd3)
recode foodsum (1/3 .=0 "No") (4/8=1 "Yes"), gen(mdd4)
replace mdd3=. if age<6
replace mdd4=. if age<6
label values mdd3 yesno
label var mdd3 "Child with minimum dietary diversity, 3 out of 8 food groups- last-born 6-23 months"
label values mdd4 yesno
label var mdd4 "Child with minimum dietary diversity, 4 out of 8 food groups- last-born 6-23 months"
2. I made a small edit for how to count mmf among non-breastfeeding infants and deleted some of your code
//Min meal frequency
*Minimum times or more (at least twice a day for breastfed infants 6-8 months and at least three times a day for breastfed children 9-23 months)
gen feedings=milkf
replace feedings= feedings + m39 if m39>0 & m39<8
gen mmf = (m4==95 & inrange(m39,2,7) & inrange(age,6,8)) | (m4==95 & inrange(m39,3,7) & inrange(age,9,23)) | (m4!=95 & inrange(m39,4,7) & inrange(age,6,23))
replace mmf=. if age<6
label values mmf yesno
label var mmf "Child with minimum meal frequency- last-born 6-23 months"
3. Your code for milk and milk products for non-breastfed children was not correct and you should use the following:
gen milk_milkp= group3 if inrange(age,6,23) & bf_curr==0
4. To calculate breastmilk or milk products among all children, I used some of your milkf code and edited. You should use the following:
gen milkf = 0
replace milkf=milkf + v411 if v411==1
replace milkf=milkf + v411a if v411a==1
replace milkf=milkf + v414p if v414p==1
gen fed_milk= ( milkf>=2 | m4==95|milk_milkp) if inrange(age,6,23)
label values fed_milk yesno
label var fed_milk "Child given breastmilk or milk products"
As a side note, depending on your analyses, you may want to consider using the most recent definitions of the WHO-UNICEF IYCF indicators https://www.who.int/publications/i/item/9789240018389. The pdf includes some also template code for how to calculate/re-calculate these indicators. You can also review the DHS Program git-hub site which has code for how to re-calculate MDD (5 out of 8 food groups).
Thanks,
Rukundo
|
|
|
Goto Forum:
Current Time: Thu Nov 14 20:34:34 Coordinated Universal Time 2024
|