The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Weighting variables in DHS India data (1992 and 1998)
Re: Weighting variables in DHS India data (1992 and 1998) [message #8124 is a reply to message #7065] Wed, 26 August 2015 07:37 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

You may be in a situation that I have been in before, where I want to run a model in which some variables are weighted and some are not. The collapse command is either all weighted or all unweighted--at least, I have not figured out how to have some variables weighted and some unweighted. The syntax you proposed, with a weight of 1 for all cases will be exactly the same as no weight.

If this is what you need, then you can do the collapse twice--once weighted and once unweighted. Just before doing the first collapse you would save a working file as file A. Then you would do the collapse with weights and save as file W. Then go back to A, do the collapse without weights, and save as file U. Then merge U and W.

Hope this helps.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Caste unique identifier
Next Topic: Religion in NFHS-1
Goto Forum:
  


Current Time: Sun Nov 24 04:33:05 Coordinated Universal Time 2024