The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Malaria » logistic and multilevel model in Malaria
logistic and multilevel model in Malaria [message #12790] Thu, 13 July 2017 14:51 Go to next message
kambi is currently offline  kambi
Messages: 10
Registered: May 2017
Location: bruxelles
Member
Dear Cameron Taylor ,

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


kambishokamoyafiston001

[Updated on: Thu, 13 July 2017 14:55]

Report message to a moderator

Re: logistic and multilevel model in Malaria [message #12906 is a reply to message #12790] Fri, 04 August 2017 13:36 Go to previous message
ctaylor is currently offline  ctaylor
Messages: 1
Registered: June 2016
Member
Hi Fiston,
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

Thanks
Cameron
Previous Topic: Malaria in pregnancy
Next Topic: Malaria microscopy results MIS 2016 Ghana
Goto Forum:
  


Current Time: Thu Apr 18 07:18:45 Coordinated Universal Time 2024