The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » Regional variable v024
Re: Regional variable v024 [message #29009 is a reply to message #28999] Wed, 10 April 2024 09:03 Go to previous messageGo to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 888
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

There have been several previous posts on what happens when you append files from different surveys, even within the same country. I believe the problem is that you have combined (appended) files with different labels for v024. When you do this, the last label will over-write the earlier labels. In your example, it appears that one of the surveys included regions numbered 6, 7, and 8, but the label for the last file in the append DID NOT include those regions. As a result, categories 6, 7, and 8 have numerical codes but no labels.

One way to handle this is to give a new name to v024 in each survey, such as v024_BD7R, and a new name to the label. After you have your final file, you can do a recode which synthesizes the different v024_* variables into a single variable. But sometimes a synthesis is impossible.

Many other variables, such as source of drinking water, types of health facilities for treating child illness, foods, etc., are coded differently in different surveys, and must be recoded. You have to check the actual labels in each survey, for example with "label list V024". Sometimes the codes will shift even if the names of the regions are stable.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Menstrual health and hygiene
Next Topic: MERGING IR AND HR FILE
Goto Forum:
  


Current Time: Sun Nov 24 04:04:30 Coordinated Universal Time 2024