The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » weighting data
weighting data [message #30345] Sun, 10 November 2024 04:01 Go to previous message
Hejie Wang is currently offline  Hejie Wang
Messages: 17
Registered: July 2024
Member
I have a question about new weights for merged surveys, my idea is to multiply the proportion of each survey to the merged file by the weight of that observation (wt), is this the right thing to do?

This R code is here:
data$wt<-data$v005/100000
survey_counts <- table(data$v000)
total_samples <- nrow(data)
survey_proportions <- survey_counts / total_samples
data$survey_proportion <- survey_proportions[data$v000]

Can you give me some advice about this weighting?
 
Read Message
Read Message
Read Message
Previous Topic: Residing in same household in KR file
Next Topic: Survey Weight
Goto Forum:
  


Current Time: Wed Oct 1 10:02:00 Coordinated Universal Time 2025