Package: PStrata
Type: Package
Title: Principal Stratification Analysis in R
Version: 0.1.0
Date: 2026-03-07
Encoding: UTF-8
Authors@R: 
  c(
    person(given = "Bo", family = "Liu", role = c("aut", "cre"), email = "bo.liu1997@gmail.com"),
    person(given = "Fan", family = "Li", role = "ctb", email = "fl35@duke.edu")
  )
Maintainer: Bo Liu <bo.liu1997@gmail.com>
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.
URL: https://github.com/LauBok/PStrata
BugReports: https://github.com/LauBok/PStrata/issues
Depends: R (>= 3.5.0)
Collate: PStrata-package.R utils.R PSFormula.R PStrataInfo.R survival.R
        prior.R make_standata.R PSObject.R make_stancode.R PSSample.R
        PStrata.R PSOutcome.R sim_data_normal.R sim_data_Cox.R
        PSContrast.R
License: GPL (>= 2)
Suggests: R.rsp
Imports: ggplot2, rstan, lme4, abind, dplyr, purrr, stringr, stats
LazyData: true
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-03-08 03:47:49 UTC; boliu
Author: Bo Liu [aut, cre],
  Fan Li [ctb]
Repository: CRAN
Date/Publication: 2026-03-08 17:10:38 UTC
Built: R 4.7.0; ; 2026-04-28 04:58:09 UTC; windows
