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: 3117
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: Fri Jul 26 10:34:42 Coordinated Universal Time 2024