Propensity Score Weighting for Causal Inference with Observational Studies and Randomized Trials
Overview
Supports propensity score weighting analysis of observational studies and randomized trials. Enables the estimation and inference of average causal effects with binary and multiple treatments using overlap weights (ATO), inverse probability of treatment weights (ATE), average treatment effect among the treated weights (ATT), matching weights (ATM) and entropy weights (ATEN), with and without propensity score trimming. These weights are members of the family of balancing weights introduced in Li, Morgan and Zaslavsky (2018) doi:10.1080/01621459.2016.1260466 and Li and Li (2019) doi:10.1214/19-AOAS1282.
- Updated package vignette structure to ensure full PDF documentation is directly available on CRAN
- Minor documentation improvements
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 30
- Examples that run
- 83%19 run in a plain check · 4 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 43%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- not measured
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/thuizhou/psweight on 2026-10-21.
Dependencies
Installing PSweight adds 43 packages (22 with compiled code, 42 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, gplots 4.6 MB.
Code & Tests
Datasets
People & History
Previously maintained by Tianhui Zhou (0.1.0 to 1.1.8).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.1.2Latest
- RR 4.5.0 released · 2025-04-11
- 2.1.12025-03-02 · diff ↗
- 2.1.0
- RR 4.4.0 released · 2024-04-24
- 1.2.02024-03-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.1.82022-10-18 · diff ↗
- 1.1.7
- RR 4.2.0 released · 2022-04-22
- 1.1.62021-12-02 · diff ↗
- 1.1.52021-10-28 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.1.4
- 1.1.32021-02-25 · diff ↗
Package metadata
- First published
- 2020-05-04
- Total releases
- 15 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 360 KB / 7 files
- Download size
- 815 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("PSweight")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.