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   |
Bridgette-DHS
Messages: 3230 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
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Feb 21 15:02:51 Coordinated Universal Time 2025
|