Generate cross-fitted oracle prediction function estimates
crossfit_oracle_preds( time, event, X, folds, nuisance_preds, pred_generator, ... )
time
: n x 1
numeric vector of observed follow-up times. If there is censoring, these are the minimum of the event and censoring times.event
: n x 1
numeric vector of status indicators of whether an event was observed.X
: n x p
data.frame of observed covariate valuesfolds
: n x 1
numeric vector of folds identifiers for cross-fittingnuisance_preds
: Named list of conditional event and censoring survival functions that will be used to estimate the oracle prediction function.pred_generator
: Function to be used to estimate oracle prediction function....
: Additional arguments to be passed to pred_generator
.Named list of cross-fitted oracle prediction estimates
Useful links