IYCF - MAD indicator [message #28829] |
Sat, 16 March 2024 05:58 |
geoK
Messages: 56 Registered: May 2014
|
Senior Member |
|
|
Hello, I am trying to replicate the indicator Minimum Acceptable Diet (childre 6-23 months) using the latest DHS survey round (2022). The indicator should be 30.7% (Table 11.8 Final Report), while I am getting roughtly half of it by using the GitHub code.
Specifically, I run the !NTmain.do code where I deactivate those commands for creating indicators I am not interested in (as i only want to get MAD). I therefore only use KEKR8BFL.dta file and the NT_IYCF.do file.
The discrepancy I observe seems to me to be due to the miscalculation of the denominator: I get almost double the cases (Number of all children age 6-23 months) and about 15% MAD.
Do I have to necessarely run all the do files included in the Chap11_NT/DHS8/ repository to get the right figures, or could the mismatch be due to something else?
Many thanks!
[Updated on: Sun, 17 March 2024 13:27] Report message to a moderator
|
|
|
|
Re: IYCF - MAD indicator [message #28847 is a reply to message #28846] |
Mon, 18 March 2024 16:00 |
geoK
Messages: 56 Registered: May 2014
|
Senior Member |
|
|
Hello and thanks for the answer. I did try running the entire code after posting here, but unfortunately I still get the same discrepancies. I am probably doing something wrong, but I am running out of ideas.
Any further advice on how to match the report numbers?
Thanks again for your time and assistance.
[Updated on: Wed, 20 March 2024 04:34] Report message to a moderator
|
|
|
|
Re: IYCF - MAD indicator [message #28959 is a reply to message #28955] |
Wed, 03 April 2024 08:46 |
Bridgette-DHS
Messages: 3196 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS staff member, Tom Pullum:
Sorry you are having difficulty. It appears that there was some subsampling for the questions on diet. If you enter "tab m55,m" , for example, you will see that many children do not have a response (from the mother) for "anything other than breast milk". I propose that you use the following lines to identify the youngest child age 0-23 months living with the mother AND with an IYCF response:
use "...KEKR8BFL.DTA", clear
sort v001 v002 v003 bidx
egen sequence=seq() if b9==0 & b19>=6 & b19<=23 & m55<., by(v001 v002 v003)
gen in_sample=1 if sequence==1
tab in_sample [iweight=v005/1000000]
Please let us know if this does not give a match.
[Updated on: Wed, 03 April 2024 08:53] Report message to a moderator
|
|
|
|
|