| underweight status according to child's living arrangements [message #27209] | 
			Fri, 30 June 2023 03:04   | 
		 
		
			
				
				
				
					
						  
						Manoj1992
						 Messages: 4 Registered: June 2023  Location: India
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		I got different results form NFHS-5 national report after run the following syntax for calculating Underweight among the children's as per their living arrangements, I used the PR filr here 
gen Child_liv_arr=. 
replace Child_liv_arr=1 if hv111==1 & hv113==1 & (hv102 == 1 & hv105 < 18) 
replace Child_liv_arr=2 if hv111==1 & hv113==0 & (hv102 == 1 & hv105 < 18) 
replace Child_liv_arr=3 if hv111==0 & hv113==1 & (hv102 == 1 & hv105 < 18) 
replace Child_liv_arr=4 if hv111==0 & hv113==0 & (hv102 == 1 & hv105 < 18) 
 
label define Child_liv_arr 1"Living both Parents" 2"Living with Mother (not father)" 3"Living with Father (not mother)" 4"Living with neither parent", replace 
label values Child_liv_arr Child_liv_arr 
tab Child_liv_arr underweight [iw=wt], r nof 
what is wrong with my syntex? 
		
		
		[Updated on: Fri, 30 June 2023 03:05] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |