Covariate Balancing Propensity Score
Overview
Implements the covariate balancing propensity score (CBPS) proposed by Imai and Ratkovic (2014) DOI:10.1111/rssb.12027. 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) DOI:10.1080/07350015.2021.2002159, 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) DOI:10.1080/01621459.2014.956872, treatments with three- and four-valued treatment variables, continuous-valued treatments from Fong, Hazlett, and Imai (2018) DOI:10.1214/17-AOAS1101, propensity score estimation with a large number of covariates from Ning, Peng, and Imai (2020) DOI:10.1093/biomet/asaa020, 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.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-10
- ERROR13 OK, 1 ERROR2026-04-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 24
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 78%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 38%
Downloads
Dependencies
Installing CBPS adds 12 packages (6 with compiled code, 10 MB of source tarballs). Heaviest: glmnet 2.7 MB, Rcpp 1.8 MB, MatchIt 1.7 MB.
Code & Tests
Datasets
People & History
Previously maintained by Marc Ratkovic (0.1 to 0.8).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.24Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.23
- RR 4.1.0 released · 2021-05-18
- 0.222021-03-29 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.212019-08-21 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.202019-03-22 · diff ↗
- 0.192018-06-17 · diff ↗
- RR 3.5.0 released · 2018-04-23
- unarchivedReturned to CRAN2018-03-10
Show 26 earlier eventsHide 26 earlier events
- 0.182018-03-10 · diff ↗
- 0.172018-01-30 · diff ↗
- unarchivedReturned to CRAN2018-01-29, but the same errors were still present so archived again on 2018-01-31
- archivedRemoved from CRAN2018-01-25check errors (without long-double, alternative BLASes) were not corrected despite reminders
- 0.162017-12-19 · diff ↗
- 0.15
- 0.14
- RR 3.4.0 released · 2017-04-21
- 0.132016-12-30 · diff ↗
- 0.122016-11-01 · diff ↗
- 0.112016-05-13 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.10
- RR 3.2.0 released · 2015-04-16
- 0.9
- RR 3.1.0 released · 2014-04-10
- 0.82014-03-08 · diff ↗
- 0.72013-07-25 · diff ↗
- 0.6
- 0.52013-05-08 · diff ↗
- 0.4
- RR 3.0.0 released · 2013-04-03
- 0.32013-01-31 · diff ↗
- 0.22012-09-29 · diff ↗ ·
removed 2 exports
CBPSlogit, summary.CBPSlogitadded 4 exports
CBPS, summary.CBPS, IPW, DR - 0.12012-07-19
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-07-19
- Total releases
- 24 / 14 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.4
- Bundled data
- 42 KB / 2 files
- Download size
- 108 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("CBPS")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.