cv.inform {GJRM} | R 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 |
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
[Package GJRM version 0.2-6.5 Index]