The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Water and Sanitation » error using R survey for urban sanitation
Re: error using R survey for urban sanitation [message #13514 is a reply to message #13396] Mon, 13 November 2017 08:57 Go to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
A response from Dr. Shireen Assaf:
Quote:


Dear Michael,

Your code is correct. Not all surveys have the strata values stored in hv023, especially earlier surveys. For some surveys you need to construct the strata variable based on the stratification design used for that survey (usually by combining region and urban/rural place of residence). For some surveys the strata variable is stored in hv022 and not in hv023 and in some surveys the strata values are in both variables. For Gabon please use hv022 for the strata.

Thank you.

Shireen Assaf
 
Read Message
Read Message
Read Message
Previous Topic: source of drinking water - variables in IR and HR
Next Topic: Query on data inconsistency
Goto Forum:
  


Current Time: Thu Apr 25 16:42:20 Coordinated Universal Time 2024