Learn R Programming

optmatch (version 0.9-10)

predict.CBPS: (Internal) Predict for CBPS objects

Description

The CBPS package fits ‘covariate balancing propensity score’ for use in propensity score weighting. In the binary treatment case they can also be used for matching. This method helps to implement that process in a manner consistent with use of propensity scores elsewhere in optmatch; see scores documentation.

Usage

# S3 method for CBPS
predict(x, newdata = NULL, type = c("link", "response"), ...)

Arguments

x

A CBPS object

newdata

Unused.

type

Return inverse logits of fitted values (the default) or fitted values themselves

...

Unused.

Value

Inverse logit of the fitted values.