Re: NFHS-5 Dietary indicators [message #25484 is a reply to message #25478] |
Thu, 27 October 2022 07:33 |
Bridgette-DHS
Messages: 3199 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]
|
|
|