Skip to content

PStrata

Principal Stratification Analysis in R

v0.1.0 · Mar 8, 2026 · GPL (>= 2)

Description

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.

Downloads

603

Last 30 days

6576th

774

Last 90 days

2.7K

Last year

Trend: +626.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 10 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 rstan lme4 abind dplyr purrr stringr PStrata

Version History

new 0.1.0 Mar 10, 2026
updated 0.1.0 ← 0.0.5 diff Mar 7, 2026
updated 0.0.5 ← 0.0.4 diff Dec 2, 2023
updated 0.0.4 ← 0.0.3 diff Nov 15, 2023
updated 0.0.3 ← 0.0.2 diff Oct 17, 2023
updated 0.0.2 ← 0.0.1 diff Jul 16, 2023
new 0.0.1 May 7, 2023