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

tmle_shift(
  shift_fxn = shift_additive_bounded,
  shift_fxn_inv = shift_additive_bounded_inv,
  shift_val = 1,
  max_shifted_ratio = 2,
  ...
)

Arguments

shift_fxn

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

shift_fxn_inv

A function defining the inverse of the type of shift to be applied to the treatment. For an 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).