Re: Complex weights for pooling cross country IPUMS-DHS data [message #17911 is a reply to message #17906] |
Sat, 13 July 2019 15:31 |
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
|
|
|