The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Guidance Needed on Weighting for Pooled DHS Data in Logistic Regression
Re: Guidance Needed on Weighting for Pooled DHS Data in Logistic Regression [message #30332 is a reply to message #30322] Thu, 07 November 2024 11:31 Go to previous messageGo to previous message
ygkim127 is currently offline  ygkim127
Messages: 3
Registered: November 2024
Member
Thank you for your answer. I am following your advice, but could you please check if I am doing it correctly?

gen preweight = (v005/1000000)
gen preweight_denormalized = preweight * (total females age 15-49 in the country at the time of the survey)/(number of women age 15-49 interviewed in the survey)
gen survey = "country name"
egen cluster_ID=group(survey v001)
egen stratum_ID = group(survey v023)
svyset cluster_ID [pw=preweight_denormalized], strata(stratum_ID)

Please correct me if there are any mistakes.
Thank you.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: weighting data
Next Topic: Cluster level weights for NHFS-5 India
Goto Forum:
  


Current Time: Thu Dec 26 18:02:16 Coordinated Universal Time 2024