The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » SPA survey Tanzania: Setting survey design and using weights for health facilities and health care p
Re: SPA survey Tanzania: Setting survey design and using weights for health facilities and health care p [message #10387 is a reply to message #10380] Fri, 22 July 2016 10:43 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3138
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

I believe your svyset is correct. Providers nested within facilities is equivalent to households nested within clusters. However, strata should be included in svyset. I just tried this with the Tanzania 2006 SPA data (I merged the facility and provider data and used the outcome variable you indicated). You need to check the final report but usually the SPA strata are region by facility type.

egen strata = group(u001 u007)
gen v005_2= v005/1000000
gen u005_2= u005/1000000
*outcome variable
recode w167 (8/9=0), gen(w167b)

svyset inv_id, weight(v005_2) strata(strata) singleunit(centered) || _n, weight(u005_2)
svy: melogit w167b w102 || inv_id:
 
Read Message
Read Message
Read Message
Previous Topic: Domestic violence and HIV
Next Topic: Weighting variable in Pakistan 2012/13
Goto Forum:
  


Current Time: Fri Aug 16 02:26:06 Coordinated Universal Time 2024