The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » DHS CLUSTERS
Re: DHS CLUSTERS [message #29712 is a reply to message #29698] Wed, 24 July 2024 15:27 Go 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:

You are right. It is necessary to assign unique ID codes to the clusters--and also to the strata. If you are using Stata you can do this with the "egen group" command. First assign the numbers 1, 2, 3, 4 to the respective surveys and call that code "survey". Then in the pooled file enter a line like "egen clusterID=group(survey v001)". Also enter "egen stratumID=group(survey v023)". Then in svyset you would use clusterID and stratumID as the cluster and stratum variables. If you were not using Stata, you would do something similar. For most purposes, you can leave v005 alone.
 
Read Message
Read Message
Previous Topic: DHS data with geographic shape files
Next Topic: Cooking place classification explanation in HR file
Goto Forum:
  


Current Time: Sat Nov 23 04:20:07 Coordinated Universal Time 2024