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 #21803 is a reply to message #21792] Tue, 22 December 2020 09:47 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

Yes, we too have found that the methods in MR27 lead to this problem. The solution we use is to replace the level 2 weights by their geometric mean within each cluster (the difference from the arithmetic mean is negligible). The following Stata lines will calculate "rev_wt2", a revised wt2.

gen ln_wt2=log(wt2)
egen mean_wt2=mean(ln_wt2), by(v001)
gen rev_wt2=exp(mean_wt2)
drop ln_wt2
For the arithmetic mean you would just have
egen rev_wt2=mean(wt2), by(v001)

This may not be the final recommendation for this issue--stay tuned.

 
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: Sat Nov 23 09:09:06 Coordinated Universal Time 2024