Learn R Programming

optmatch (version 0.10.8)

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(object, newdata = NULL, type = c("link", "response"), ...)

Value

Inverse logit of the fitted values.

Arguments

object

A CBPS object

newdata

Unused.

type

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

...

Unused.