The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » Merging two rounds
Re: Merging two rounds [message #28051 is a reply to message #28048] Mon, 06 November 2023 09:52 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3150
Registered: February 2013
Senior Member

Following is a response from Senior DHS staff member, Tom Pullum:

You are talking about appending the two surveys into a single long file, rather than merging them case-by-case, which is not possible, because DHS surveys are independent of one another. In Stata the command is "append", and you can get its syntax with "help append". It will help to define a variable "survey" with survey=1 in the first survey and survey=2 in the second survey. Otherwise you can use the interview year (v007) to distinguish between the surveys. In the analysis, you would treat "survey" as a covariate, in the same way as place of residence (v025), for example.
 
Read Message
Read Message
Previous Topic: Merging IR and PR - Indonesia 1987
Next Topic: Child nutrition and spousal violence
Goto Forum:
  


Current Time: Fri Aug 30 07:18:38 Coordinated Universal Time 2024