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

91

Last 30 days

23271st

91

Last 90 days

91

Last year

CRAN Check Status

7 OK
Show all 7 flavors
Flavor Status
r-devel-linux-x86_64-fedora-clang OK
r-devel-macos-arm64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
Check details (7 non-OK)
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-macos-arm64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            

Check History

OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 rstan lme4 abind dplyr purrr stringr PStrata

Version History

new 0.1.0 Mar 9, 2026