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

View source: R/cv.inform.r

cv.informR Documentation

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")

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.

Details

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

Value

sl

Overall sum of predicted likelihood contributions.

Author(s)

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

See Also

GJRM-package, gamlss


GJRM documentation built on Oct. 25, 2024, 5:07 p.m.