The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Egypt » 2004 Egypt Service Provision Assessment svy:tab command use
Re: 2004 Egypt Service Provision Assessment svy:tab command use [message #9912 is a reply to message #9807] Mon, 06 June 2016 08:17 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3172
Registered: February 2013
Senior Member
Following is a response from DHS Stata Specialist, Shireen Assaf:

In SPAs the PSU is the facility itself so you would use facil or fcode in the Egypt SPA.
Stratification is usually by facility type and region, in Egypt the region is represented by the governorates so you would need to create a strata variable as follows :
egen strata=group(ftype govern )

Then for facility data you would use the strata variable you created above in the svyset as follows:
svyset fcode [pw=facwt], strata(strata)

For client level data ( you need to use the client weight, clwt) and use cgoven and cftype to create the strata variable.

If you receive error and error stating "Note: Missing standard errors because of stratum with single sampling unit."

Then use:
svyset fcode [pw=facwt], strata(strata) singleunit(centered)

Hope this helps.
 
Read Message
Read Message
Read Message
Previous Topic: Domestic violence module
Next Topic: Recodes
Goto Forum:
  


Current Time: Tue Oct 15 17:19:26 Coordinated Universal Time 2024