balance_plugin | R Documentation |
Estimate plugin balancing weights
balance_plugin(X, W, w.hat = NULL, alpha = 1, standardize = TRUE)
X |
the input features |
W |
the effect variable (real valued) |
w.hat |
optional precomupted estimate of E[W | X] |
alpha |
tuning paramter for glmnet |
standardize |
whether X should be standardized for the lasso |
balancing weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.