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 #6734 is a reply to message #6695] Mon, 06 July 2015 08:55 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3043
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

You did not say what survey you are using. There are a few surveys for which v024 x v025 will not correctly give the strata. In general, however, this will be correct.

It is not necessary to divide v005 by 1000000. Stata always normalizes pweights to have a mean of 1. The following would be equivalent:

egen strata=group(v024 v025)

svyset v021 [pweight=v005], strata(strata) singleunit(centered)
 
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: Mon Apr 29 02:52:47 Coordinated Universal Time 2024