The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Merging households members files+male files+female files
Re: Merging households members files+male files+female files [message #6764 is a reply to message #6762] Fri, 10 July 2015 20:36 Go to previous messageGo to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

What do you mean by wanting to "merge" those two? In one case, the unit of observation is women; in the other, it is men. Do you mean you want to "merge" them into a single household in a way that gets you more information than the household recode? Or do you just want to have all the men and all the women in a single dataset?

If you just want all the men and all the women, you don't want to "merge", you want to "append" - that is, you want to add new observations, not add more information to the same observations.

If you want household-level information, you might start with that recode, and then you would merge in the additional information you need based on household ID.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error after using SELECT - "File does not contain dictionary"
Next Topic: Institutional deliveries
Goto Forum:
  


Current Time: Thu Nov 28 15:52:37 Coordinated Universal Time 2024