The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Generating new variables in dataset with weighting
Re: Generating new variables in dataset with weighting [message #4119 is a reply to message #4043] Thu, 02 April 2015 08:17 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3017
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

If you redefine any of the variables that are used in an svyset command, after specifying svyset, I would recommend that you re-set svyset, even if the command would be exactly the same. However, I don't know for sure that it's necessary. You could easily check by doing two runs, one with a repeat of svyset and one without, to see whether the results are affected. In general, I prefer to put svyset after any recoding and as close to the estimation commands as possible, just to make it easier to read what the model is.

 
Read Message
Read Message
Previous Topic: De-normalizing and weighting data for multiple countries
Next Topic: v022, mv022, hv022 (the sample strata variables) in 2003 Burkina Faso stata dataset
Goto Forum:
  


Current Time: Fri Mar 29 08:22:17 Coordinated Universal Time 2024