calculate_effects: Calculate the actual effects
Description
Calculate the actual effects
Usage
calculate_effects(w_11, w_00, w_10, w_01, y_outcome, sampw = NULL)
Value
- res
The actual effects
Arguments
- w_11
The Y(1, M(1)) weights
- w_00
The Y(0, M(0)) weights
- w_10
The Y(1, M(0)) weights
- w_01
The Y(0, M(1)) weights
- y_outcome
The Y variable
- sampw
Sampling weights, set to NULL by default.