The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Merging HR variables with KR file
Re: Merging HR variables with KR file [message #10956 is a reply to message #10951] Wed, 12 October 2016 08:15 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3117
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

Quote:
This looks ok to me, except that in one place "mmerge" should of course be "merge". Sometimes, when I want household variables, I will use the PR file, rather than the HR file, with "keep if hvidx==1" to get just one record per household. But what you have is fine.

[Updated on: Wed, 12 October 2016 08:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Survival Status in Stata
Next Topic: Education level in single years in CR
Goto Forum:
  


Current Time: Sun Jul 28 03:25:12 Coordinated Universal Time 2024