Sample Size and Power for Propensity Score Weighted Estimators

Computes sample size and power for causal inference studies that use propensity score (PS) weighting. Supports continuous, binary, and time-to-event (survival) outcomes under four estimands: average treatment effect (ATE), average treatment effect on the treated (ATT), average treatment effect on the controls (ATC), and average treatment effect on the overlap population (ATO). For continuous and binary outcomes, the asymptotic variance of the Hajek inverse probability weighting estimator is derived under a logit-normal propensity score model, approximated by a Beta distribution matched through the Bhattacharyya overlap coefficient. For survival outcomes, the asymptotic variance of the propensity-score- weighted partial likelihood estimator is used for randomized trials and observational studies. The Schoenfeld formula is also available for randomized trial settings.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("PSpower")

2.0.0 by Bo Liu, 5 months ago


Browse source code at https://github.com/cran/PSpower


Authors: Bo Liu [aut, cre] , Chengxin Yang [aut] , Fan Li [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports stats

Suggests ggplot2, knitr, rmarkdown, testthat


See at CRAN