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 effects 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.1.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | ggplot2, rstan, lme4, abind, dplyr, purrr, stringr, stats |
| Suggests: | R.rsp |
| Published: | 2026-03-08 |
| DOI: | 10.32614/CRAN.package.PStrata |
| Author: | Bo Liu [aut, cre], Fan Li [ctb] |
| Maintainer: | Bo Liu <bo.liu1997 at gmail.com> |
| BugReports: | https://github.com/LauBok/PStrata/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/LauBok/PStrata |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | PStrata results |
| Reference manual: | PStrata.html , PStrata.pdf |
| Package source: | PStrata_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
| Old sources: | PStrata archive |
Please use the canonical form https://CRAN.R-project.org/package=PStrata to link to this page.