estimate_censoring_SL: wrapper for censoring regression SuperLearner

Description Usage Arguments Value Examples

View source: R/initial_SL_fit.R

Description

wrapper for censoring regression SuperLearner

Usage

1
2
estimate_censoring_SL(dat, T.uniq, Delta.SL.Lib = c("SL.mean", "SL.glm",
  "SL.gam", "SL.earth"))

Arguments

dat

data.frame, with col: T, A, W, Delta

T.uniq

the unique time points of failure

Delta.SL.Lib

library for SuperLearner

Value

h.hat.t matrix, nrow = n.sample, ncol = length(T.uniq); each row is the predicted conditional hazard h(T=t | T>=t, A, W) for that subject

Examples

1
# TO DO

wilsoncai1992/onestep.survival documentation built on Dec. 17, 2017, 12:07 p.m.