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.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://cran.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

4 exports 2.70 score 84 dependencies 4 scripts 246 downloads

Last updated 3 months agofrom:4e7203dc70. Checks:OK: 1 NOTE: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 24 2024
R-4.5-linux-x86_64NOTESep 24 2024

Exports:%>%bayesianFactorbayesianSynthtime_tiles

Dependencies:abindbackportsbase64encBHbslibcachemcallrcheckmateclicolorspacecpp11cubelyrdescdigestdistributionaldplyrevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegridExtragtablehighrhtmltoolshtmlwidgetsinlineisobandjquerylibjsonliteknitrlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmemoisemgcvmimemunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rappdirsRColorBrewerRcppRcppEigenRcppParallelrlangrmarkdownrstanrstantoolssassscalesStanHeadersstringistringrtensorAtibbletidyrtidyselecttinytexutf8vctrsviridisLitevizdrawswithrxfunyaml

Multiple Treated

Rendered frommultiple_treated.Rmdusingknitr::rmarkdownon Sep 24 2024.

Last update: 2024-06-26
Started: 2024-06-26