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 #18335 is a reply to message #18327] Tue, 12 November 2019 05:46 Go to previous messageGo to previous message
Niranjana is currently offline  Niranjana
Messages: 13
Registered: October 2019
Member
Thank you for the response.

I am appending the files to get a repeated cross-sectional dataset so it is necessary in this context that I append it.

I followed the advice of Kerry MacQuarrie for both NFHS 1 & 2 to create a strata variable, however they are not unique within waves. V024 is the states variable and V025 is they type of residence

gen strata = v024*v025
tab strata v024

I got the following output after following the 2 steps mentioned by Kerry.

/index.php?t=getfile&id=1483&private=0

I am not certain if this was the expected output but as you can see, two states have the same two strata variable. So adding the prefix depending on NFHS 1 or 2 would not work. Do let me know if there is a way to rectify this before appending.
  • Attachment: strata.png
    (Size: 83.11KB, Downloaded 1548 times)

[Updated on: Tue, 12 November 2019 05:52]

Report message to a moderator

 
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: Wed Nov 27 10:15:02 Coordinated Universal Time 2024