Re: 2004 Egypt Service Provision Assessment svy:tab command use [message #10009 is a reply to message #9912] |
Wed, 15 June 2016 17:21 |
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
|
|
|