| Education- Stata  [message #2629] | 
			Mon, 28 July 2014 03:54   | 
		 
		
			
				
				
				
					
						
						smileyc
						 Messages: 14 Registered: June 2014 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello, 
 
I just want to seek your advice on how can I generate variable on mother and father's years of schooling among 15-24 years of age. 
I wonder if It is possible to get the variable using any of the following women's recode, male recode, children's recode, and hh member recode.  
 
Appreciate your response. 
Thank you 
 
		
		
		[Updated on: Mon, 28 July 2014 18:46] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	
		
		
			| Re: Education- Stata  [message #3185 is a reply to message #2629] | 
			Sun, 02 November 2014 18:28   | 
		 
		
			
				
				
				
					
						
						tom.m
						 Messages: 2 Registered: November 2014 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello, 
 
If you are using Stata try this with the household member recode file: 
 
First reshape it long and then use the following code: 
 
bysort hhid (hvidx): gen edmot = hv109[hv112] 
bysort hhid (hvidx): gen edfat = hv109[hv114] 
 
Best, 
 
T
		
		
		
 |  
	| 
		
	 | 
 
 
 |