The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Domestic Violence » Multilevel Weights
Re: Multilevel Weights [message #19021 is a reply to message #15354] Sat, 04 April 2020 12:00 Go to previous messageGo to previous message
aheto is currently offline  aheto
Messages: 1
Registered: August 2014
Location: United Kingdom
Member

Hi Dr. Shireen Assaf,
Thanks for this response.

How can I implement your suggestions below in R for the standard multilevel you presented, and also for Bayesian multilevel model? Any R codes to work with?

gen wt=v005/1000000
gen wt2=1
svyset v001, weight(wt) strata(v023) , singleunit(centered) || _n, weight(wt2)
*this is a random intercept model
svy: melogit outcome var1 var2 || v001:


Thanks

[Updated on: Sat, 04 April 2020 12:04]

Report message to a moderator

 
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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Disability and spousal violence [Nigeria DHS 2018]
Next Topic: Domestic violence
Goto Forum:
  


Current Time: Mon Nov 25 22:03:39 Coordinated Universal Time 2024