DR_pseudo_outcome_regression {survML} | R Documentation |
Generate oracle prediction function estimates using doubly-robust pseudo-outcome regression with SuperLearner
Description
Generate oracle prediction function estimates using doubly-robust pseudo-outcome regression with SuperLearner
Usage
DR_pseudo_outcome_regression(
time,
event,
X,
newX,
approx_times,
S_hat,
G_hat,
newtimes,
outcome,
SL.library,
V
)
Arguments
time |
|
event |
|
X |
|
newX |
|
approx_times |
Numeric vector of length J2 giving times at which to approximate integral appearing in the pseudo-outcomes |
S_hat |
|
G_hat |
|
newtimes |
Numeric vector of times at which to generate oracle prediction function estimates |
outcome |
Outcome type, either |
SL.library |
Super Learner library |
V |
Number of cross-validation folds, to be passed to |
Value
Matrix of predictions.