the frequency of chronic kidney disease ( ckd ) has been progressively increasing over the last two decades ( 1 ) and has become a worldwide public health problem . the prevalence of ckd is estimated to be 816% worldwide ( 2 ) . kidney transplantation is the best alternative treatment for end - stage renal disease and health - related quality of life and survival of the patients are improved compared with dialysis ( 3 , 4 ) . worldwide , more than 1.4 million patients with ckd receive renal replacement therapy with incidence growing by approximately 8% annually ( 5 ) . unfortunately , despite significant improvement in graft function , kidney transplants can still fail due to acute rejection and chronic allograft nephropathy ( 1 , 3 ) that can lead to three fold greater risk of death compared to patients with functioning grafts ( 1 , 6 ) . due to the increasing demand for renal transplants , identifying potential risk factors implicated in graft failure is essential to improve patient survival and quality of life ( 1 ) . to achieve this purpose , traditional statistical techniques such as cox proportional hazards ( ph ) model however , it relies on restrictive assumptions such as proportionality of hazards and linearity of effects on log hazard function ( linearity assumption ) ( 7 ) . besides , the performance of traditional methods like cox regression is not reliable in the presence of high rate of censoring ( 8) . potential prognostic factors affecting renal graft have also been investigated by several studies with cox ph model ( 3 , 9 , 10 ) . ideally , it would be important to improve the predictive performance of the models identifying potential prognostic factors affecting renal graft via learning theory and data mining techniques for survival time that require no assumptions . machine learning methods such as tree - based approaches have recently been developed to handle right censored survival data and their effective performance has been confirmed in different areas ( 11 ) . random survival forests ( rsf ) , is a non - parametric tree - based ensemble learning method that can automatically handle the difficulties of cox model and can also be used to select and rank variables ( 7 , 11 ) . due to the limitations of the cox model , using rsf to identify effective risk factors for survival has been suggested ( 7 ) . although , several studies have confirmed the promising performance of rsf compared to traditional cox model ( 8 , 1214 ) in different disease , there is no attempt to use rsf in renal transplantation and compare its performance with cox model . this study aimed to identify prognostic factors affecting renal graft by rsf and compare its performance with cox proportional hazard model . the present study utilized a data set corresponds to a retrospective cohort study which was conducted in hamadan , western iran , from 1994 to 2011 . the number of 475 patients underwent kidney transplantation in ekbatan or besaat hospitals and was eligible to enroll the study . to identify important risk factors , the patients who did not have any information about risk factors were eliminated from the analysis . in this regard , only 378 out of 475 patients were considered in the present study because the information about potential risk factors was not observed for the rest of the patients . the risk factors were age , sex of donors and recipients , type of donor ( living - donor or deceased donor ) , familial relationship , hemoglobin level , blood groups of donors and recipients , duration of dialysis before transplantation ( year ) , cold ischemic time ( min ) , creatinine level at discharge , body mass index ( bmi ) of donor ( kg / m2 ) , left or right kidney , type of immunosuppressive drugs used ( imuran , prednisolone , cyclosporine vs. cellcept , prednisolone , cyclosporine ) , duration of hospitalization ( day ) , volume of urine excretion during the first 24 h after transplantation ( ml/24 h ) , and occurrence of acute or hyperacute rejection . in this regard , acute rejection is related to formation of cellular immunity , which usually occurs to some degree in all grafts , except between identical twins and hyperacute rejection is initiated by preexisting humoral immunity and usually manifests within minutes after transplantation ( 3 ) . the survival time was the time between kidney transplantation and episode of rejection ( 3 ) . rsf is an extension of random forest rf to right - censored survival data with the same principles underlying rf , which enjoys all its important properties ( 7 , 15 ) . each tree consists of nodes ( variables ) in which classification or split was implemented . in survival settings , tree node splits according to maximizing survival differences between daughter nodes ( new nodes ) . in this regard , in each tree , survival time and status of the patients were considered as response variables . then , the ensemble estimate for the cumulative hazard function ( chf ) is drawn by calculating the chf for each sample in a data set , and summing this ensemble over the observed survival times yields the predicted outcome referred to as ensemble mortality ( a measure of mortality for a patient that has been shown to be an effective predictor of survival ) ( 15 ) . each run of rsf was performed for the kidney transplant data set based on 1000 trees under log - rank splitting rule . the importance of each model covariate was also determined by a rapidly computable internal measure of variable importance ( vimp ) that can be used to rank variables . the larger vimp , the more predictive the variable ( the threshold value is 0.002 ) ( 11 ) . moreover , multiple imputation strategy based on rf was utilized for treating missing data ( 7 ) . five imputed data set were provided and then combining rules ( 16 , 17 ) were applied to calculate evaluation criteria and vimp . in order to compare the performance of rsf and traditional cox ph , two criteria were used including integrated brier score ( 18 ) and c - index ( 19 ) using out - of - bag ( oob ) data . a perfect prediction rule would have a concordance of 1 ( 20 ) . random - forestsrc  , a freely available package from the comprehensive r archive network ( cran ) . the mean survival time for 378 patients was 7.354.62 yr , the median survival time was 6.81 yr . out of 378 transplantations , 37 ( 10% ) episodes of rejection occurred , and the remaining 341 patients ( 90% ) were censored . mean and standard deviation of variable importance ( vimp ) for kidney transplant data over five imputed data set . each run based on 1000 trees under log - rank splitting the cold ischemic time , recipient s age , creatinine level at discharge and donors age are highly predictive , and duration of hospitalization is moderately predictive . however , type of donors , hemoglobin level , donor s sex , immunosuppressive drug usage , post - transplantation condition , recipient sex , familial relationship , donor and recipient blood group , side of the kidney , duration of dialysis and urine volume are unlikely to be predictive . according to cox ph model , three variables of recipient age , type of donor ( living vs. deceased ) , and episode of post - transplantation acute and hyperacute rejection were identified as most important variables . rsf had lower prediction error based on integrated brier score ( 0.081 ) compared to cox model ( 0.088 ) . in addition , the c - index of rsf was considerably higher ( 0.965 ) than that of the cox model ( 0.766 ) . the effect on survival of the most five influential covariates found in the rsf analysis was displayed with 5-yr partial survival plots in fig . 1 . the estimated partial survival for a covariate indicates estimated survival for different levels of the covariate when the effects of all other covariates are justified . it can be seen from figure that , as cold ischemic time increases up to about 35 minute , the five - year predicted survival increases as well and it tends to decline after 35 minute . partial 5-year predicted survival for five most influential covariates on survival in kidney transplant data . rsf identified cold ischemic time , recipient s age , creatinine level at discharge , donor s age and duration of hospitalization as the top five most important predictors of survival for graft failure patients in the present study . several authors estimated the survival rate of kidney transplantation and detected the risk factors of graft rejection ( 2124 ) . our results showed that the cold ischemic time variable was the most important factor in the risk of graft rejection , which is consistent with the results of some other studies ( 25 , 26 ) . cold ischemic time is one of the risk factors that is involved in immediate anemia in renal transplant recipients ( 27 ) . based on the results , as recipient s age increases predicted five - year survival time increases as well . this may be a result of stronger and more efficient immune system in younger recipients ( 3 ) . previous studies have reported creatinine level at discharge as a risk factor in rejection of kidney transplantation ( 9 , 10 , 32 ) . donor age was the fourth top risk factor , which had a negative correlation with graft rejection , i.e. kidney rejection is more likely among those recipients who receive kidney from older donors . this result is also similar to the result of other studies ( 3 , 25 , 26 , 33 , 34 ) . the fifth top most important variable was duration of hospitalization , confirmed eralier ( 35 , 36 ) . this study focused on the performance of rsf method in identifying potential risk factors for survival of kidney graft failure patients compared to traditional cox model . the results demonstrated that the rsf model performed significantly better than the conventional cox - proportional hazard model . several studies also confirmed the promising performance of rsf compared to cox ph model in real data sets ( 8 , 12 , 14 ) . rsf had better performance compared to cox ph model based on prediction error criterion ( 13 ) . therefore , it can be applied successfully for identifying risk factors of the kidney transplantation survival . rsf deals with the traditional cox model issues such as proportionality assumption coherently and automatically ( 37 ) and analysts do not require knowing in advance the relationship ( i.e. linear , nonlinear ) of a variable over time ( 8) . besides , the performance of cox regression is not reliable in the presence of high rate of censoring which was the case in the present study ( about 90% censor rate ) . while , rsf is a robust extension of random forest a highly used machine learning method that has gained much interest in a variety of fields of application and generated a vast amount of computational literature in the last decade ( 8 , 38 ) . however , the performance of different methods is data dependent and conducting additional studies is needed to compare rsf to cox regression to document further its performance in clinical settings ( 8) . there were some limitations in the present study . reliable sources of data obtained from prospective design were required for estimation of survival rate and associated prognostic factors , but the present study used a data set of a retrospective cohort study and medical records . quality and accuracy of estimates depends primarily on the quality of recorded data , but verifying the accuracy of data was not possible in the present study . besides , quality of the services and technology may vary over time , but we have no document to justify this issue . these issues might bias results . in addition , long - term follow - up duration results in losing some patients , which in turn may lead to biased results ( 3 ) . rsf identified a different subset of risk factors in chronic nonreversible renal graft rejection than the cox ph model . the rsf is a promising method for intuitive variable selection and is a way to eliminate the doubt in the  black box approach to statistical analysis that should be further investigated in survival analysis of other diseases ( 8) . ethical issues ( including plagiarism , informed consent , misconduct , data fabrication and/or falsification , double publication and/or submission , redundancy , etc . ) have been completely observed by the authors .
background : kidney transplantation is the best alternative treatment for end - stage renal disease . 
 several studies have been devoted to investigate predisposing factors of graft rejection 
 . however , there is inconsistency between the results . 
 the objective of the present study was to utilize an intuitive and robust approach for variable selection , random survival forests ( rsf ) , and to identify important risk factors in kidney transplantation patients.methods:the data set included 378 patients with kidney transplantation obtained through a historical cohort study in hamadan , western iran , from 1994 to 2011 . 
 the event of interest was chronic nonreversible graft rejection and the duration between kidney transplantation and rejection was considered as the survival time . 
 rsf method was used to identify important risk factors for survival of the patients among the potential predictors of graft rejection.results:the mean survival time was 7.354.62 yr . 
 thirty - seven episodes of rejection were occurred . 
 the most important predictors of survival were cold ischemic time , recipient s age , creatinine level at discharge , donors age and duration of hospitalization . 
 rsf method predicted survival better than the conventional cox - proportional hazards model ( out - of - bag c - index of 0.965 for rsf vs. 0.766 for cox model and integrated brier score of 0.081 for rsf vs. 0.088 for cox model).conclusion : a rsf model in the kidney transplantation patients outperformed traditional cox - proportional hazard model . 
 rsf is a promising method that may serve as a more intuitive approach to identify important risk factors for graft rejection .