The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Weighting at regional level (Weighting )
Re: Weighting at regional level [message #26431 is a reply to message #26413] Mon, 20 March 2023 11:28 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
Following is a response from Senior DHS staff member, Tom Pullum:

Are you aggregating with the "collapse" command in Stata? Sometimes I find it convenient to use "collapse" to calculate a weighted numerator and a weighted denominator , bypassing a weight option, and then doing a division in a collapsed file. The following lines suggest a framework:

gen unwtdn=1
gen wtdn=v005/1000000

collapse (sum) *wtdn, by()


I don't know whether this will apply to your situation. Let us know if you need more detail.

 
Read Message
Read Message
Previous Topic: using wieght, cluster, strata
Next Topic: Weighting variable Madagascar
Goto Forum:
  


Current Time: Tue Nov 26 20:43:15 Coordinated Universal Time 2024