balance | R Documentation |
The balance_ATE()
, balance_ATT()
, and balance_OWATE()
functions solve a convex program with linear equality constraints determined by the data, the
estimand (ATE, ATT, or OWATE), and the sampling weights (base_weights
).
balance_ATE(
X,
Y,
Z,
base_weights = NULL,
coefs_init = NULL,
optim_ctrl = list(maxit = 500, reltol = 1e-10),
...
)
balance_ATT(
X,
Y,
Z,
base_weights = NULL,
coefs_init = NULL,
optim_ctrl = list(maxit = 500, reltol = 1e-10),
...
)
balance_OWATE(
X,
Y,
Z,
base_weights = NULL,
coefs_init = NULL,
optim_ctrl = list(maxit = 500, reltol = 1e-10),
...
)
X |
the balance functions to be contrained. |
Y |
the observed responses. |
Z |
the binary treatment assignment. |
base_weights |
a vector of optional base weights with length equal to the
number of rows in |
coefs_init |
the optional initial values for the dual variables. Default is a vector of zeros with length
equal to number of columns in |
optim_ctrl |
a list of arguments that will be passed to |
... |
additional arguments. |
Josey KP, Juarez-Colunga E, Yang F, Ghosh D (2019). "A Framework for Covariate Balance using Bregman Distances." arXiv:1903.00390 [stat].
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.