PSW: Propensity Score Weighting Methods for Dichotomous Treatments

Provides propensity score weighting methods to control for confounding in causal inference with dichotomous treatments and continuous/binary outcomes. It includes the following functional modules: (1) visualization of the propensity score distribution in both treatment groups with mirror histogram, (2) covariate balance diagnosis, (3) propensity score model specification test, (4) weighted estimation of treatment effect, and (5) augmented estimation of treatment effect with outcome regression. The weighting methods include the inverse probability weight (IPW) for estimating the average treatment effect (ATE), the IPW for average treatment effect of the treated (ATT), the IPW for the average treatment effect of the controls (ATC), the matching weight (MW), the overlap weight (OVERLAP), and the trapezoidal weight (TRAPEZOIDAL). Sandwich variance estimation is provided to adjust for the sampling variability of the estimated propensity score. These methods are discussed by Hirano et al (2003) <doi:10.1111/1468-0262.00442>, Lunceford and Davidian (2004) <doi:10.1002/sim.1903>, Li and Greene (2013) <doi:10.1515/ijb-2012-0030>, and Li et al (2016) <doi:10.1080/01621459.2016.1260466>.

Version: 1.1-3
Depends: R (≥ 3.0)
Imports: stats, Hmisc, gtools, graphics
Published: 2018-01-19
Author: Huzhang Mao, Liang Li
Maintainer: Huzhang Mao <huzhangmao at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: PSW results


Reference manual: PSW.pdf
Package source: PSW_1.1-3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: PSW_1.1-3.tgz
OS X Mavericks binaries: r-oldrel: PSW_1.1-2.tgz
Old sources: PSW archive


Please use the canonical form to link to this page.