Learn R Programming

PSAgraphics: An R Package to Support Propensity Score Analysis

Contact: Jason Bryer, Ph.D. jason@bryer.org
Website: https://jbryer.github.io/PSAgraphics/

A collection of functions that primarily produce graphics to aid in a Propensity Score Analysis (PSA). Functions include: cat.psa and box.psa to test balance within strata of categorical and quantitative covariates, circ.psa for a representation of the estimated effect size by stratum, loess.psa that provides a graphic and Loess based effect size estimate, and various balance functions that provide measures of the balance achieved via a PSA in a categorical covariate.

For more information, see and cite:

Helmreich, J. E., & Pruzek, R. M. (2009). PSAgraphics: An R Package to Support Propensity Score Analysis. Journal of Statistical Software, 29(6), 1–23. https://doi.org/10.18637/jss.v029.i06

Installation

You can install the development version of PSAgraphics like so:

install.packages('PSAgraphics')

or to download the latest development version:

remotes::install.packages('jbryer/PSAgraphics')

Copy Link

Version

Install

install.packages('PSAgraphics')

Monthly Downloads

564

Version

2.1.3

License

GPL (>= 2)

Maintainer

Last Published

March 5th, 2024

Functions in PSAgraphics (2.1.3)

loess.psa

Graphic for data and loess-based estimate of effect size after propensity score adjustment
cv.trans.psa

Transformation of Factors to Individual Levels
lindner

Data on 996 initial Percutaneous Coronary Interventions (PCIs) performed in 1997 at the Lindner Center, Christ Hospital, Cincinnati.
bal.cs.psa

Balance for Categorical Covariate: Random Strata as part of a PSA
bal.ms.psa

Balance for Continuous Covariate: Random Strata as part of a PSA
cv.bal.psa

Multiple Covariate Balance Assessment Plot
cstrata.psa

Supports Multiple Methods for Defining and Visualizing (PS) Strata
bal.fe.psa

Fisher's Exact Test for Independence of Treatments within Strata
circ.psa

Generates a Propensity Score Assessment Plot
cat.psa

Compare balance graphically of a categorical covariate as part of a PSA
PSAgraphics-package

Graphical Analysis of Propensity Score Analysis
bal.ks.psa

Kolgomorov-Smirnov 2 sample tests for multiple strata
box.psa

Compare balance graphically of a continuous covariate as part of a PSA