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
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 previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3059
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)


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Question on using weights for svyset and finding ICC in svy:melogit
Next Topic: Variance Inflation Factor
Goto Forum:
  


Current Time: Tue May 14 17:26:26 Coordinated Universal Time 2024