The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Svysey vs iweght
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=2863&th=1510#msg_2863
In the DHS user fora I've read, I have seen people use both the svyset and the weight commands in stata to analyze DHS data. For instance, I have seen both of the following:
Could you comment on the difference between these commands and when it is appropriate to use each?
Many thanks!
]]>jtdkelly@gmail.com2014-09-03T14:33:18-00:00Re: Svysey vs iweght
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=2872&th=1510#msg_2872
Three points that may help:
(1) In estimation commands, you can adjust for weights and clusters within the command, for example with "regress y x [pweight=v005], cluster(v001)", and you don't really need svyset and svy, although many people use them anyway. However, the only way to make the adjustment for strata is by using svyset and svy.
(2) Unfortunately, some commands in Stata such as tab do not allow pweights, in particular, so many people will use svyset and svy: tab (say) for such commands.
(3) Adjustments for clusters and strata will only affect standard errors. These adjustments should be used if you are estimating standard errors (for tests or confidence intervals) but are not relevant otherwise. The adjustment for weights will affect estimates AND standard errors.]]>Bridgette-DHS2014-09-04T16:36:26-00:00