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 message
Janet-DHS is currently offline  Janet-DHS
Messages: 770
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.
Previous Topic: Height and weight value
Next Topic: STUNTING AND CODE BOOKS FOR DHS SENEGAL FOR THE YEARS 2017, 2018, and 2019
Goto Forum:
  


Current Time: Thu Jul 11 15:24:30 Coordinated Universal Time 2024