The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » How to merge KR variables into the PR dataset (Rwanda DHS 2010)
How to merge KR variables into the PR dataset (Rwanda DHS 2010) [message #671] Sun, 04 August 2013 17:05 Go to next message
richardn is currently offline  richardn
Messages: 4
Registered: August 2013
Location: Berlin
Member
Dear all,

For my analysis, most of the variables I need are in the individuals dataset (PR), but some the the key exposure variables I am interested in are only in the children's file (KR).

I'm struggling to figure out how to merge these into the PR file, it seems that I cannot find the unique identifying variable for the merge. I tried everything as I undestood it from the DHS data notes (merging via the cluster and household variables after renaming them to the same variable name) but it doesn't seem to work. I am working with STATA version 11.

Any help would much appreciated!

Thanks!

Richard
Re: How to merge KR variables into the PR dataset (Rwanda DHS 2010) [message #704 is a reply to message #671] Thu, 22 August 2013 10:43 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3016
Registered: February 2013
Senior Member
There are several posts in the forum on merging datasets in Stata. Please do a search on the Forum to get some guidance. One of these posts is found at:
http://userforum.measuredhs.com/index.php?t=msg&th=49&am p;goto=71&#msg_71
Previous Topic: Random effects with survey design adjustment?
Next Topic: calculating median breastfeeding duration using current status data
Goto Forum:
  


Current Time: Thu Mar 28 10:39:52 Coordinated Universal Time 2024