Bayesian Synthetic Control
Overview
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.
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespaces in Imports field not imported from: ‘R6’ ‘RcppParallel’ ‘purrr’ ‘rstantools’ ‘scales’ ‘vizdraws’ All declared Imports should be used.
- NOTE11 OK, 2 NOTE2026-07-29
- ERROR10 OK, 2 NOTE, 1 ERROR2026-07-27
- NOTE11 OK, 2 NOTE2026-06-09
- ERROR10 OK, 2 NOTE, 1 ERROR2026-06-08
- NOTE9 OK, 5 NOTE2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR8 OK, 5 NOTE, 1 ERROR2026-04-18
- NOTE9 OK, 5 NOTE2026-03-10
Documentation
- Help pages
- 13 (1 internal)includes a package overview page
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 8%
- Multiple Treated HTML
Downloads
Repository
- PRs merged (all time)
- 75%
- Median days to close, 50 most recently updated closed issues
- 12
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/google/bsynth on 2026-10-21.
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0Latest2024-06-25 · current release
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-06-25
- Total releases
- 1 / 2 yrs
- License
- Apache License 2.0 OSI
- Minimum R
- ≥ 3.4.0
- Download size
- 283 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bsynth")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.