The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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 workflow is PStrataModel() to specify the model, fit() to run MCMC sampling, estimate() to extract potential outcomes, and contrast() to compute causal effects. Visualization tools are provided for diagnosis and interpretation. See Liu and Li (2023) <doi:10.48550/arXiv.2304.02740> for details.
| Version: | 1.0.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | ggplot2, rstan, lme4, purrr, stringr, stats |
| Suggests: | R.rsp |
| Published: | 2026-05-14 |
| 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_1.0.0.tar.gz |
| Windows binaries: | r-devel: PStrata_0.1.0.zip, r-release: PStrata_0.1.0.zip, r-oldrel: PStrata_0.1.0.zip |
| macOS binaries: | r-release (arm64): PStrata_1.0.0.tgz, r-oldrel (arm64): PStrata_1.0.0.tgz, r-release (x86_64): PStrata_1.0.0.tgz, r-oldrel (x86_64): PStrata_1.0.0.tgz |
| Old sources: | PStrata archive |
Please use the canonical form https://CRAN.R-project.org/package=PStrata to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.