Skip to content

Bayesian Synthetic Control

0packages depend
2.9Kdownloads / year
3.0%test coverage
11/13flavors OK

Overview

About

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

CRAN checks
2NOTE11OK
Check messages
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.

CRAN check page ↗

Slowest check: 44.7 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.0
READMEYes · 70 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

2.9K
CRAN downloads in the past year
Rank #15,353 · ~8/day · ~245/mo
Daily download trend is not available in this view yet.
30430 days
79590 days
2.9K1 year
Compare downloads with other packages →
Also on488 r2u10 autocran

Repository

23Stars
7Forks
0Open issues
0Open PRs
1Releases
30Commits
6Commit identities
30 commits · Last activity 2025-03-16 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-05-20 · 202026-07-28 · 23
PracticesBeta

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.

Governance and community (2)
Code of conduct (inherited from google)Contributing guide
Docs source (1)
pkgdown
CRAN release process (1)
CRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
27 external dependencies (excludes base and recommended)

Installing bsynth adds 78 packages (39 with compiled code, 75 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.4.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.0 (2024)
Author
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0Latest
    2024-06-25 · current release
  • R
    R 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")
Martinez, I., & Jaume. (2024). bsynth: Bayesian Synthetic Control (Version 1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bsynth version 1.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy