The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Tanzania 2010
Re: Tanzania 2010 [message #3125 is a reply to message #3101] Sat, 18 October 2014 14:39 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 805
Registered: January 2013
Senior Member
The problem is that in certain strata there is only one cluster, and for the calculation of sampling errors and confidence intervals at least two clusters are required in each cluster. In this case the best thing is to regroup the strata to permit the calculation of the sampling errors. In the case of this Tanzania dataset, the following have only one cluster:
18: Kagera, urban
22: Kusini Pemba, urban
23: Kaskazini Pemba, urban
I suggest grouping these with the rural strata for the same regions, e.g. with
44: Kagera, rural
48: Kusini Pemba, rural
49: Kaskazini Pemba, rural

Thus I suggest using the following:
recode hv022 (18=44) (22=48) (23=49), gen(strata_new)
svyset hv021 [pw=hv005], strata(strata_new)

As you are using a subpop with your tabulation, you may hit this issue with other strata, in which case you will need to make a decision to regroup further strata together.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Colombia 2010 weights
Next Topic: Phase I surveys
Goto Forum:
  


Current Time: Sat Dec 28 14:37:28 Coordinated Universal Time 2024