Package: PStrata 0.0.3

PStrata: Principal Stratification Analysis in R

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 effect with uncertainty quantification. Visualization tools are also provided for diagnosis and interpretation. See Liu and Li (2023) <arxiv:2304.02740> for details.

Authors:Bo Liu [aut, cre], Fan Li [ctb]

PStrata_0.0.3.tar.gz
PStrata_0.0.3.zip(r-4.5)PStrata_0.0.3.zip(r-4.4)PStrata_0.0.3.zip(r-4.3)
PStrata_0.0.3.tgz(r-4.5-any)PStrata_0.0.3.tgz(r-4.4-any)PStrata_0.0.3.tgz(r-4.3-any)
PStrata_0.0.3.tar.gz(r-4.5-noble)PStrata_0.0.3.tar.gz(r-4.4-noble)
PStrata_0.0.3.tgz(r-4.4-emscripten)PStrata_0.0.3.tgz(r-4.3-emscripten)
PStrata.pdf |PStrata.html
PStrata/json (API)

# Install 'PStrata' in R:
install.packages('PStrata', repos = c('https://laubok.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/laubok/pstrata/issues

Datasets:

On CRAN:

3.48 score 6 stars 270 downloads 22 exports 64 dependencies

Last updated 1 years agofrom:8fb9c05aca. Checks:1 OK, 7 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 27 2025
R-4.5-winWARNINGJan 27 2025
R-4.5-macWARNINGJan 27 2025
R-4.5-linuxWARNINGJan 27 2025
R-4.4-winWARNINGJan 27 2025
R-4.4-macWARNINGJan 27 2025
R-4.3-winWARNINGJan 27 2025
R-4.3-macWARNINGJan 27 2025

Exports:make_stancodemake_standataprior_cauchyprior_chisqprior_exponentialprior_flatprior_gammaprior_inv_chisqprior_inv_gammaprior_lassoprior_logisticprior_normalprior_tprior_weibullPSContrastPSFormulaPSObjectPSOutcomePSSamplePStrataPStrataInfosurvival

Dependencies:abindbackportsBHbootcallrcheckmateclicolorspacedescdistributionaldplyrfansifarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecyclelme4loomagrittrMASSMatrixmatrixStatsmgcvminqamunsellnlmenloptrnumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackreformulasrlangrstanscalesStanHeadersstringistringrtensorAtibbletidyselectutf8vctrsviridisLitewithr