Calculate the actual effects
calculate_effects(w_11, w_00, w_10, w_01, y_outcome, sampw = NULL)
w_11
: The Y(1, M(1)) weightsw_00
: The Y(0, M(0)) weightsw_10
: The Y(1, M(0)) weightsw_01
: The Y(0, M(1)) weightsy_outcome
: The Y variablesampw
: Sampling weights, set to NULL by default.wgtmed
Useful links