Home » Data » Weighting data » Weighting in pooled data
Re: Weighting in pooled data [message #9779 is a reply to message #9772] 
Tue, 17 May 2016 05:59 
BridgetteDHS
Messages: 3190 Registered: February 2013

Senior Member 


Following is a response from Senior DHS Stata Specialist, Tom Pullum:
My comment in message #6672 may have been incomplete. If you calculate a clusterlevel mean, proportion, standard deviation, etc., it will be the same whether or not you use weights. However, for analyses that include the clusters as units, you do need to save the total weight for the cluster.
When pooling multiple surveys, I would first rescale the weights (e.g. hv005) in each survey by a factor. For example, if you have S surveys, Ni total (weighted=unweighted) cases in survey i, and a total of N cases in all S surveys (N=sum Ni) then you could decide to give equal weight to each survey. You then want the weights in survey i to add to N/S, rather than to Ni. To do that, you multiply the weights in survey i by the ratio (N/S) / Ni. (I think of this as the target total divided by the original total.) You can actually do this rescaling later, not necessarily just at the beginning....
Then when you do the collapsing to get clusterlevel means you can ignore the weights for the calculation of cluster level means, etc., as I said, but you must save the weighted total for each cluster. For example, say you are using the IR file and want the mean CEB (which is v201) for each cluster. Part of the withinsurvey collapse would look like this: "collapse (mean) v201 (sum) v005, by(v001)". Then in your analysis you would treat the collapsed (summed) v005 as the weight. You should also carry along the stratum code and use svyset to adjust for weights and strata, although not for clusters, because the clusters are now your units. Hope this helps.



Goto Forum:
Current Time: Sun Nov 10 06:31:01 Coordinated Universal Time 2024
