EHIS 2015 Strata variable [message #20032] |
Sun, 20 September 2020 07:24 |
Saeed_EG
Messages: 3 Registered: September 2020
|
Member |
|
|
I have a question regarding Egypt HIS 2015, which one is the survey strata variable? I searched the DHS users forum but only one answer is there which suggests doing cross classifications of governorates and rural/urban variables to generate a new variable which is the strata variable? can someone advice what is the code for cross classification of the 2 variables in Stata?
|
|
|
Re: EHIS 2015 Strata variable [message #20104 is a reply to message #20032] |
Fri, 25 September 2020 09:51 |
Bridgette-DHS
Messages: 3171 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS Senior Sampling Specialist, Mahmoud Elkasabi:
Yes, what you found is correct. You need to create a stratification variable based on the governorates by urban/rural. Since this survey is a country specific survey and does not follow the DHS traditions in naming the survey variables, different names are used for governorates (hgovern) and urban/rural (htype). Below is a Stata code that can be used to create the stratification variable:
egen strata=group(hgovern htype)
[Updated on: Fri, 25 September 2020 09:51] Report message to a moderator
|
|
|
|
|