This is my first attempt at data analysis using DHS data from the IPUMS platform. I have downloaded 3 data sets with the selected variables. Now I am at the analysis stage, I have found the exercises and webinars posted on youtube very helpful. I have some questions about the commands I have found. I am doing an analysis to find an association between Consanguinity and infant deaths. Using the All births as the unit of analysis.
the webinar mentioned the following commands for the descriptive analysis: (IPUMS DHS Working with Geography Variables - YouTube… at 38:27 time)
svyset idhspsu, strata (idhsstrata) weight(perweight) vce(linearized) singleunit(centered)
But I have also found the following commands in the exercises online.
tab (var1) sample [aw=perweight] ,col
QUESTION: They both give different results, Can I get more clarity on which one is more appropriate for my descriptive analysis?
Q) What is the svyset command and weights I can apply for my analysis?
Q: How can I carry out logistic regression with the IPUMS data obtained? I haven’t seen an example command for stata online.
I will really appreciate some guidance through this.