The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Use of weight on subsetted data (subsetted data, weight)
Re: Use of weight on subsetted data [message #18359 is a reply to message #18325] Mon, 18 November 2019 07:33 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3152
Registered: February 2013
Senior Member

Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

There are some Stata commands that do not allow svyset. For some of those commands, however, you CAN use weights, or weights and clusters, so long as you don't include strata, which seem to be the most complicated part of the svyset adjustments. You can use the weights with, for example, "[pweight=v005]" or "[iweight=v005/1000000]". Those inserts always go before the comma in the estimation command. You can try to use the cluster adjustment by putting "cluster(v021)", for example, with the options AFTER the comma. That may work even if svyset is not accepted.

If you are using pweight, which is the type of weight that is required in svyset, you do not need to re-scale v005 in any way. In fact, with pweights you CANNOT rescale v005. Whatever variable you enter as a pweight will always be rescaled so the values add to 1. For that reason, for example, "[pweight=v005]" and "[pweight=v005/1000000]" will always give you the same results. Many users go through the step of defining the weight to be v005/1000000 but that's not necessary (for the pweight option). Hope this answers your question.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weights when aggregating survey results
Next Topic: Using state men's weight
Goto Forum:
  


Current Time: Thu Sep 12 23:24:16 Coordinated Universal Time 2024