The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Unable to recreate numbers from DHS Final Survey
Re: Unable to recreate numbers from DHS Final Survey [message #6695 is a reply to message #5623] Mon, 29 June 2015 10:32 Go to previous messageGo to previous message
duke2015
Messages: 27
Registered: March 2015
Location: United States
Member
Thank you!

If I am looking to run a regression predicting child HAZ from this variable, will this coding in Stata 13 work for the svy adjustment?:

egen strata=group(v024 v025)
gen sampwt=v005/1000000

svyset v021 [pweight=sampwt], strata(strata) singleunit(centered)

Thanks in advance!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Setting svyset for KDHS 2008
Next Topic: how the sample increase when we use weights
Goto Forum:
  


Current Time: Sun Dec 22 12:50:00 Coordinated Universal Time 2024