The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » IPUMS Demographic and Health Surveys (IPUMS-DHS)  » IDHSSTRATA & IDHSPSU: Inconsistent Lengths (Different Lengths among Countries)
IDHSSTRATA & IDHSPSU: Inconsistent Lengths [message #18064] Tue, 03 September 2019 20:49 Go to next message
Yawo is currently offline  Yawo
Messages: 45
Registered: February 2019
Member
Hello:

Good evening - I am appending / pooling recent surveys from a number of African countries. I realized that the the length of the key stratification variables: IDHSSTRATA and IDHSPSU are different betweeen countries.
According to IPUMS documentation, IDHSSTRATA is supposed to be a 9-character variable, while IDHSPSU is a 10-characters.

But as the following example shows, the character length differs among countries. Does the length have to be the same across countries ? If so, how do I add or subtract characters?


Angola 2015:
Idhspsu = 2401000001
Idhsstrata = 240100018

Lesotho 2014
idhspsu: = 42603000180
Idhsstrata: = 4260300016

Zimbabwe 2015
idhspsu: = 71606000390
Idhsstrata: = 7160600017

thanks - Yawo

[Updated on: Tue, 03 September 2019 21:03]

Report message to a moderator

Re: IDHSSTRATA & IDHSPSU: Inconsistent Lengths [message #18661 is a reply to message #18064] Wed, 22 January 2020 14:25 Go to previous message
boyle014 is currently offline  boyle014
Messages: 78
Registered: December 2015
Location: Minneapolis
Senior Member
Dear Yawo,

Thanks for the question. We will make a change to these variable descriptions.

The lengths of the IDHSPSU and IDHSSTRATA variables do not matter. The important characteristic is that the variables uniquely identify primary sampling units or strata, respectively. This is not affected by their length.

Liz Boyle


Professor Elizabeth Boyle
Sociology & Law, University of Minnesota, USA
Principal Investigator, IPUMS-DHS

[Updated on: Wed, 22 January 2020 14:26]

Report message to a moderator

Previous Topic: IPUMS DHS Tip #7 - Comparing statistics over time
Next Topic: What becomes of DHS weights after region harmonization by IPUMS-DHS
Goto Forum:
  


Current Time: Fri Mar 29 09:04:37 Coordinated Universal Time 2024