How to create a single weight when combining surveys [message #22540] |
Mon, 29 March 2021 14:32 |
PerrinKrisko
Messages: 1 Registered: March 2021
|
Member |
|
|
Hi all,
I am new to the DHS and trying to combine the women's, births, and children's surveys because these are the files that provide details pertaining to respiratory conditions. My unit of analysis is individuals. I couldn't figure out how to combine weights and strata since each of these surveys contain a unique weight and strata variables. See below what I have so far:
* Set survey parameters based on Nepal DHS Appendix A *
* DHS Guidelines state to use variable v005 divided by 1,000,000 as the weight variable *
* DHS Guidelines state to use variable v021 as the primary sampling unit variable *
* DHS Guidelines state to use variable v023 as the stratification variable *
rename v005 female_weight
rename v021 psu
rename v023 strat_unit
gen svy_wt = female_weight/1000000
svyset psu [pweight=svy_wt], strata(strat_unit) singleunit(centered)
I could offer more information if needed about how I have cleaned the data so far or about the question I am aiming to analyze. Would someone be able to offer me advice on how to do this? Thank you!
Perrin
|
|
|