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 previous 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
 
Read Message
Read Message
Previous Topic: Random effects with survey design adjustment?
Next Topic: calculating median breastfeeding duration using current status data
Goto Forum:
  


Current Time: Sun Nov 24 12:38:51 Coordinated Universal Time 2024