Learn R Programming

dnn (version 0.0.6)

ibs: Calculate integrated Brier Score for deepAFT

Description

The function ibs is used to calculate integrated Brier Score for deepAFT.

Usage

ibs(object, ...)
### To calculate Brier score for the original fitted data
# S3 method for default
ibs(object, ...)
### To calculate Brier score for new data with new outcomes
# S3 method for deepAFT
ibs(object, newdata=NULL, newy = NULL, ...)

Value

A list contains the integrate Brier score and the Brier score is returned:

ibs

Integerate Brier score

bs

Brier score

Arguments

object

the results of a deepAFT fit.

newdata

optional argument, if no null, new data and new y will be used for calculation.

newy

optional argument, used together with new data.

...

other unused arguments.

Author

Bingshu E. Chen

Details

ibs is called to calculate integrate Brier score for the deepAFT model deepAFT.

See Also

deepAFT