Estimates the shift parameter for a natural direct and indirect effect

calc_mediation_param(
  tmle_fit_a_shift,
  tmle_fit_a_z_shift,
  exposure,
  mediator,
  fold_k,
  y,
  delta
)

Arguments

tmle_fit_a_shift

TMLE results for a shift in A alone

tmle_fit_a_z_shift

TMLE results for a shift in A and Z

exposure

The exposure found

mediator

The mediator found

fold_k

Fold the exposure and mediator were found

y

Outcome

delta

The shift amount