Compute Mean Square Error (mse) values for a survival object
## S3 method for class 'deepAFT'
mseIPCW(object, newdata, newy)
mseIPCW returns the mse for the predicted survival data.
the results of a model fit using a deepAFT or a survreg 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.
Bingshu E. Chen
predict is called to predict object from a deepAFT deepAFT
or a survreg model.
IPCW method is used to calcuate the mean square error for censored survival time.
The default method for predict predict
,
deepAFT
, survfit.dSurv