The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » MINIMUM ACCEPTABLE DIET_MINIMUM DIETARY DIVERSITY (NOT MATCHING WITH TABLE 11.7 IN DHS6 RWANDA REPORT)
Re: MINIMUM ACCEPTABLE DIET_MINIMUM DIETARY DIVERSITY (DHS India, 2019-2021) [message #24702 is a reply to message #24034] Thu, 23 June 2022 16:04 Go to previous messageGo to previous message
bikikhura98@gmail.com is currently offline  bikikhura98@gmail.com
Messages: 1
Registered: June 2022
Member
Dear all

I am calculating IYCF indicator for India with DHS 2019-2021 data. I don't know why but my results are not matching with the national report of India. can anyone please assist me on this?

please find the code which I am using below:

* Last child in the last 2 years living with mother

* drop if too old or not alive
keep if b19<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 b19<6

gen wt= v005/1000000

ge GRT=0
replace GRT= 1 if (v412a==1 | v414e==1 | v414f==1 | v412c==1)
replace GRT= . if (v412a==.& v414e==.& v414f==. &v412c==.)
label var GRT "child had grains roots or tubers"
ge legumes_nuts=0
replace legumes_nuts=1 if v414o==1
replace legumes_nuts=. if v414o==.
label var legumes_nuts "child had legumes and or nuts"
ge dairy=0
replace dairy=1 if (v411==1 | v411a==1 | v414v==1 | v414p==1)
replace dairy=. if (v411==.& v411a==.& v414v==. &v414p==.)
label var dairy "child had dairy products"
ge flesh=0
replace flesh=1 if (v414t==1 | v414m==1 | v414n==1 | v414a==1)
replace flesh=. if (v414t==.& v414m==.& v414n==. & v414a==.)
label var flesh "child had meat or poultry"
ge eggs=0
replace eggs=1 if v414g==1
replace eggs=. if v414g==.
label var eggs "child had eggs"
ge vitA_fruitsveg=0
replace vitA_fruitsveg=1 if (v414i==1| v414j ==1 |v414k==1)
replace vitA_fruitsveg=. if (v414i==.& v414j ==.&v414k==.)
label var vitA_fruitsveg "child had fruits and vegetablesrich in vitamin A"
ge other_fruitsveg=0
replace other_fruitsveg=1 if v414l==1
replace other_fruitsveg=. if v414l==.
label var other_fruitsveg "child had other fruits and vegetables"

egen diversity= rsum(GRT legumes_nuts dairy flesh eggs vitA_fruitsveg other_fruitsveg)
label var diversity "dietary diversity for 6-23 children"
ge mdd=0 if (GRT!=. | legumes_nuts!=. | dairy!=. | flesh!=. | eggs!=. | vitA_fruitsveg!=. | other_fruitsveg!=.)
replace mdd=1 if diversity>=5

ta mdd [iw=wt]

for breastfed children

ta mdd [iw=wt] if m4==95

thank you

[Updated on: Mon, 27 June 2022 09:09]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sierra Leone 2019
Next Topic: Men BMI NFHS5 INDIA
Goto Forum:
  


Current Time: Mon Jul 22 20:02:20 Coordinated Universal Time 2024