repeat_t_grid: repeat ipcw/ee for all time points

Description Format Value Methods Public fields Active bindings Methods Examples

Description

repeat ipcw/ee for all time points

repeat ipcw/ee for all time points

Format

R6Class object.

Value

Object of R6Class with methods

Methods

fit fit all time points in 'k_grid'

Public 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

Active bindings

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

Public methods


Method new()

Usage
repeat_t_grid$new(
  method,
  A,
  T_tilde,
  Delta,
  density_failure,
  density_censor,
  g1W,
  A_intervene
)

Method fit()

Usage
repeat_t_grid$fit(k_grid)

Method clone()

The objects of this class are cloneable with this method.

Usage
repeat_t_grid$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
   repeat_t_grid$new(method = ipcw,
     A,
     T_tilde,
     Delta,
     density_failure,
     density_censor,
     g1W,
     A_intervene
   )
   repeat_t_grid$new(method = ee,
     A,
     T_tilde,
     Delta,
     density_failure,
     density_censor,
     g1W,
     A_intervene
   )

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