Re: Weighting for binary logistic regression analysis in SPSS [message #22742 is a reply to message #22738] |
Wed, 28 April 2021 13:15 |
Shireen-DHS
Messages: 140 Registered: August 2020 Location: USA
|
Senior Member |
|
|
Hello,
If your analysis involves domestic violence variables you should be using the domestic violence weight d005. To just make tabulations of your variables you would simply use the following syntax in SPSS.
compute wt=d005/1000000.
weight by wt.
However, since you are preforming analyses that involve producing SEs you need to use the complex sample package in SPSS. This is so you can account for the survey design and so you can supply the strata variable (v023) and the psu (v021). This is package would have to be purchased and is not available with the basic SPSS software.
Please also check our code share library on GitHub (https://github.com/DHSProgram/DHS-Indicators-SPSS) to check if you are coding your main variables correctly. You may especially be interested in Chapter 17 on domestic violence indicators.
Thank you.
Best,
Shireen Assaf
The DHS Program
|
|
|