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
svy and svyset after appending multiple waves of the NFHS [message #18304 is a reply to message #18242] Mon, 04 November 2019 05:19 Go to previous messageGo to previous message
Niranjana is currently offline  Niranjana
Messages: 13
Registered: October 2019
Member
Dear Bridgette and Tom,

While working with the appended (all four waves have been appended to form a repeated cross-sectional dataset) version of the DHS India women's folders, I've found that the variable for strata (V023) is coded differently across all years from 1992-93 to 2015-16. I would like to work with -svy- and -svyset- codes but am concerned about the variable definition varying significantly between survey waves. Currently, this is how I was hoping to run the codes to obtain SEs, CIs.

gen wt=v005/1000000 

egen stratum  = group(v024 v025)
svyset v021 [pw=wt], strata(stratum)
br stratum


svy : mean var_interest, over(v024)




However, I am unable to produce any standard errors or CI after this and I get the following error message:

Missing standard errors because of stratum with single sampling unit


I am also not sure if I need to generate a different weight variable for each year of the India women's survey rounds.

Do let me know how to proceed on this front.

Thank you,

Niranjana

[Updated on: Mon, 04 November 2019 05:43]

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: Sun Jul 14 16:34:46 Coordinated Universal Time 2024