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


bsynth

bsynth provides causal inference with a Bayesian synthetic control method.

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

Disclaimer

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

As of 2021-08-21, this package is under development. Please report bugs.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("bsynth")

1.0 by Ignacio Martinez, 2 years ago


https://github.com/google/bsynth, https://arxiv.org/abs/2206.01779


Report a bug at https://github.com/google/bsynth/issues


Browse source code at https://github.com/cran/bsynth


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


Documentation:   PDF Manual  


Apache License 2.0 license


Imports R6, Rcpp, RcppParallel, cubelyr, dplyr, ggplot2, glue, magrittr, methods, purrr, rstan, rstantools, scales, tibble, tidyr, vizdraws, stats, rlang

Suggests knitr, rmarkdown, roxygen2, gsynth, testthat

Linking to BH, Rcpp, RcppEigen, RcppParallel, rstan, StanHeaders

System requirements: GNU make


See at CRAN