MDD and Sample size mismatch [message #22943] |
Wed, 09 June 2021 09:17 |
Hassen
Messages: 121 Registered: April 2018 Location: Ethiopia,Africa
|
Senior Member |
|
|
Dear DHS Experts, I used Ethiopia Mini-DHS 2019 ETKR81DT dataset for analysis and Stata 14/SE software. Using standardized Stata command from Github website from chapter 11 to match the result of Minimum Dietary Diversity in figure 9.5 (MDD=14%) and table 9.7 (MDD=14.4%) and also, the number of all children age 6-23 months was 1,463. The results of my analysis using Github Stata syntax for MDD and the results in figure 9.5 & table 9.7 were mismatch. So, I need your help please? Any Stata command to match the result?
Cheers, Hassen
Hassen Ali(Chief Public Health Professional Specialist)
|
|
|
|
Re: MDD and Sample size mismatch [message #22960 is a reply to message #22953] |
Fri, 11 June 2021 04:41 |
Hassen
Messages: 121 Registered: April 2018 Location: Ethiopia,Africa
|
Senior Member |
|
|
Dear Shireen Assaf, Fantastic Your guidance is so helpful. Thank you!!
Sincerely yours, Hassen
Hassen Ali(Chief Public Health Professional Specialist)
|
|
|
|
|
|
|
|
Re: MDD and Sample size mismatch [message #23840 is a reply to message #23839] |
Mon, 13 December 2021 09:18 |
Shireen-DHS
Messages: 140 Registered: August 2020 Location: USA
|
Senior Member |
|
|
Hello,
It appears this survey included a special module for this indicator. The DHS Program GitHub site only has code for indicators listed in the Guide to DHS Statistics.
For these indicators, you would need to use the IR file and check the variables on foods consumed by the mother (check des v47*). For instance for the tea indicator you would do the following:
gen age=b19_01
gen wt=v005/1000000
tab v471b if age<24 [iw=wt]
You may need to group some variables for to create the other food groups in the table. After you have coded each food group as described in footnote 2 of the table, then you would do the following:
* add the food groups
egen foodsum = rsum(group1 group2 group3 group4 group5 group6 group7 group8 group9 group10)
recode foodsum (1/4 .=0 "No") (5/10=1 "Yes"), gen(mdd)
replace mdd=. if age>=24
Thank you.
Best,
Shireen
|
|
|