The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Melogit and Weights (Weighting Issues for multilevel models)
Re: Melogit and Weights [message #19720 is a reply to message #19633] Wed, 05 August 2020 08:53 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member

Following is a response from DHS Senior Analysis & Research Manager, Shireen Assaf:

I suspect your error is due to pooling 23 surveys. The code you provided is used for one survey. You may need to create a new psu and strata variable that takes into account you are using a pooled dataset. So you should run the command below and use those variables in your svyset.

egen psupool= group(idhspsu v000)
egen stratapool= group(strata v000)

Also, you actually have 3 levels with the survey as the third level. I suggest you search the forum for pooled analysis as this was discussed extensively by users and you may get more answers and suggestions there.

 
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: Multilevel model for SPA data
Next Topic: using wieght, cluster, strata
Goto Forum:
  


Current Time: Wed Nov 27 04:27:35 Coordinated Universal Time 2024