The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » Merging Birth and Household Recodes
Re: Merging Birth and Household Recodes [message #9554 is a reply to message #9553] Fri, 15 April 2016 07:34 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3214
Registered: February 2013
Senior Member
Another response from Tom Pullum:

* If the child is not in the household, which happens if the child has died or is alive but elsewhere,
* use the mother's line number as a proxy
* 90 in the next line is arbitrary
replace hvidx=v003 if hvidx==0 | hvidx>90

Then you will retain the children who have died.

Please let me know if this works.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Couples and HIV merge in STATA
Next Topic: Merging Children with Household
Goto Forum:
  


Current Time: Sun Dec 22 11:26:26 Coordinated Universal Time 2024