CFsurvival.nuisance.options | R Documentation |
This function initializes the options for nuisance parameter estimation (i.e. conditional survivals of event and censoring and treatment propensity) for use in CFsurvival
. The conditional survivals of event and censoring are estimated using survSuperLearner
, or any of the individual learners therein. Treatment propensity is estimated using the SuperLearner
, or any of the individual learners therein. Alternatively, the estimation process can be overriden by providing predictions from pre-fit nuisance estimators.
CFsurvival.nuisance.options(
cross.fit = TRUE,
V = ifelse(cross.fit, 10, 1),
folds = NULL,
eval.times = NULL,
event.SL.library = lapply(c("survSL.km", "survSL.coxph", "survSL.expreg",
"survSL.weibreg", "survSL.loglogreg", "survSL.gam", "survSL.rfsrc"), function(alg)
c(alg, "survscreen.glmnet", "survscreen.marg", "All")),
event.pred.0 = NULL,
event.pred.1 = NULL,
cens.SL.library = lapply(c("survSL.km", "survSL.coxph", "survSL.expreg",
"survSL.weibreg", "survSL.loglogreg", "survSL.gam", "survSL.rfsrc"), function(alg)
c(alg, "survscreen.glmnet", "survscreen.marg", "All")),
cens.trunc = 0,
cens.pred.0 = NULL,
cens.pred.1 = NULL,
survSL.control = list(initWeightAlg = "survSL.rfsrc", verbose = FALSE),
survSL.cvControl = list(V = 10),
save.nuis.fits = FALSE,
prop.SL.library = lapply(c("SL.mean", "SL.glm", "SL.gam", "SL.earth", "SL.ranger",
"SL.xgboost"), function(alg) c(alg, "screen.glmnet", "screen.corRank", "All")),
prop.trunc = 0,
prop.pred = NULL,
verbose = FALSE
)
cross.fit |
Logical indicating whether to cross-fit nuisance parameters. Defaults to |
V |
Positive integer number of folds for cross-fitting. Defaults to 10. |
folds |
Optional |
eval.times |
Grid of time values on which to perform the estimation procedure. Defaults to the sorted unique values in |
event.SL.library |
The library of candidate learners to be passed on to |
event.pred.0 |
Optional |
event.pred.1 |
Optional |
cens.SL.library |
The library of candidate learners to estimate the conditional survival of censoring. As with |
cens.trunc |
Optional lower truncation for censoring probabilities. Any estimated probabilities less than |
cens.pred.0 |
Optional |
cens.pred.1 |
Optional |
survSL.control |
Optional list of controls to be passed to |
survSL.cvControl |
Optional list of controls to be passed to |
save.nuis.fits |
Logical indicating whether to save the fitted nuisance objects. |
prop.SL.library |
The library to use for estimation of the treatment propensities using |
prop.trunc |
Optional lower truncation for propensities. If 0 is in |
prop.pred |
Optional |
Named list containing the nuisance options.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.