The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » survey weights in R (stuck up in integrating survey weights in analyzing the DHS7 India data)
Re: survey weights in R [message #25947 is a reply to message #25946] Fri, 13 January 2023 12:17 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

I forgot to add one more thing.
You may have done this already but for the men's file you would compute the weight variable (wt) in this way:

# creating the sampling weight variable.
Mendata$wt <- Mendata$mv005/1000000


For the women's file you would use v005.

Thank you.
Best,
Shireen Assaf
The DHS Program
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing Region for 2015 SPSS India dataset
Next Topic: Inconsistencies in heights between NFHS-3 NFHS-4
Goto Forum:
  


Current Time: Mon Sep 16 01:32:56 Coordinated Universal Time 2024