The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Exclusive Breastfeeding (I didn't have the same prevalence of EBF for both 0-5 month and 4-5 months)
Exclusive Breastfeeding [message #29439] Wed, 19 June 2024 23:43 Go to next message
alieuktommy15@gmail.com is currently offline  alieuktommy15@gmail.com
Messages: 1
Registered: June 2024
Member
Hello DHS
I am analyzing the KR data 2019 for Sierra Leone using Stata. After doing my command and weighted my data, and also keep the age for 0-5 months, i ran the analysis for the prevalence of EBF for 0-5 months and the total population. I have a population of 1,020 and a prevalence of 52.9%. The DHS for 2019 have a population of 969 with 54.1%. Please where it is that i may have done wrong coding
Re: Exclusive Breastfeeding [message #29468 is a reply to message #29439] Mon, 24 June 2024 09:43 Go to previous messageGo to next message
Janet-DHS is currently offline  Janet-DHS
Messages: 888
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:
Users are asked to give the table number for the table you are trying to match. However, I found that it is table 11.3 in the SL2019 report. The table is restricted to the youngest child under 24 months of age who is living with the mother. Here are the lines to get the n of 969 children for EBF during age 0-5 months.

Open the KR file with Stata. Then:
keep if b9==0 & b19<24

sort v001 v002 v003 bidx

egen sequence=seq(), by(v001 v002 v003)

tab sequence [iweight=v005/1000000] if b19<6

keep if b19<6 & sequence=1

There are other ways to do this that do not involve "keep", and you can drop the "tab" line, which I include just to confirm the 969 (a weighted frequency of 968.73, which rounds to 969). The "egen seq" line is crucial (after the "keep" and "sort" lines) to get the youngest child under 24 months living with the mother. You would apply the routine to calculate "diet" and the percentage with diet=0 to these cases, and I believe you will then match the percent EBF in the table.
Re: Exclusive Breastfeeding [message #30218 is a reply to message #29468] Wed, 16 October 2024 12:12 Go to previous message
dyahdewi@umy.university is currently offline  dyahdewi@umy.university
Messages: 2
Registered: October 2024
Member
Hi,

How about using SPSS Syntax?
Please let me know, Thank you so much.
Previous Topic: Mozambique: Standard DHS, 2022-23, KR Dataset
Next Topic: Sao Tome and Principe: MICS, 2014 - Are there any GPS datasets available?
Goto Forum:
  


Current Time: Fri Nov 22 23:37:58 Coordinated Universal Time 2024