estimate_ps.RdA simple function to estimate a propensity score given the model
and estimating approach supplied in a model_specification objects
estimate_ps(models, data, weights = NULL)A model_specification object
Source data
A vector of observation weights
A matrix of estimated propensity scores, one column for each treatment