The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » calculating height for age for children in Ghana
Re: calculating height for age for children in Ghana [message #11443 is a reply to message #11389] Wed, 21 December 2016 16:54
 Trevor-DHS Messages: 697Registered: January 2013 Senior Member
See the below code:
```use "GHPR70FL.DTA", clear
* create variable for stunting and set it to missing
gen stunted = .
* set to 0 (Not stunted) if it has a valid measure
replace stunted = 0 if hc70 < 9990
* set to 1 (Stunted) if it is less than -2 SD (data are stored with two implied decimal places, and thus appear as -200)
replace stunted = 1 if hc70 < -200
* tabulate stunting for children under age 60 months who stayed in the household the previous night and have valid measures
tab stunted if hc1 < 60 & hv103==1 & hc70 < 9990 [iw=hv005/1000000]```

You would use the same approach for wasting and underweight.

 calculating height for age for children in Ghana By: sammy nyarko on Mon, 05 December 2016 18:00 Re: calculating height for age for children in Ghana By: Trevor-DHS on Fri, 09 December 2016 11:41 Re: calculating height for age for children in Ghana By: sammy nyarko on Sat, 10 December 2016 07:51 Re: calculating height for age for children in Ghana By: Trevor-DHS on Wed, 21 December 2016 16:54 Re: calculating height for age for children in Ghana By: sammy nyarko on Wed, 28 December 2016 18:37 Re: calculating height for age for children in Ghana By: sadya2018@gmail.com on Tue, 22 May 2018 17:43 Re: calculating height for age for children in Ghana By: alohciN on Mon, 01 July 2019 11:05
 Previous Topic: Height for weight Z score for child Next Topic: Vaccination (Table 10.4) - SADHS 2016
Goto Forum:

Current Time: Sat May 30 00:58:04 Eastern Daylight Time 2020