I am new to survival analysis and I've recently learned that there are different ways to do it given a certain goal. I am interested in actual implementation and appropriateness of these methods.
I was presented with the traditional Cox Proportional-Hazards, Accelerated failure time models and neural networks (multilayer perceptron) as methods to get survival of a patient given their time, status and other medical data. The study is said to be determined in five years and the goal is to give survival risks each year for new records to be given.
I found two instances where other methods where chosen over the Cox PH:
I found "How to get predictions in terms of survival time from a Cox PH model" and it was mentioned that:
If you are particularly interested in obtaining estimates of the probability of survival at particular time points, I would point you towards parametric survival models (aka accelerated failure time models). These are implemented in the survival package for R, and will give you parametric survival time distributions, wherein you can simply plug in the time you are interested in and get back a survival probability.
I went to the recommended site and found one in the
survival
package - the functionsurvreg
.Neural networks were suggested in this comment:
... One advantage of neural net approaches to survival analysis is that they do not rely on the assumptions that underlie Cox analysis...
Another person with the question "R neural network model with target vector as output containing survival predictions" gave an exhaustive way of determining survival in both neural networks and Cox PH.
The R code for getting the survival would be like this:
mymodel <- neuralnet(T1+T2+T3+T4+T5~covar1+covar2+covar3+..., data=mydata, hidden=1) compute(mymodel,data=mydata)
I went to the R forums and found this answer in the question "predict.coxph and predict.survreg":
Indeed, from the
predict()
function of thecoxph
you cannot get directly "time" predictions, but only linear and exponential risk scores. This is because, in order to get the time, a baseline hazard has to be computed and it is not straightforward since it is implicit in the Cox model.
I was wondering if which of the three (or two considering the arguments over Cox PH) is best for getting survival percentages for time periods of interest? I am confused which of them to use in survival analysis.