Learn R Programming

MultiObjMatch (version 1.0.0)

getPropensityScore: Fit propensity scores using logistic regression.

Description

Fit propensity scores using logistic regression.

Usage

getPropensityScore(data, covs)

Value

vector of estimated propensity scores (on the probability scale).

Arguments

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.