initial_sl_fit: super learner fit for failure and censoring event

Description Usage Arguments

View source: R/sl_fit_survival.R

Description

using survtmle package

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
initial_sl_fit(
  T_tilde,
  Delta,
  A,
  W,
  t_max,
  sl_failure = c("SL.glm"),
  sl_censoring = c("SL.glm"),
  sl_treatment = c("SL.glm"),
  gtol = 0.001
)

Arguments

T_tilde

vector of last follow up time

Delta

vector of censoring indicator

A

vector of treatment

W

data.frame of baseline covariates

t_max

the maximum time to estimate the survival probabilities

sl_failure

SuperLearner library for failure event hazard

sl_censoring

SuperLearner library for censoring event hazard

sl_treatment

SuperLearner library for propensity score

gtol

treshold for the fitted propensity scores


wilsoncai1992/MOSS documentation built on June 1, 2020, 2:26 p.m.