The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Pooled Survey MeLogit Syntax Query
Re: Pooled Survey MeLogit Syntax Query [message #10482 is a reply to message #10479] Thu, 28 July 2016 04:41 Go to previous message
cmergenthaler is currently offline  cmergenthaler
Messages: 7
Registered: July 2016
Location: Netherlands
Member
Thank you very much - by excluding the pweight and using the v005/10000000 as the weight for the cluster, the model converges! Much appreciated.
For others if it's helpful, that's:

generate weight = v005/10000000
egen clusters=group(survey v021)
svyset survey, weight(surveyweight) || clusters, weight(weight)
svy: melogit child_cough_care v476_1 i.v013 i.religion i.v106 i.v190 HIV_accept || survey: || clusters:

This has helped me to move forward with my analysis.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: family planning demand satisfying (Bangladesh DHS 2004, 1999-00, 1996-97, 1993-93)
Next Topic: weighting for Services Provision Assessment data
Goto Forum:
  


Current Time: Mon Sep 2 11:22:52 Coordinated Universal Time 2024