The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Sampling and Weighting Webinar June 2015 » Weighting for multi-country data (Weighting data at country and and community level)
Weighting for multi-country data [message #17978] Wed, 07 August 2019 08:53
Abraham is currently offline  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
Previous Topic: Webinar Recording and Script now available
Next Topic: June 3rd Webinar Analyzing DHS Data: Weights and other adjustments for the survey design
Goto Forum:
  


Current Time: Thu Dec 12 20:14:30 Eastern Standard Time 2019