| Survival analysis using Cox proportional hazard regression [message #21635] | 
			Tue, 01 December 2020 17:36   | 
		 
		
			
				
				
				
					
						  
						Ugonna
						 Messages: 26 Registered: June 2020 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello everyone, 
 
I need to carry out survival analysis using Cox proportional hazard regression on the kr file of Nigeria DHS for my study on under-5 mortality. 
 
I have identified that I need these variables for it: 
b3 - date of birth of child 
b5 - child is alive (survival status) 
b7 - age at death in months 
v008 - date of interview 
b19 - age of child in months 
 
Please how do I go about preparing the data for analysis? 
 
-Do I need to reshape the data from wide to long? If I do, how do I do that please? 
 
-I have combined 'caseid' and 'bidx' into one variable to generate a unique ID variable. Did I do the right thing here? 
 
-Also how do I construct the time of death/time to event/time variable? 
 
Will really appreciate your kind assistance. 
 
Thank you. 
		
		
		
 |  
	| 
		
	 | 
 
 
 |