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 |
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,
|
|
|
Goto Forum:
Current Time: Sat Nov 2 00:52:28 Coordinated Universal Time 2024
|