getPropensityScore {MultiObjMatch} | R Documentation |
Fit propensity scores using logistic regression.
getPropensityScore(data, covs)
data |
dataframe that contains a column named "treat", the treatment vector, and columns of covariates specified. |
covs |
factor of column names of covariates used for fitting a propensity score model. |
vector of estimated propensity scores (on the probability scale).