The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Sample weight and use of svy command in regression
Re: Sample weight and use of svy command in regression [message #13782 is a reply to message #13752] Thu, 21 December 2017 17: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:

Yes, your command is fine. You could simplify it slightly in two ways and get the same results. First, for pweights it is not necessary to divide v005 by 1000000. Stata will do this automatically, because pweights are automatically re-scaled to have a mean of 1. Second, vce(linearized) is a default and does not need to be specified. Thus your svyset could be simply this: svyset v021 [pweight=v005], strata(v023) singleunit(missing).

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weighting Data for Pooled BDHS Household Members Dataset
Next Topic: Weighting in multilevel model with pooled data
Goto Forum:
  


Current Time: Sat Apr 27 09:51:03 Coordinated Universal Time 2024