estimate_ps_glm.Rd
estimate_ps_glm: a function to estimate a propensity score using glm logistic regression
estimate_ps_glm(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