The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nigeria » Merging Household member and Individual Recode files for Nigeria 1999
Re: Merging Household member and Individual Recode files for Nigeria 1999 [message #3090 is a reply to message #3076] Mon, 13 October 2014 17:43 Go to previous messageGo to previous message
user-rhs is currently offline  user-rhs
Messages: 132
Registered: December 2013
Senior Member
Kalkidan,
Did you try to do a [something]-to-one merge (e.g. merge 1:1 or merge m:1)? If you did, and the using data that you specified as "one" has duplicate IDs, then Stata will tell you that the variables do not uniquely identify the observations. You need to figure out whether it makes sense in your case that the using data should have more than 1 observation with the same ID, and if that is the case, then you should do a [something]-to-many merge (merge 1:m, merge m:m) instead of merge 1:1 or merge m:1.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Variables related to country's regions
Next Topic: Migrant Variable
Goto Forum:
  


Current Time: Mon Jan 13 09:37:46 Coordinated Universal Time 2025