The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » NFHS-5 Dietary indicators (Minimum Acceptable Diet Syntax Stata)
NFHS-5 Dietary indicators [message #25471] Tue, 25 October 2022 12:34 Go to next message
raj is currently offline  raj
Messages: 2
Registered: October 2022
Member
After following the definition given on your website, I am not able to get the same estimate for Minimum Acceptable Diet (MAD) as it is given in NFHS-5 report. Request you to please share Stata Syntax codes for calculating Minimum Acceptable Diet (MAD) using NFHS-5, so that my estimates match to the MAD estimates given in NFHS-5 report.
Re: NFHS-5 Dietary indicators [message #25477 is a reply to message #25471] Wed, 26 October 2022 07:33 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3185
Registered: February 2013
Senior Member

Following is a response from DHS staff member, Tom Pullum:

You are probably referring to table 10.10 in the final report on this survey. The key overall numbers are in the "total" row, specifically n=62,253 and the percentage 11.0%. If you do not get those numbers, what numbers do you get?
Re: NFHS-5 Dietary indicators [message #25478 is a reply to message #25477] Wed, 26 October 2022 09:18 Go to previous messageGo to next message
raj is currently offline  raj
Messages: 2
Registered: October 2022
Member
Yes i am talking about table 10.10. MAD is given 11% in the report. My number of observation is 60849. I have done multiple attempts to calculate it over last one month. And still getting 13.5%. I am sure there is issue in including some variables.
It will be really helpful if you can share stata syntax for it.
Thanks
Raj
rajeco11@gmail.com
Re: NFHS-5 Dietary indicators [message #25484 is a reply to message #25478] Thu, 27 October 2022 07:33 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3185
Registered: February 2013
Senior Member
Following is a response from DHS staff member, Tom Pullum:

For this survey, we almost never get an exact match with the report. The first thing would be to try to match the n. The table has 62,253 and you get 60,849. The following Stata code gives 62,488, which is closer. Can you try again with this denominator? Note that the child has to be age 6-23 months, living with the mother, the youngest such child, and has to have a valid code for m5.

use "...IAKR7DFL.DTA", clear

* age 6-23 months, alive, living with mother; youngest such child
sort v024 v001 v002 v003 bidx
keep if b19>=6 & b19<=23 & b5==1 & b9==0
sort caseid bidx
egen sequence=seq(), by(caseid) 
tab sequence
keep if sequence==1 & m5<=94
tab b19 [iweight=v005/1000000]

Previous Topic: Unique ID Error
Next Topic: Antenatal care at least four in India nfhs report matching
Goto Forum:
  


Current Time: Fri Nov 1 21:18:59 Coordinated Universal Time 2024