estimate_ps_glmnet.Rd
estimate_ps_glmnet: a function to estimate a propensity score using logistic regression
estimate_ps_glmnet(models, data, weights = NULL, args = NULL)
A model_specification
object
Source data
A vector of observation weights
Additional argument to glmnet
A matrix of estimated propensity scores, one column for each treatment