The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » variables for svyset in Stata (Bangladesh 2011)
Re: variables for svyset in Stata (Bangladesh 2011) [message #3734 is a reply to message #3566] Tue, 03 February 2015 13:50 Go to previous messageGo to previous message
mmr-UMICH is currently offline  mmr-UMICH
Messages: 21
Registered: February 2015
Location: A2, MI
Member
To avoid such an error/warning :"Note: missing standard errors because of stratum with single sampling unit.", we can use singleunit() in svyset command line that specifies how to handle strata with one sampling unit. By default, svyset uses singleunit(missing) that results in missing values for the standard errors. I usually use to handle such situations by using method singleunit(centered) that specifies that strata with one sampling unit are centered at the grand mean instead of the stratum mean.
e.g., for your code: svyset psu [pweight=wt], strata(strata) singleunit(centered)
Other methods are:
singleunit(certainty) causes strata with single sampling units to be treated as certainty units. Certainty units contribute nothing to the standard error.
singleunit(scaled) results in a scaled version of singleunit(certainty). The scaling factor comes from using the average of the variances from the strata with multiple sampling units for each stratum with one sampling unit.

Thanks,
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How is the "head of household" determined?
Next Topic: Zero values for weight variable?
Goto Forum:
  


Current Time: Sun Apr 28 08:33:55 Coordinated Universal Time 2024