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 next message
Hejie Wang is currently offline  Hejie Wang
Messages: 14
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?
Re: weighting data [message #30351 is a reply to message #30345] Mon, 11 November 2024 14:09 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
All of your questions have been asked and answered earlier on the forum.
Previous Topic: weighting data
Next Topic: Guidance Needed on Weighting for Pooled DHS Data in Logistic Regression
Goto Forum:
  


Current Time: Sat Nov 23 04:41:01 Coordinated Universal Time 2024