The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Adjusting survey weights in melogit in Stata
Re: Adjusting survey weights in melogit in Stata [message #23640 is a reply to message #23634] Mon, 25 October 2021 10:37 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello Asanti,

The problem is that you are fitting a multi-level model using one weight. For multi-level models you need to supply a weight for each level.

Using the svyset you provided you could fit the following model:

svy: logit outcome varlist if ANC_use==1

If you want to use multi-level weights, you need to construct the second level weight which is not available in our datasets. To do this you can check our methodological report #27: hodological-reports.cfm?csSearch=381803_1

Shireen Assaf
The DHS Program
Read Message
Read Message
Read Message
Read Message
Previous Topic: PSU and Uganda IR data
Next Topic: Create a variable using Percentage from cross tabulation
Goto Forum:

Current Time: Mon May 27 12:24:55 Coordinated Universal Time 2024