2004 Egypt Service Provision Assessment svy:tab command use [message #9807] |
Mon, 23 May 2016 15:12 |
elaranda
Messages: 2 Registered: May 2016
|
Member |
|
|
Your help with the use of this command is greatly appreciated.
I am using the 2004 ESPA to explore factors associated with IMCI compliance in sick child visits. I have read through the Forums on weighing and setting up the svy tab command, but I'm still not clear about what the correct Primary Sampling Unit (PSU) and strata are for the 2004 ESPA.
Is the following coding correct?
svyset, clear
svyset cftype [pweight=facwt], strata (cgovern)
(where cftype is the facility type and cgovern is the governates (region) variable; In the ESPA report summary, the authors state that the sample was stratified by governates.)
When I run this command I get the following result:
pweight: facwt
VCE: linearized
Single unit: missing
Strata 1: cgovern
SU 1: cftype
FPC 1: <zero>
I'm able to run my svy:tab commands after that but I'm not sure I have the correct results.
Your assistance is greatly appreciated.
Esther A
|
|
|
|
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
|
|
|