Learn R Programming

CBPS (version 0.23)

Covariate Balancing Propensity Score

Description

Implements the covariate balancing propensity score (CBPS) proposed by Imai and Ratkovic (2014) . The propensity score is estimated such that it maximizes the resulting covariate balance as well as the prediction of treatment assignment. The method, therefore, avoids an iteration between model fitting and balance checking. The package also implements optimal CBPS from Fan et al. (in-press) , several extensions of the CBPS beyond the cross-sectional, binary treatment setting. They include the CBPS for longitudinal settings so that it can be used in conjunction with marginal structural models from Imai and Ratkovic (2015) , treatments with three- and four-valued treatment variables, continuous-valued treatments from Fong, Hazlett, and Imai (2018) , propensity score estimation with a large number of covariates from Ning, Peng, and Imai (2020) , and the situation with multiple distinct binary treatments administered simultaneously. In the future it will be extended to other settings including the generalization of experimental and instrumental variable estimates.

Copy Link

Version

Install

install.packages('CBPS')

Monthly Downloads

2,361

Version

0.23

License

GPL (>= 2)

Maintainer

Last Published

January 18th, 2022

Functions in CBPS (0.23)

CBIV

Covariate Balancing Propensity Score for Instrumental Variable Estimates (CBIV)
npCBPS.fit

npCBPS.fit
summary.CBPS

Summarizing Covariate Balancing Propensity Score Estimation
plot.CBMSM

Plotting CBPS Estimation for Marginal Structural Models
vcov.CBPS

Calculate Variance-Covariance Matrix for a Fitted CBPS Object
AsyVar

Asymptotic Variance and Confidence Interval Estimation of the ATE
hdCBPS

hdCBPS high dimensional CBPS method to parses the formula object and passes the result to hdCBPS.fit, which calculates ATE using CBPS method in a high dimensional setting.
Blackwell

Blackwell Data for Covariate Balancing Propensity Score
CBPS.fit

CBPS.fit determines the proper routine (what kind of treatment) and calls the approporiate function. It also pre- and post-processes the data
npCBPS

Non-Parametric Covariate Balancing Propensity Score (npCBPS) Estimation
LaLonde

LaLonde Data for Covariate Balancing Propensity Score
balance

Optimal Covariate Balance
balance.npCBPS

Calls the appropriate balance function based on the number of treatments
balance.CBPS

Calculates the pre- and post-weighting difference in standardized means for covariate within each contrast
balance.CBPSContinuous

Calculates the pre- and post-weighting correlations between each covariate and the T
vcov_outcome

Calculate Variance-Covariance Matrix for Outcome Model
vcov_outcome.CBPSContinuous

vcov_outcome
plot.CBPS

Plotting Covariate Balancing Propensity Score Estimation
plot.CBPSContinuous

Plot the pre-and-post weighting correlations between X and T
CBMSM.fit

CBMSM.fit
CBPS

Covariate Balancing Propensity Score (CBPS) Estimation
plot.npCBPS

Calls the appropriate plot function, based on the number of treatments
print.CBPS

Print coefficients and model fit statistics
CBMSM

Covariate Balancing Propensity Score (CBPS) for Marginal Structural Models