Re: Kenya SPA 2010 - how to apply weights [message #8858 is a reply to message #8771] |
Mon, 04 January 2016 14:32   |
Liz-DHS
Messages: 1516 Registered: February 2013
|
Senior Member |
|
|
Dear User,
Here is a response from one of our sampling experts, Dr. Mahmoud Elkasabi:
Quote:The 2010 Kenya SPA survey is based on a stratified sample, where the country regions (v001) and the facility types (v007) were the stratification variables. Regarding the sample clusters, the facilities (v004)should be identified as sampling clusters/PSUs, especially for providers or clients based indicators, where more than one provider/client were interviewed within each facility. Therefore, the following Stata command can be used to identify the complex design and calculate the survey indicators, such as "indic".
Please note that the "strata" variable should be modified to avoid the single PSU strata. You should recode the stratification variable "strata" into a new stratification variable "strata2", in which the single PSU strata are combined with other strata.
gen fcwgt=v005/1000000
egen strata=group(v001 v007)
gen strata2 = strata
replace strata2 = ...... if .................
etc
*complex survey paramteres
svyset[pw=fcwgt], psu(v004) strata(strata2)
svy: mean indic
estat size
estat effects
Best,
Mahmoud
|
|
|