The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
logistic and multilevel model in Malaria
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=12790&th=6223#msg_12790
I have some problems in my analyzes when I try to take into account the number of women who had a live birth in the last two years by adding "if agemnth < 24 [iweight=wgt]" at the end of each syntax code.
I would like to know the good syntax codes that can be used in this case to make analyzes such as the Bivariate with OR and CI , the correlation matrix, logistic regression with OR and CI, multilevel analysis because I tried with the following syntax but the results are incorrects.
Please can you help me with the good syntax codes to take into account 7168.
Thank you for your help
FISTON KAMBI]]>kambi2017-07-13T18:51:03-00:00Re: logistic and multilevel model in Malaria
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=12906&th=6223#msg_12906
I reviewed your code. Since you are survey setting (using svyset) the data you can't not also include iweight. This video will overview the difference between svy set and iweight https://www.youtube.com/watch?v=YpXPWMUsb94
This is what you have:
svy: tab v013 sptwoanc , row obs count cellwidth(12) format(%12.2g) if agemonth < 24 [iweight= weight]
Try running it without iweight:
svy: tab v013 sptwoanc , row obs count cellwidth(12) format(%12.2g) if agemonth < 24