The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Replicating DHS table on stunting - Bangladesh 2014
Replicating DHS table on stunting - Bangladesh 2014 [message #11149] Wed, 09 November 2016 12:34 Go to previous message
cmergenthaler is currently offline  cmergenthaler
Messages: 7
Registered: July 2016
Location: Netherlands
Member
Dear DHS experts,
I am trying to replicate part of Table 11.1 Nutritional status of children from the Bangladesh DHS 2014 final report, and would be grateful for your help.
I am interested in the height-for-age below -2SD column by division, but am failing to reach the same values, with and without weighting. Can someone kindly have a look at this syntax and suggest where I may be going wrong? I am using the PR file, as another thread highlighted was necessary.

Syntax:
generate height4agesd = hc5 / 100

count if height4agesd >= 99 & height4agesd <=100
*178
replace height4agesd = . if height4agesd >= 99 & height4agesd <=100

generate stunting = .
replace stunting = 1 if height4agesd < -2.00
replace stunting = 0 if height4agesd >= -2.00 & height4age !=.
tab stunting

tab hv024 stunting
tab hv024 stunting [iweight=hv005/1000000]

Thank you in advance for your support!
Christina
 
Read Message
Read Message
Read Message
Previous Topic: Mothers Education on children's health
Next Topic: Infant and child mortality
Goto Forum:
  


Current Time: Fri Mar 29 00:49:31 Coordinated Universal Time 2024