| Anthropometric child measures KDHS 2014 [message #12221] | 
			Wed, 12 April 2017 11:32   | 
		 
		
			
				
				
				
					
						  
						Josephine
						 Messages: 9 Registered: December 2016  Location: Sweden
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		I am using the PR file to check stunting, wasting and underweight in children. I then use the commands below to replicate table 11.1. of the 2014 DHS. 
 
keep if hc13==0 
replace hc70=. if hc70>=9990 
gen z=hc70/200 
gen stunted=1 if z<-2 
replace stunted =0 if z>-2 & hc70!=. 
gen wght=hv005/1000000 
bys hv025: tab stunt [iweight=wght] 
 
However, I am not able to replicate the table results using the above commands. How do I get the correct figures?  
Thank you.
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 |