repeat ipcw/ee for all time points

repeat_t_grid

Format

R6Class object.

Value

Object of R6Class with methods

Fields

method

either ipcw or ee class

A

vector of treatment

T_tilde

vector of last follow up time

Delta

vector of censoring indicator

density_failure

survival_curve object of predicted counterfactual survival curve

density_censor

survival_curve object of predicted counterfactual failure event survival curve

g1W

propensity score

A_intervene

the intervention of interest

k_grid

vector of interested time points

Methods

fit fit all time points in `k_grid`

Examples

repeat_t_grid$new(method = ipcw, A, T_tilde, Delta, density_failure, density_censor, g1W, A_intervene )
#> Error in .subset2(public_bind_env, "initialize")(...): object 'A' not found
repeat_t_grid$new(method = ee, A, T_tilde, Delta, density_failure, density_censor, g1W, A_intervene )
#> Error in .subset2(public_bind_env, "initialize")(...): object 'A' not found