The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Merging KR file to mother characteristics
Merging KR file to mother characteristics [message #26408] Fri, 17 March 2023 00:28 Go to next message
varun.sharma is currently offline  varun.sharma
Messages: 1
Registered: March 2023
Member
Hi.
Can someone please suggest STATA code for merging child file (12-23 months) with their mother characteristics
I am using the following code -
use IAKR7DFL.DTA, clear
merge m:1 (v001 v002 v003) using IAIR7DFL.dta
keep if _merge==3
save IAKR7DFLNEW.DTA, replace

Just want to know if it is the correct way. Please suggest.
Thanks
Re: Merging KR file to mother characteristics [message #26412 is a reply to message #26408] Fri, 17 March 2023 08:54 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member

Following is a response from Senior DHS staff member, Tom Pullum:

This type of question has been answered a few times on the forum. The KR file includes virtually all of the mother's data on the same record as the child's data. You do not need to merge with the IR file. The KR and BR files are simply reshaped versions of the IR file.
Previous Topic: Woman and her husband's employment
Next Topic: stunting and underweight in HR data file
Goto Forum:
  


Current Time: Sun Dec 1 18:54:09 Coordinated Universal Time 2024