The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Pooled Survey MeLogit Syntax Query
Pooled Survey MeLogit Syntax Query [message #10405] Tue, 26 July 2016 05:16 Go to previous message
cmergenthaler is currently offline  cmergenthaler
Messages: 7
Registered: July 2016
Location: Netherlands
Member
Dear DHS experts,

I would be grateful to have your insight as to whether my Stata version 14 syntax is logical for the following analysis:

I am attempting to run an melogit model on pooled data from 13 surveys (4 of which are repeated surveys from two countries), in which a number of individual and household variables (ie age category, religion, wealth index, and child health) are used to predict a binary outcome variable of care being provided for a sick child. All data used are collected from moms only.

Based mostly on Tom Pullman's very helpful advice from the thread: "sampling stratification of the Cameroon DHS 2011, 2004, 1998 and 1991 data", I have borrowed some of the following syntax:

generate weight = v005/10000000
egen clusters=group(survey v021)
egen strata = group(survey v024 v025)
svyset clusters [pweight=weight], strata(strata) singleunit(centered)

*Then my survey melogit command is:
svy: melogit child_cough_care v476_1 i.v013 i.religion i.v106 i.v190 HIV_accept


Can someone kindly clarify whether I have weighted this correctly, and whether it properly accounts for fixed and random effects?

Thank you in advance!

Kind regards,

Christina
 
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: Sun Apr 28 03:28:44 Coordinated Universal Time 2024