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
|
|
|