The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » Merging the child, household and wealth file for Philippines 1998
Re: Merging the child, household and wealth file for Philippines 1998 [message #12840 is a reply to message #12835] Fri, 21 July 2017 12:18 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3060
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

Ok -- your original query did say 2008, not 1998.

You can merge the PR and WI files using hhid and whhid, as follows:

use e:\DHS\DHS_data\WI_files\PHWI3AFL.dta, clear
rename whhid hhid
sort hhid
save e:\DHS\DHS_data\scratch\PHtemp.dta, replace

use e:\DHS\DHS_data\PR_files\PHPR3BFL.dta, clear
sort hhid
merge hhid using e:\DHS\DHS_data\scratch\PHtemp.dta

However, the KR file for this survey does not include b16. There have been several references to b16 in other forum posts. Without b16, you cannot merge the KR and PR files. Sorry about that.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DRC merge individuals records contained in household data to child data
Next Topic: Thoughts on pooling surveys from single country
Goto Forum:
  


Current Time: Wed May 15 12:15:26 Coordinated Universal Time 2024