balance_plugin: Estimate plugin balancing weights

View source: R/plugin.R

balance_pluginR Documentation

Estimate plugin balancing weights

Description

Estimate plugin balancing weights

Usage

balance_plugin(X, W, w.hat = NULL, alpha = 1, standardize = TRUE)

Arguments

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

Value

balancing weights


swager/amlinear documentation built on Aug. 30, 2023, 4:21 a.m.