The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » IPUMS Demographic and Health Surveys (IPUMS-DHS)  » Complex weights for pooling cross country IPUMS-DHS data
Re: Complex weights for pooling cross country IPUMS-DHS data [message #17911 is a reply to message #17906] Sat, 13 July 2019 15:31 Go to previous message
boyle014 is currently offline  boyle014
Messages: 78
Registered: December 2015
Location: Minneapolis
Senior Member
The problem of the single unit in a stratum error isn't unique to IPUMS DHS--that would occur using the standard DHS data files as well.

You can deal with the error by telling Stata what to do when it encounters single units. One option is to add "singleunit(center)" to the end of the command:

svyset [pw=perweight], psu(idhspsu) strata(idhsstrata) singleunit(center)

Note that this will weight the data properly at the sample level, but if you want to aggregate across pooled samples, you'll also have to weight up to the total populations.

We're working on adding these population weights into IPUMS. So far, they are available for households--the variable is popwt. More on that at this post.


Professor Elizabeth Boyle
Sociology & Law, University of Minnesota, USA
Principal Investigator, IPUMS-DHS
 
Read Message
Read Message
Previous Topic: Append IPUMS_Merge to DHS Data
Next Topic: IPUMS DHS Tip #7 - Comparing statistics over time
Goto Forum:
  


Current Time: Mon Nov 25 01:32:27 Coordinated Universal Time 2024