tmle_shift: Outcome under Shifted Treatment

View source: R/tmle3_Spec_shift.R

tmle_shiftR Documentation

Outcome under Shifted Treatment

Description

O = (W, A, Y) W = Covariates A = Treatment (binary or categorical) Y = Outcome (binary or bounded continuous)

Usage

tmle_shift(
  shift_fxn = shift_additive,
  shift_fxn_inv = shift_additive_inv,
  shift_val = 1,
  max_shifted_ratio = 5,
  ...
)

Arguments

shift_fxn

A function defining the type of shift to be applied to the treatment. For a simple example, see shift_additive.

shift_fxn_inv

A function defining the inverse of the type of shift to be applied to the treatment. For a simple example, see shift_additive_inv.

shift_val

A numeric, specification of the magnitude of the desired shift (on the level of the treatment). This is a value passed to the functions above for modulating the treatment.

max_shifted_ratio

A numeric value indicating the maximum tolerance for the ratio of the counterfactual and observed intervention densities. In particular, the shifted value of the intervention is assigned to a given observational unit when the ratio of counterfactual intervention density to the observed intervention density is below this value.

...

Additional arguments (currently unused).


tlverse/tmle3shift documentation built on Sept. 24, 2024, 4:21 a.m.