PStrata: Principal Stratification Analysis in R

Estimating causal effects in the presence of post-treatment confounding using principal stratification. 'PStrata' allows for customized monotonicity assumptions and exclusion restriction assumptions, with automatic full Bayesian inference supported by 'Stan'. The main function to use in this package is PStrata(), which provides posterior estimates of principal causal effect with uncertainty quantification. Visualization tools are also provided for diagnosis and interpretation. See Liu and Li (2023) <doi:10.48550/arXiv.2304.02740> for details.

Version: 0.0.5
Depends: R (≥ 3.5.0)
Imports: ggplot2, rstan, lme4, abind, dplyr, purrr, stringr, stats
Suggests: R.rsp
Published: 2023-12-03
DOI: 10.32614/CRAN.package.PStrata
Author: Bo Liu [aut, cre], Fan Li [ctb]
Maintainer: Bo Liu <bl226 at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README
CRAN checks: PStrata results


Reference manual: PStrata.pdf
Vignettes: PStrata: An R Package for Principal Stratification


Package source: PStrata_0.0.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): PStrata_0.0.5.tgz, r-oldrel (arm64): PStrata_0.0.5.tgz, r-release (x86_64): PStrata_0.0.5.tgz, r-oldrel (x86_64): PStrata_0.0.5.tgz
Old sources: PStrata archive


Please use the canonical form to link to this page.