The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » HH head education level merge
Re: HH head education level merge [message #3186 is a reply to message #3184] Sun, 02 November 2014 20:28 Go to previous messageGo to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

I always mess this up to, but I think you need "m:1"

From Stata, with my adaptations in []: http://www.stata.com/manuals13/dmerge.pdf

This is an m:1 merge because [householdID] can correspond to many observations in the master dataset [multiple kids from same household, since you've loaded in child file], but uniquely identifies individual observations in the using dataset ["using HH_member_recode_HHedonly"]

So that should work.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can continuous DHS be merged with standard DHS?
Next Topic: how to merge data files from different countries
Goto Forum:
  


Current Time: Mon Apr 29 03:09:44 Coordinated Universal Time 2024