| 
		
			| Linking child data with parentals information [message #17743] | Mon, 20 May 2019 05:49  |  
			| 
				
				
					|  ren_sof Messages: 4
 Registered: January 2019
 | Member |  |  |  
	| Hello, 
 I am working on Colombia DHS 2015 data and need some help regarding the following issue:
 
 I hava data where my unit of analysis are children that contains child“s information such as age, gender, number of sibling, birth order. I want to have  parental information(education, occupation of mother and father/partner and household characteristics( place of residence, years living in the same place etc)
 
 What I am doing is:
 
 use "COPR72FL.DTA", clear
 keep.....
 sort hv001 hv002 hvidx
 save dhsPR.dta, replace
 clear
 
 
 use "COBR72FL.DTA", clear
 keep...
 keep if b16>0 & b16<19
 gen line_number_of_mother=v003
 ren v001 hv001
 ren v002 hv002
 ren b16 hvidx
 sort hv001 hv002 hvidx
 save dhsBR.dta, replace
 clear
 
 
 use dhsPR.dta
 merge 1:m hv001 hv002 hvidx using dhsBR.dta
 
 ***the lines above I guess link mothers with children in the same household****
 
 However, I also need to link the father/partner information to this dataset.
 
 Could anybody help me pleas? Any ideas?  Am I doing something wrong?
 
 I will appreciate your help.
 
 Thanks
 
 
 
 
 
 |  
	|  |  | 
	|  | 
	|  | 
	|  | 
	| 
		
			| Re: Linking child data with parentals information [message #20243 is a reply to message #20222] | Wed, 14 October 2020 18:53  |  
			| 
				
				
					|  Bridgette-DHS Messages: 3230
 Registered: February 2013
 | Senior Member |  |  |  
	| Following is a response from DHS Research & Data Analysis Director, Tom Pullum:
 
 I looked at that table and it does not include mother's education.  Perhaps you are trying to expand the table to include education? The table uses data in the PR file.  There is a variable ha61, mother's education, in the PR file. I believe that would be the variable to use.  Otherwise, staying with just the PR file, you would go to hv118, the line number of the child's mother, and get hv106 from the mother's line.
 
 
 |  
	|  |  |