Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kosukeimai/CBPS
R package: CBPS
https://github.com/kosukeimai/CBPS
Last synced: 3 days ago
JSON representation
R package: CBPS
- Host: GitHub
- URL: https://github.com/kosukeimai/CBPS
- Owner: kosukeimai
- Created: 2016-10-28T21:50:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T16:50:06.000Z (almost 3 years ago)
- Last Synced: 2024-11-10T18:31:42.618Z (3 days ago)
- Language: R
- Homepage:
- Size: 372 KB
- Stars: 27
- Watchers: 9
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
# CBPS: Covariate Balancing Propensity Score [![Build Status](https://travis-ci.org/kosukeimai/CBPS.svg?branch=master)](https://travis-ci.org/kosukeimai/CBPS) [![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/CBPS)](https://cran.r-project.org/package=CBPS) ![CRAN downloads](http://cranlogs.r-pkg.org/badges/grand-total/CBPS)
Implements the covariate balancing propensity score (CBPS) proposed by [Imai and Ratkovic (2014)](https://doi.org/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)](https://doi.org/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)](https://doi.org/10.1080/01621459.2014.956872), treatments with three- and four-valued treatment variables, continuous-valued treatments from [Fong, Hazlett, and Imai (2018)](https://doi.org/10.1214/17-AOAS1101), propensity score estimation with a large number of covariates from [Ning, Peng, and Imai (2020)](https://doi.org/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.
## Installation
```
## from CRAN
install.packages("CBPS")## from github
library(devtools)
install_github("kosukeimai/CBPS", dependencies = TRUE)
```