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 #10009 is a reply to message #9912] Wed, 15 June 2016 17:21 Go to previous message
elaranda is currently offline  elaranda
Messages: 2
Registered: May 2016
Member
Thank you for your response.

I coded as you suggested. I did get a missing error initially for the single unit, but fixed it with the inclusion of singleunit(centered). It worked! Since I am analyzing sick child observations, I am using cftype and cgovern for the strata.

My final coding is the following should it be helpful to others:

svyset, clear
egen strata=group(cftype cgovern)
svyset fcode [pw=facwt], strata (strata) singleunit(centered)

Thanks so much!


Esther A
 
Read Message
Read Message
Read Message
Previous Topic: Domestic violence module
Next Topic: Recodes
Goto Forum:
  


Current Time: Thu Oct 10 08:57:09 Coordinated Universal Time 2024