The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » HAZ, WAZ, and WHZ calculation to measure stunting, wasting, and underweight of children (HAZ, WAZ, and WHZ calculation to measure stunting, wasting, and underweight of children using the BDHS (2017-2018) dataset)
HAZ, WAZ, and WHZ calculation to measure stunting, wasting, and underweight of children Tue, 12 March 2024 07:43
 farihakabir148 Messages: 4Registered: February 2024 Member
I intend to calculate the HAZ, WAZ, and WHZ calculation to measure stunting, wasting, and underweight of children using the BDHS (2017-2018) dataset. I am confused as to which method should I use zanthro? I calculted using the following code:

*Table 1:Summary statistics of undernutrition in children aged below 5 years*
*Dataset: Personal Recode (PR)*

set more off
keep if hv103==1 & hc1<=59
tab hc1
gen swt= hv005/1000000
order hc70 hc71 hc72 swt hc1
br hc70 hc71 hc72
gen haz= hc70/100
gen waz= hc71/100
gen whz= hc72/100
order hc70 hc71 hc72 swt hc1 haz waz whz
br hc70 hc71 hc72 haz waz whz
sum haz waz whz
replace haz=. if haz>6
replace waz=. if waz>6
replace whz=. if whz>6
sum haz waz whz

gen stunting=1 if haz<-2
replace stunting=0 if haz>=-2
replace stunting=. if haz==.
label define stunting 1 "Stunted" 0 "Non-Stunted", replace
label value stunting Stunting

tab stunting
tab stunting [iweight= swt]

gen wasting=1 if whz<-2
replace wasting=0 if whz>=-2
replace wasting=. if whz==.
label define wasting 1 "Wasted" 0 "Non-wested", replace
label value wasting Wasting

tab wasting
tab wasting [iweight= swt]

gen underweight=1 if waz<-2
replace underweight=0 if waz>=-2
replace underweight=. if waz==.
label define underweight 1 "Underweight" 0 "Non- underweight", replace
label value underweight Underweight

tab underweight
tab underweight [iweight= swt]

codebook stunting wasting underweight

If this is incorrect can you please provide the correct code? Which method should I use? If I want to use zanthro could you please give me the code using zanthro for these measurements. Your guidance will be much appreciated.

[Updated on: Tue, 12 March 2024 07:54]

Report message to a moderator

Re: HAZ, WAZ, and WHZ calculation to measure stunting, wasting, and underweight of children [message #28839 is a reply to message #28811] Mon, 18 March 2024 07:50
 Bridgette-DHS Messages: 3066Registered: February 2013 Senior Member

Following is a response from Senior DHS staff member, Tom Pullum:

There are different ways to do the same thing. Your commands will work ok, except that you have not correctly constructed the legal ranges. They are as follows:

The haz must be between -6 and +6
The waz must be between -6 and +5
The whz must be between -5 and +5.

In the label for wasting, you have a typo (an "e" in place of "a").