Description Usage Arguments Examples
View source: R/1_surv_onestep.R
One-step TMLE estimator for survival at specific time point
1 2 3 4 5 |
dat |
data.frame with columns T, A, C, W. All columns with character "W" will be treated as baseline covariates. |
tk |
time point to compute survival probability |
dW |
binary input vector specifying dynamic treatment (as a function output of W) |
SL.trt |
SuperLearner library for fitting treatment regression |
SL.ctime |
SuperLearner library for fitting censoring regression |
SL.ftime |
SuperLearner library for fitting conditional hazard regression |
maxIter |
maximal number of recursion for one-step |
epsilon_step |
step size for one-step recursion |
tol |
tolerance for optimization |
T.cutoff |
manual right censor the data; remove parts dont want to esimate |
verbose |
to print log-likelihood value during optimzation |
1 | # TO DO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.