Title: | Censored Data Imputation for Direct Modeling |
---|---|
Description: | Impute the survival times for censored observations based on their conditional survival distributions derived from the Kaplan-Meier estimator. 'CondiS' can replace the censored observations with the best approximations from the statistical model, allowing for direct application of machine learning-based methods. When covariates are available, 'CondiS' is extended by incorporating the covariate information through machine learning-based regression modeling ('CondiS_X'), which can further improve the imputed survival time. |
Authors: | Yizhuo Wang [aut, cre]
|
Maintainer: | Yizhuo Wang <[email protected]> |
License: | GPL-2 |
Version: | 0.1.2 |
Built: | 2025-02-14 04:28:42 UTC |
Source: | https://github.com/cran/CondiS |
This function allows you to impute survival time.
CondiS(time, status, tmax)
CondiS(time, status, tmax)
time |
The follow up time for right-censored data. |
status |
The censoring indicator, normally 0=right censored, 1=event at time. |
tmax |
A self-defined time-of-interest point; if left undefined, then it is defaulted as the maximum follow up time. |
This function allows you to improve the imputed survival time by incorporating covariate information.
CondiS_X(pred_time, status, covariates, method)
CondiS_X(pred_time, status, covariates, method)
pred_time |
The imputed follow up time for right-censored data. |
status |
The censoring indicator, normally 0=right censored, 1=event at time. |
covariates |
The additional patient data that is presumably associated with the survival time. |
method |
Choose from 8 machine learning algorithms; the default is "glm". |