The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Nigeria 2008 Strata for Svyset
Re: Nigeria 2008 Strata for Svyset [message #22563 is a reply to message #2075] Thu, 01 April 2021 15:38 Go to previous messageGo to previous message
lbdrew is currently offline  lbdrew
Messages: 7
Registered: September 2019
Member
Hello,
I am also using Nigeria 2008 data, but I do not see hv023 and hv025. I only see v023 and v025.
Would the correct code in stata be:

gen wgt=v005/1000000
svyset[pw=wgt], psu(v021) strata(v023xv025)
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calculating ICC
Next Topic: Data name and data do not match
Goto Forum:
  


Current Time: Thu Dec 19 00:50:31 Coordinated Universal Time 2024