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>.

Version: 1.0
Depends: R (≥ 3.4.0)
Imports: R6, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), cubelyr, dplyr, ggplot2, glue, magrittr, methods, purrr, rstan (≥ 2.18.1), rstantools (≥ 2.1.1), scales, tibble, tidyr, vizdraws (≥ 1.1), stats, rlang
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0)
Suggests: knitr, rmarkdown, roxygen2, gsynth, testthat (≥ 3.0.0)
Published: 2024-06-25
DOI: 10.32614/CRAN.package.bsynth
Author: Ignacio Martinez ORCID iD [aut, cre], Jaume [aut]
Maintainer: Ignacio Martinez <ignacio at martinez.fyi>
BugReports: https://github.com/google/bsynth/issues
License: Apache License 2.0
URL: https://github.com/google/bsynth, https://arxiv.org/abs/2206.01779
NeedsCompilation: yes
SystemRequirements: GNU make
Materials: README
CRAN checks: bsynth results

Documentation:

Reference manual: bsynth.pdf
Vignettes: Multiple Treated

Downloads:

Package source: bsynth_1.0.tar.gz
Windows binaries: r-devel: bsynth_1.0.zip, r-release: not available, r-oldrel: bsynth_1.0.zip
macOS binaries: r-release (arm64): bsynth_1.0.tgz, r-oldrel (arm64): bsynth_1.0.tgz, r-release (x86_64): bsynth_1.0.tgz, r-oldrel (x86_64): bsynth_1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=bsynth to link to this page.