Synthesis of survival time by classification and regression trees (CART)
Generates synthetic event indicator and time to event data using classification and regression trees (without or with bootstrap).
syn.survctree(y, yevent, x, xp, proper = FALSE, minbucket = 5, ...)
y |
a vector of length |
yevent |
a vector of length |
x |
a matrix ( |
xp |
a matrix ( |
proper |
for proper synthesis ( |
minbucket |
the minimum number of observations in
any terminal node. See |
... |
additional parameters passed to |
The procedure for synthesis by a CART model is as follows:
Fit a tree-structured survival model by binary recursive partitioning (the terminal nodes include Kaplan-Meier estimates of the survival time).
For each xp
find the terminal node.
Randomly
draw a donor from the members of the node and take the observed
value of yevent
and y
from that draw as the
synthetic values.
NOTE that when the function is called by setting elements of method in
syn()
to "survctree"
, the parameter minbucket
can be supplied to syn()
as e.g. survctree.minbucket
.
A list with the following components:
syn.time |
a vector of length |
syn.event |
a vector of length |
fit |
the fitted model which is an item of class |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.