IBS: Integrated Brier Score

Description Usage Arguments Examples

View source: R/IBS.R

Description

Integrated Brier Score

Usage

1
IBS(train, test, FittingFunction, covariates, ...)

Arguments

train

a data.frame which includes follow up time (fu), event, and covariates. In a k-fold cross validation this is a sample proportion (k-1)/k of the original data set.

test

a data.frame which includes follow up time (fu), event, and covariates. In a k-fold cross validation this is a sample proportion 1/k of the original data set.

FittingFunction

a function which returns list of survival probabilities of individuals where each element in the list represent a specific time point.

covariates

character vector specifying the names of covariates

Examples

1
IBS(train)

sor16/survivalValidation documentation built on May 30, 2019, 6:32 a.m.