The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » How is sampling done for child development and child diet?
Re: How is sampling done for child development and child diet? [message #23754 is a reply to message #23707] Wed, 24 November 2021 13:54 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3203
Registered: February 2013
Senior Member
Following is a response from Senior DHS Specialist, Trevor Croft:

The variables v409-v414w in the women's data (the IR file) refer to the youngest child under 2 living with the mother. When the KR file is constructed, with one record for each child born in the last 5 years, those variables (along with other v variables in the IR file) are copied onto the records for all children born in the last 5 years, even when the variables do not apply to that child. Thus you must either use the IR file, or use the KR file after selecting just the youngest child under 2 living with the mother.

To correctly analyze the variables with the KR file, follow the selection documented in the Code Share Library:
Go to https://github.com/DHSProgram/DHS-Indicators-Stata; Select Chapt11_NT

*Selection of the youngest child under 2 years living with the mother is done with lines 96-100 in INTmain.do:

* Selecting for youngest child under 24 months and living with mother
keep if age < 24 & b9 == 0
* if caseid is the same as the prior case, then not the last born
keep if _n == 1 | caseid != caseid[_n-1]
For the Uganda 2016 survey, age can be replaced with b19.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Computing ARI
Next Topic: Post Natal Care check
Goto Forum:
  


Current Time: Sat Dec 7 10:43:36 Coordinated Universal Time 2024