The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in SPSS » Indonesia 2017 data set (m4: duration of breastfeeding)
Re: Indonesia 2017 data set [message #18032 is a reply to message #18018] Thu, 22 August 2019 08:43 Go to previous messageGo to previous message
lhuri is currently offline  lhuri
Messages: 16
Registered: December 2014
Location: Indonesia
Dear Bridgette and Tom,

Thanks for explaining, that's very helpful. Sorry, my previous numbers (6394 and 6456) were irrelevant as I excluded some missing data from related questions and those came from the unweighted count of 0-24 months babies, so please ignore them.

I now have got the same figure as the report (6284) using your commands in IR file. I don't think age in month or days makes the difference. This is because I previously used v222 instead of b19 but now I get the same result too (6284) with the commands below:
tab m4_1 if v222<24 & m4_1~=94 [iweight=v005/1000000]
svy: tab m4_1 if v222<24 & m4_1~=94, count

However, if age in days is the preferred variable, I'll use b19 from now on.

My further questions would be:
1. I notice that with the command that you gave me, 4.5 of 6284 babies were of unknown breastfeeding status, meaning that 4.5 mothers answered "don't know" if they ever breastfed their babies. Is that correct? If yes, shouldn't they be excluded from the ever-breastfed count?

2. Should I use IR file for breastfeeding analysis? This is because when I ran your command in KR file (the dataset recommended by the guide x.htm#t=Initial_Breastfeeding.htm) the result is different, which is 6398. For further reference, I modified it into the command below to match the variable names:
tab m4 if b19<24 & m4~=94 [iweight=v005/1000000]

3. I tried to get the percentage of babies who received prelacteal feed using the commands below, but neither gave 43.9% as shown in the report (IDHS 2017, English ver, table 11.1, p 191). Kindly explain further or let me know if I ran the wrong commands.
Command 1: 44.70%
tab m55_1 if b19_01<24 [iweight=v005/1000000]

Command 2: 44.67%
keep if m4_1~=94
keep if m4_1~=98
keep if m4_1~=99
tab m55_1 if b19_01<24 [iweight=v005/1000000]

Thank you.

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multilevel analysis
Next Topic: Complex Samples
Goto Forum:

Current Time: Wed Aug 10 16:34:33 Coordinated Universal Time 2022