The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Tanzania 2010
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3101&th=1605#msg_3101
gen weight=hv005/1000000
svyset hv021 [pweight=weight], strata(hv022)
However, when I try to anything that require a test statistic, I get the following message:
"Note: Missing test statistics because of stratum with single sampling unit."
Any help is greatly appreciated]]>azucena20142014-10-15T17:56:10-00:00Re: Tanzania 2010
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3112&th=1605#msg_3112
svyset hv021 [pw=hv005], strata(hv022)
For a similar post, please reference message # 2784]]>Bridgette-DHS2014-10-16T13:06:11-00:00Re: Tanzania 2010
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3113&th=1605#msg_3113
svy, subpop(age059): tab stunting depndgtr1, col obs
I am running a similar analysis on various countries and this is the first time I have encountered this problem]]>azucena20142014-10-16T14:56:25-00:00Re: Tanzania 2010
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3115&th=1605#msg_3115
What happens if you tabulate (list) the strata? Is there one strata value that is a typo or "missing" or something? It sounds like you might have a rogue strata in there, and if you find it you could just drop that observation. Let me know if that works.]]>Reduced-For(u)m2014-10-17T02:24:22-00:00Re: Tanzania 2010
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3117&th=1605#msg_3117
azucena20142014-10-17T02:47:27-00:00Re: Tanzania 2010
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3125&th=1605#msg_3125
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.]]>Trevor-DHS2014-10-18T18:39:39-00:00Re: Tanzania 2010
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3126&th=1605#msg_3126
azucena20142014-10-19T13:26:54-00:00