Description Usage Arguments Value
Adjust new weights so that the distribution of the control variables would not change
1 | wgt_adjust(control, base.wgt1, wgt)
|
control |
numeric data frame or matrix of factors to control for. these are factors that we can't consider while looking for the optimal intervention (e.g. race). |
base.wgt1 |
baseline weights under I = 1 |
wgt |
an optional vector of weights. |
vector of adjusted weights under I = 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.