joint_shift_additive.RdJoint Shift Additive Modified Treatment Policy
joint_shift_additive(
a1,
a2,
w = NULL,
delta1,
delta2,
lower_bound1,
upper_bound1,
lower_bound2,
upper_bound2
)A numeric vector of observed treatment values.
A numeric vector of observed treatment values.=
A numeric matrix of observed baseline covariate values.
A numeric indicating the magnitude of the shift to be
computed for the treatment A.
A numeric indicating the magnitude of the shift to be
computed for the treatment A.
Lower bound of expossure
Upper bound of exposure
Lower bound of expossure
Upper bound of exposure
A numeric vector containing the shifted exposure values.
A simple modified treatment policy that modifes the observed value
of the exposure by shifting it by a value delta. Note that this
shifting function assumes support of A|W across all strata of W. Same
as shift additive but for two exposures found in the data-adaptive procedure