Re: Merging two rounds [message #28051 is a reply to message #28048] |
Mon, 06 November 2023 09:52 ![Go to previous message Go to previous message](/theme/default/images/up.png) |
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.
|
|
|