The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Appending multiple waves of the NFHS annd PSU codes
Re: svy and svyset after appending multiple waves of the NFHS [message #18361 is a reply to message #18335] Mon, 18 November 2019 07:38 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member


Following is a response from DHS Research & Data Analysis Director, Tom Pullum:


In the appended file, I suggest that you includ a variable "survey" that is numbered 1, 2, 3, 4 for the successive NFHS's. You then construct the combined PSU number with one of the "egen" commands, specifically "group". That is, if the PSU is given by v021, the command would be "egen PSU_all=group(survey v021)". You need to do something similar for the strata, for example as "egen strata_all=group(survey v023)". There are other ways to develop unique id codes for the clusters and strata but this is the easiest way.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Uttar Pradesh data analysis mismatch
Next Topic: Creating an unbalanced panel
Goto Forum:
  


Current Time: Sat Nov 23 19:48:05 Coordinated Universal Time 2024