The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Keeping caseid in and keeping missing observations out when using Stata "collapse"
Re: Keeping caseid in and keeping missing observations out when using Stata "collapse" [message #11744 is a reply to message #11741] Mon, 06 February 2017 09:13 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3017
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

I assume you are talking about cluster-level variables that are constructed on the basis of the data on the households or individuals within the cluster. In Stata, cluster-level variables can be constructed either with the "egen" set of commands or with a combination of "collapse" and "merge". I do not know how to do this in SPSS and hope someone else can help.

It would help if you could be more specific about what you want to do, and for which survey.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: merging wealth index from Ethiopia DHS 2000 to women's file
Next Topic: What is the difference between hw70_1 hw70_2 hw70_3 etc?
Goto Forum:
  


Current Time: Thu Mar 28 13:23:53 Coordinated Universal Time 2024