Constructs a LTRC conditional inference forest (LTRCCF) or
a LTRC random survival forest (LTRCRSF) for left-truncated and right-censored data,
it also allows for (left-truncated) right-censored survival data with
time-varying covariates.
The main functions of this package are ltrccf
and ltrcrsf
.
Continuous-time survival data with time-varying covariates are common in practice.
Methods like the Cox proportional hazards model rely on restrictive assumptions such as
proportional hazards and a log-linear relationship between the hazard function and
covariates. Furthermore, because these methods are often parametric, nonlinear effects
of variables must be modeled by transformations or expanding the design matrix to
include specialized basis functions for more complex data structures in real world
applications. The functions LTRCIT
and
LTRCART
provide a conditional inference tree method and a survival tree method for
left-truncated right-censored survival data, which also allows for right-censored
survival data with time-varying covariates. Tree estimators are nonparametric and as such often exhibit
low bias and high variance. Ensemble methods like bagging and random forest can
reduce variance while preserving low bias.
This package implements ltrccf
and ltrcrsf
.
ltrccf
extends the conditional inference forest
(see cforest
) to LTRC survival data.
It uses LTRC conditional inference survival trees
(see LTRCIT
) as base learners.
ltrcrsf
extends the random survival forest
(see rfsrc
) to left-truncated right-censored survival data.
It uses LTRC survival trees with Poisson splitting rule
(see LTRCART
) as base learners.
The main functions ltrccf
and ltrcrsf
fit a corresponding
LTRC forest for LTRC data, with parameter
mtry
tuned by tune.ltrccf
or tune.ltrcrsf
. This tuning
procedure relies on the evaluation of the out-of-bag errors, which is performed by the
function sbrier_ltrc
. print
prints summary output for ltrccf
objects and ltrcrsf
objects.
predictProb
constructs survival function estimates for ltrccf
objects and ltrcrsf
objects.
For (left-truncated) right-censored survival data with time-varying covariates, one can first reformat the data structure to one with LTRC observations, where the multiple records of a subject become a list of pseudo-subjects and are treated independently. This procedure is usually referred to as the Andersen-Gill method (Andersen and Gill, 1982). Then LTRC forest methods can be applied on this reformatted dataset.
Overall, the methods in this package can handle all combinations of left truncation,
right censoring, time-invariant covariates, and time-varying covariates.
If one is in the traditional case with right censored data
and time-invariant covariates, however, then it is recommended to use
the functions cforest
and rfsrc
directly to construct conditional inference forests and random survival forests,
respectively.
Andersen, P. and Gill, R. (1982). Cox<U+2019>s regression model for counting processes, a large sample study. Annals of Statistics, 10, 1100-1120.
ltrccf
, ltrcrsf
,
predictProb
, print
,
tune.ltrccf
, tune.ltrcrsf
, sbrier_ltrc