The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Stratum with single sampling unit error
Stratum with single sampling unit error [message #12600] Tue, 20 June 2017 14:56 Go to next message
AnvitaDixit is currently offline  AnvitaDixit
Messages: 7
Registered: June 2017
Location: usa
Member
Hi! How are can solve the error of "Missing test statistics because of stratum with single sampling unit." ??

I am using Nigeria DHS 2013 to get crosstabs and associations with chi square and p values.

I tried to follow this, but not able to follow the same for DHS: http://www.stata.com/support/faqs/statistics/stratum-with-on e-psu/

Thanks!!
Re: Stratum with single sampling unit error [message #12601 is a reply to message #12600] Tue, 20 June 2017 16:42 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3190
Registered: February 2013
Senior Member

Following is a response from Senior DHS Stata Specialist, Tom Pullum:


This situation has been described in earlier forum posts. You need to define a stratum variable. You then include the "singleunit()" option in svyset. There are three possibilities for what goes between the parentheses. I have checked and they all give similar results. I usually use "centered". Here are the three possibilities:

svyset v021 [pweight=v005], strata(strata) singleunit(centered)
svyset v021 [pweight=v005], strata(strata) singleunit(scaled)
svyset v021 [pweight=v005], strata(strata) singleunit(certainty)


Re: Stratum with single sampling unit error [message #12602 is a reply to message #12601] Tue, 20 June 2017 16:45 Go to previous messageGo to next message
AnvitaDixit is currently offline  AnvitaDixit
Messages: 7
Registered: June 2017
Location: usa
Member
Would this be same as merging the PSU in another stratum? Or is the centering option better for calculating variance?

Thank you!
Re: Stratum with single sampling unit error [message #12606 is a reply to message #12602] Wed, 21 June 2017 08:39 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3190
Registered: February 2013
Senior Member
A response from Senior DHS Stata Specialist, Tom Pullum:


Frankly, I don't know how these options work.
Previous Topic: Question on using weights for svyset and finding ICC in svy:melogit
Next Topic: Variance Inflation Factor
Goto Forum:
  


Current Time: Sat Nov 9 08:12:32 Coordinated Universal Time 2024