The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Weighting data
Weighting data [message #2992] Tue, 30 September 2014 06:57 Go to previous message
pjoshi
Messages: 6
Registered: September 2014
Member
Hi,

I am working with the 2011 data set for Nepal and I had a question regarding the sample weights. I have been performing very basic calculations to try and replicate the results of DHS 2011 report to understand the data. However, my numbers don't match the numbers on the report and I want to check if I am missing something important. In order to apply the sample weights when performing calculations on STATA, is the following process correct?
Example: to calculate the mean number of household members

gen weight= HV005/1000000

svyset HV021 [pweight=weight], strata( HV023)

I get the following message after this:

pweight: weight
VCE: linearized
Single unit: missing
Strata 1: HV023
SU 1: HV021
FPC 1: <zero>
Next, I entered
svy: mean V009

I get a mean of 4.6 while the number of the DHS report is 4.4. I would really appreciate any help on this.

Thanks!




 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ghana 2008 Birth Recode Weights
Next Topic: Colombia 2010 weights
Goto Forum:
  


Current Time: Fri Apr 26 18:27:30 Coordinated Universal Time 2024