The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » igrowup Macro
igrowup Macro [message #3260] Thu, 13 November 2014 10:46 Go to next message is currently offline
Messages: 8
Registered: November 2014
Location: United States
I'm using the igrowup Macro for Stata from the WHO for calculating BMI-z scores for children under 5 in several country surveys (Egypt, Turkey, Jordan, Armenia, Morocco and Yemen). The macro runs and I created a weightstatus variable categorized into underweight, normalweight, overweight, obese and very obese and calculated prevalence estimates. However, my numbers do not seem accurate.

I ran the macro on a more recent survey from Armenia that has the built in z scores with hw73 to compare and came out with different estimates. I have attached my macro code for Jordan 2002 which is a phase IV DHS survey. Any thoughts on where I am going wrong?
  • Attachment:
    (Size: 2.21KB, Downloaded 510 times)
Re: igrowup Macro [message #3267 is a reply to message #3260] Thu, 13 November 2014 19:15 Go to previous messageGo to next message
Messages: 292
Registered: March 2013
Senior Member

Have you tried using age in days (expressed as a fraction of months). I believe that is the way it is usually done, but confirmation from the DHS people would be nice.

Re: igrowup Macro [message #3291 is a reply to message #3267] Tue, 18 November 2014 13:21 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 799
Registered: January 2013
Senior Member
Yes, we do use age in days in the calculations. Try replacing "rename hw1 agemons" with the following code:
*if working with the PR file:
replace hc16 = 15 if hc16 == 98 | hc16 == 99
gen agemons = (mdy(hc18,hc17,hc19) - mdy(hc30,hc16,hc31))/30.4375

*if working with the KR file
replace hw16 = 15 if hw16 == 98 | hw16 == 99
gen agemons = (mdy(hw18,hw17,hw19) - mdy(b1,hw16,b2))/30.4375

Previous Topic: height and weight for Indonesia Round 6 and 5
Next Topic: BF
Goto Forum:

Current Time: Thu Jun 13 18:38:59 Coordinated Universal Time 2024