Package: bsynth 1.0

Ignacio Martinez

bsynth: Bayesian Synthetic Control

Implements the Bayesian Synthetic Control method for causal inference in comparative case studies. This package provides tools for estimating treatment effects in settings with a single treated unit and multiple control units, allowing for uncertainty quantification and flexible modeling of time-varying effects. The methodology is based on the paper by Vives and Martinez (2022) <doi:10.48550/arXiv.2206.01779>.

Authors:Ignacio Martinez [aut, cre], Jaume [aut]

bsynth_1.0.tar.gz
bsynth_1.0.zip(r-4.5)bsynth_1.0.zip(r-4.4)bsynth_1.0.zip(r-4.3)
bsynth_1.0.tgz(r-4.4-x86_64)bsynth_1.0.tgz(r-4.4-arm64)bsynth_1.0.tgz(r-4.3-x86_64)bsynth_1.0.tgz(r-4.3-arm64)
bsynth_1.0.tar.gz(r-4.5-noble)bsynth_1.0.tar.gz(r-4.4-noble)
bsynth.pdf |bsynth.html
bsynth/json (API)

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

Peer review:

Bug tracker:https://github.com/google/bsynth/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

5.68 score 16 stars 4 scripts 177 downloads 4 exports 85 dependencies

Last updated 5 months agofrom:7c1d01543f. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-win-x86_64NOTENov 02 2024
R-4.5-linux-x86_64NOTENov 02 2024
R-4.4-win-x86_64NOTENov 02 2024
R-4.4-mac-x86_64NOTENov 02 2024
R-4.4-mac-aarch64NOTENov 02 2024
R-4.3-win-x86_64NOTENov 02 2024
R-4.3-mac-x86_64NOTENov 02 2024
R-4.3-mac-aarch64NOTENov 02 2024

Exports:%>%bayesianFactorbayesianSynthtime_tiles

Dependencies:abindbackportsbase64encBHbslibcachemcallrcheckmateclicolorspacecpp11cubelyrdescdigestdistributionaldplyrevaluatefansifarverfastmapfontawesomefsgenericsggplot2ggridgesgluegridExtragtablehighrhtmltoolshtmlwidgetsinlineisobandjquerylibjsonliteknitrlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmemoisemgcvmimemunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rappdirsRColorBrewerRcppRcppEigenRcppParallelrlangrmarkdownrstanrstantoolssassscalesStanHeadersstringistringrtensorAtibbletidyrtidyselecttinytexutf8vctrsviridisLitevizdrawswithrxfunyaml

Multiple Treated

Rendered frommultiple_treated.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-06-27
Started: 2021-08-16