The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » DHS Burundi 1987
Re: DHS Burundi 1987 [message #3219 is a reply to message #3202] Fri, 07 November 2014 21:47 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 802
Registered: January 2013
Senior Member
You need to use the height and weight dataset with the children's recode (KR) file.

The following code will link the two together:

* rename variables and sort data for merging
use "BUHW01FL.DTA", clear 
ren hwcaseid caseid
ren hwline midx
sort caseid midx
save "BUHW01_temp.dta", replace

* Sort the children's recode data and then merge 
use "BUKR01FL.DTA", clear 
sort caseid midx
merge 1:1 caseid midx using "BUHW01_temp.dta"

* Example tabulation of stunted by region
gen stunted = (hc70<-200) if hc70 <9990
tab v101 stunted [iw=v005/1000000]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mothers education for IYCF indicators
Next Topic: Minimum acceptable diet
Goto Forum:
  


Current Time: Fri Nov 8 22:37:08 Coordinated Universal Time 2024