The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Stata Code for infant and young child feeding practices (stata code to calculate infant and young child feeding based on WHO guideline)
Stata Code for infant and young child feeding practices [message #17598] Mon, 22 April 2019 11:00 Go to next message
Nicholus Tint Zaw is currently offline  Nicholus Tint Zaw
Messages: 13
Registered: March 2018
Location: Myanmar
Member

Hi All,

If you are looking for a complete set of STATA code to calculate infant and young children feeding, we'd like to share with the one we develop for one research project based on Myanmar DHS report.

We tested that code with Myanmar Country DHS report and Sample DHS dataset, and it get identical results. We developed those code based on the guidance by DHS fellow from Myanmar and the discussion topics from this DHS forum.

You can go and download the set of stata code in following github link. Please note that, this code was designed based on Myanmar data, some country specific var or value need to adjust accordingly.

https://github.com/nicholustintzaw/dhs_iycf.git

Best regards,
Nicholus


nicholus
Re: Stata Code for infant and young child feeding practices [message #17621 is a reply to message #17598] Mon, 29 April 2019 00:08 Go to previous messageGo to next message
Hai R is currently offline  Hai R
Messages: 15
Registered: March 2018
Location: Brisbane
Member
Hi Nicholas,

thanks for your sharing.

Really helpful, however, I found it is difficult to follow the syntax, can you share in a format of do.file?

many thanks for your sharing
Re: Stata Code for infant and young child feeding practices [message #17622 is a reply to message #17621] Mon, 29 April 2019 00:23 Go to previous messageGo to next message
Nicholus Tint Zaw is currently offline  Nicholus Tint Zaw
Messages: 13
Registered: March 2018
Location: Myanmar
Member

Hi Hai R,

It is easy and just go and download the syntex from Github and it will gave you in text file. Then, copy and past all syntex from text file to dofile.

If you can't find it out easily, please take the one from this reply attached file.

Best regards,
Nicholus


nicholus
Re: Stata Code for infant and young child feeding practices [message #17623 is a reply to message #17622] Mon, 29 April 2019 00:36 Go to previous messageGo to next message
Hai R is currently offline  Hai R
Messages: 15
Registered: March 2018
Location: Brisbane
Member
Thank a lot,

it is clear now, I have difficulties in editing them if I copy paste it to the do file

warm regards
Re: Stata Code for infant and young child feeding practices [message #17684 is a reply to message #17623] Mon, 06 May 2019 20:14 Go to previous messageGo to next message
Hai R is currently offline  Hai R
Messages: 15
Registered: March 2018
Location: Brisbane
Member
Hi Nicolas,

Many thanks, I have replicated your syntax. My EBF has come close to DHS report (0.04% difference), but not successful for other IYCF indicators.

warmest
Re: Stata Code for infant and young child feeding practices [message #17700 is a reply to message #17684] Tue, 07 May 2019 22:39 Go to previous messageGo to next message
Nicholus Tint Zaw is currently offline  Nicholus Tint Zaw
Messages: 13
Registered: March 2018
Location: Myanmar
Member

Sorry for that and I am afraid to say why it is not perfect matched. We tried it with Myanmar dataset and Sample datset, it is working well.

I think it is good to check with the DHS specialist for those indicators not matched.

Best regares,
Nicholus



nicholus
Re: Stata Code for infant and young child feeding practices [message #17835 is a reply to message #17598] Sat, 22 June 2019 01:50 Go to previous message
Hassen
Messages: 121
Registered: April 2018
Location: Ethiopia,Africa
Senior Member
Dear DHS users, Thank you very much for your sharing!!
With Kind Regards, Hassen


Hassen Ali(Chief Public Health Professional Specialist)
Previous Topic: Sampling weights
Next Topic: Co-occurrence of stunting & anemia, Stunting & overweight & obese among under five children
Goto Forum:
  


Current Time: Wed Nov 6 00:51:43 Coordinated Universal Time 2024