The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Domestic Violence » Multilevel modeling with svy and domestic violence weights (How to best apply level 1 and level 2 weights)
Re: Multilevel modeling with svy and domestic violence weights [message #23657 is a reply to message #23656] Wed, 27 October 2021 17:16 Go to previous messageGo to previous message
hbsheldon is currently offline  hbsheldon
Messages: 4
Registered: July 2021
Member
Thank you for your response! When I try the same technique as MR27 but only with replacing v005 with d005, I get the following error:
"weights in variable wt2_domv_4 not constant within groups defined by: v001"
where wt2_domv_4 is wt2_4 but for domestic violence.

Here's a comparison of weights by cluster below:

. list	v001	wt2_1 wt1_1	wt2_domv_1	wt1_domv_1	v005_weight domv_weight in 1/50	if	v044	==	1

						
	v001	wt2_1	wt1_1	wt2_do~1	wt1_do~1   v005_w~t   domv_w~t 
					-
2.	1	1.5	8.878671	1.5	6.819981    .118748    .091214 
10.	1	1.5	8.878671	1.5	6.819981    .118748    .091214 
13.	1	1.5	8.878671	1.5	6.819981    .118748    .091214 
14.	1	1.5	8.878671	1.5	15.58844    .118748    .208488 
19.	1	1.5	8.878671	1.5	6.819981    .118748    .091214 

						

[Updated on: Wed, 27 October 2021 17:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Violence Against Women Data in India
Next Topic: IPV and multi-level weights India data
Goto Forum:
  


Current Time: Sat Nov 30 14:22:09 Coordinated Universal Time 2024