msePICW {dnn} | R Documentation |
Mean Square Error (mse) for a survival Object
Description
Compute Mean Square Error (mse) values for a survival object
Usage
## S3 method for class 'deepAFT'
mseIPCW(object, newdata, newy)
Arguments
object |
the results of a model fit using a deepAFT or a survreg function. |
newdata |
optional new data at which to do predictions. If absent, predictions are for the dataframe used in the original fit. |
newy |
optional new outcome variable y. |
Details
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.
Value
mseIPCW returns the mse for the predicted survival data.
Author(s)
Bingshu E. Chen
See Also
The default method for predict predict
,
deepAFT
, survfit.dSurv
[Package dnn version 0.0.6 Index]