propensity: A Toolkit for Calculating and Working with Propensity Scores

Calculates propensity score weights for multiple causal 'estimands' across binary, continuous, and categorical exposures. Provides methods for handling extreme propensity scores through trimming, truncation, and calibration. Includes inverse probability weighted estimators that correctly account for propensity score estimation uncertainty.

Package details

AuthorMalcolm Barrett [aut, cre, cph] (ORCID: <https://orcid.org/0000-0003-0299-5825>)
MaintainerMalcolm Barrett <malcolmbarrett@gmail.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://r-causal.github.io/propensity/ https://github.com/r-causal/propensity
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("propensity")

Try the propensity package in your browser

Any scripts or data that you put into this service are public.

propensity documentation built on March 3, 2026, 1:06 a.m.