The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Melogit and Weights (Weighting Issues for multilevel models)
Re: Melogit and Weights [message #21984 is a reply to message #21977] Wed, 13 January 2021 09:27 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3043
Registered: February 2013
Senior Member
Following is a response from DHS Senior Sampling Specialist, Mahmoud Elkasabi:

Yes, your approach is correct. You need to de-normalize v005 and mv005 separately as you described, then you can proceed with Step 2. However, I believe the code you shared is missing the de-normalization for the men weights. See a revised code below.
*adjusting weights of men and women in combined dataset
gen newwt =.
replace newwt =( v005/1000000)* (xxxxxxxx/29461) if sex==2
replace newwt =( mv005/1000000)* (yyyyyyy/10760) if sex==1

*Step 2. Approximate the Level-2 weight
* f the variation factor
........
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multilevel model for SPA data
Next Topic: using wieght, cluster, strata
Goto Forum:
  


Current Time: Fri Apr 26 17:12:41 Coordinated Universal Time 2024