Compute predicted values for a deepAFT object
## S3 method for class 'deepAFT'
# S3 method for dSurv
predict(object, newdata, newy=NULL, ...)
predict.dSurv returns a list of predicted values, prediction error and residuals.
linear predictor of beta(w)*Z, where beta(w) is the fitted regression coefficient and Z is covariance matrix.
risk score, exp(lp). When new y is provided, both lp and risk will be ordered by survival time of the new y.
cumulative hzard function.
time for cumulative hazard function. Time from new y will be used is provided
the results of a model fit using the deepAFT function.
optional new data at which to do predictions. If absent, predictions are for the dataframe used in the original fit.
optional new outcome variable y.
other options used in predict().
Bingshu E. Chen
predict.dSurv is called to predict object from the deepAFT or deepSurv model deepAFT
.
The default method, predict has its own help page. Use methods("predict") to get all the methods for the predict generic.
The default method for predict predict
,
deepAFT
, survfit.dSurv