Survival analysis of patients undergoing dialysis