Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jbryer/psaboot
Bootstrapping for Propensity Score Analysis
https://github.com/jbryer/psaboot
propensity-score r r-package
Last synced: about 2 months ago
JSON representation
Bootstrapping for Propensity Score Analysis
- Host: GitHub
- URL: https://github.com/jbryer/psaboot
- Owner: jbryer
- Created: 2013-10-29T20:59:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T17:59:04.000Z (about 1 year ago)
- Last Synced: 2023-10-24T15:29:29.855Z (about 1 year ago)
- Topics: propensity-score, r, r-package
- Language: R
- Homepage: https://jbryer.github.io/PSAboot/
- Size: 20.3 MB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
output: github_document
editor_options:
chunk_output_type: console
---# Bootstrapping Propensity Score Analysis
[![R-CMD-check](https://github.com/jbryer/PSAboot/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jbryer/PSAboot/actions/workflows/R-CMD-check.yaml)
`r badger::badge_devel("jbryer/PSAboot", "blue")`
`r badger::badge_cran_release("PSAboot")`
[![CRAN Status](https://badges.cranchecks.info/flavor/release/PSAboot.svg)](https://cran.r-project.org/web/checks/check_results_PSAboot.html)Package website: https://jbryer.github.io/PSAboot/
Poster: https://github.com/jbryer/PSAboot/blob/master/Poster/PSAboot_Poster.pdfAs the popularity of propensity score methods for estimating causal effects in observational studies increase, the choices researchers have for which methods to use has also increased. Estimated treatment effects may be sensitive to choice of method. One approach to test the sensitivity of method choice is to test the null hypothesis more than once using more than one method (Rosenbaum, 2012). With the wide availability of high power computers resampling methods such as bootstrapping (Efron, 1979) have become popular for providing more estimates of the sampling distribution. This paper introduces the `PSAboot` R package that provides functions for bootstrapping propensity score methods. It deviates from traditional bootstrapping methods by allowing for different sampling specifications for treatment and control groups, mainly to ensure the ratio of treatment-to-control observations are consistent. This approach can also be used in situations where there is imbalance between the number of treatment and control observations by allowing for up and/or down sampling. Lastly, by estimating balance statistics and treatment effects for each bootstrap sample we can compare the distributions across multiple propensity score methods to examine the relative performance of these methods.
## Installation
You can download from CRAN using:
```{r, eval=FALSE}
install.packages('PSAboot')
```Or the latest development version using the `remotes` package:
```{r, eval=FALSE}
remotes::install_github('jbryer/PSAboot')
```## Code of Conduct
Please note that the PSAboot project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.