Weighting for multi-country data [message #17978] |
Wed, 07 August 2019 08:53 |
Abraham
Messages: 4 Registered: April 2018 Location: Ethiopia
|
Member |
|
|
Dear DHS expertise,
I am planning to analyze multicountry data (sub-Saharan countries) on household drinking water handling practices. I can weight the data at the household level using
gen WGT= v005/1000000
svyset [pw=WGT], psu(v021) strata(v022)
But, I want to know whether it is possible to weight data both at the community(within the country) and at the country level.
Or How can I creat weighted varibale for country (wvar3) and community (wvar2) to run multilevel modeling as:
melogit y x [pw=WGT] ||country:, pw(wvar3) || community:, pw(wvar2)?
Abraham
|
|
|