Learn R Programming

GJRM (version 0.2-6.5)

cv.inform: Cross validation for informative censoring univariate survival models

Description

cv.inform carries out cross validation to help choosing the set of informative covariates.

Usage

cv.inform(x, K = 5, data, informative = "yes")

Value

sl

Overall sum of predicted likelihood contributions.

Arguments

x

A fitted gamlss object as produced by the respective fitting function.

K

No. of folds.

data

Data.

informative

If no then cv is carried out for the case of no informative censoring. This is useful for comparison purposes.

Author

Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk

Details

cv.inform carries out cross validation to help choosing the set of informative covariates.

See Also

GJRM-package, gamlss