MOSS: onestep TMLE of treatment-rule specific survival curve

Description Format Value Methods Public fields Methods Examples

Description

updating the pdf of the failure event

Format

R6Class object.

Value

Object of R6Class with methods

Methods

onestep_curve update the initial estimator

Public fields

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
MOSS$new(
  A,
  T_tilde,
  Delta,
  density_failure,
  density_censor,
  g1W,
  A_intervene,
  k_grid = NULL
)

Method onestep_update_curve()

Usage
MOSS$onestep_update_curve(density_failure, eic_fit, epsilon)

Method onestep_curve()

Usage
MOSS$onestep_curve(
  epsilon = 1e-05,
  max_num_interation = 100,
  tmle_tolerance = NULL,
  verbose = FALSE
)

Method print()

Usage
MOSS$print()

Method clone()

The objects of this class are cloneable with this method.

Usage
MOSS$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
   MOSS$new(
     A,
     T_tilde,
     Delta,
     density_failure,
     density_censor,
     g1W,
     A_intervene = 1,
     k_grid = 1:max(T_tilde)
   )

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