Software packages and online calculator
-
PSweight [CRAN]: an R package that provides a comprehensive analysis platform for causal inference based on propensity score weighting methods, including overlap weighting, inverse probability weighting, trimming. It accommodates both binary and multiple treatments as well as different types of estimands (difference, odds ratio, risk ratio, relative risk). A detailed manual and illustration is given in the R vignette Zhou et al. (2022) [R vignette] and R journal article [arxiv].
-
PSsurvival[CRAN]: extension of the PSweight R package to survival/time-to-event outcome. It provides propensity score weighting methods for estimating counterfactual survival functions, marginal hazard ratios, and weighted Kaplan-Meier and cumulative risk curves. It accommodates both binary and multiple treatments for overlap weighting, inverse probability weighting, and trimming. The main paper is Zhao et al. (2026) [arxiv].
- PStrata[CRAN]: an R package that implement the mixture modeling method to principal stratification, accommodating outcomes of all types and time-to-event outcomes, single or binary intercurrent events (i.e. intermediate variables). The tutorial paper is Liu and Li (2023) [arxiv].