The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Merging data files » Merging data files differend years same IR
Re: Merging data files differend years same IR [message #11924 is a reply to message #11923] Mon, 06 March 2017 17:32 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3216
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

You have appended the files and constructed a variable that identifies each survey. I will assume that variable is called "survey" and it takes the values 1999, ..., 2014, for example. You then need to construct new PSUs and strata. I suggest something like this in Stata:

egen psuid=group(survey v021) and
egen stratumid=group(survey v022) .

After that you do svyset and svy.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Issues with Merging Congo 2009 HIV Data
Next Topic: Merging KR and IR
Goto Forum:
  


Current Time: Sat Jan 4 18:30:06 Coordinated Universal Time 2025