predict.CBPS: (Internal) Predict for CBPS objects

Description Usage Arguments Value

View source: R/scores.R

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

1
2
3
## S3 method for class '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.


markmfredrickson/optmatch documentation built on Nov. 9, 2018, 12:57 a.m.