Re: Generating new variables in dataset with weighting [message #4119 is a reply to message #4043] |
Thu, 02 April 2015 08:17 |
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.
|
|
|