The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » IPUMS Demographic and Health Surveys (IPUMS-DHS)  » Melogit and Weights
Re: Melogit and Weights [message #19639 is a reply to message #19638] Thu, 23 July 2020 17:46 Go to previous messageGo to previous message
BillC
Messages: 6
Registered: July 2020
Member
Hi Trevor,

Many thanks for the quick reply - appreciate it. Its been a long day tussling with code, so my brain is a bit addled.

I used this code for svyset and it worked well for the logit command:
generate wgt = v005/1000000
svyset[pw=wgt], psu(v021) strata(v022)
svy: logit outcome iv1 iv2, or (this worked fine)

If I want to use v024(region) as the clustering variable for Level 2, what is the svyset code?

Thanks again,


 
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: Weights and Strata for Pooled Samples
Next Topic: Merging DHS with IPUMS-DHS to get harmonized districts
Goto Forum:
  


Current Time: Fri Nov 22 00:06:12 Coordinated Universal Time 2024