Skip to content

Bayesian Synthetic Control Models

0packages depend
721downloads / year
69.7%test coverage
13/13flavors OK

Overview

About

Implements the synthetic control method of Abadie, Diamond, and Hainmueller (2010) doi:10.1198/jasa.2009.ap08746 within a Bayesian framework, enabling straightforward uncertainty quantification of treatment effects and other quantities of interest. Supports time-varying covariates with potentially time-varying effects, single or multiple treated units, and staggered treatment adoption. Provides methods for model assessment, comparison, and selection based on placebo studies, cross-validation, and posterior predictive checks. Posterior sampling is performed using Markov chain Monte Carlo via Stan.

Changes in 1.0.1
  • Initial CRAN submission.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 14.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK8 OK2026-08-10
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 135 wordsVignettesNoNEWSYes · 67% structured · mentions 1.0.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
51includes a package overview page
Examples that run
94%29 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
61%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
10%

Downloads

721
CRAN downloads in the past year
Rank #17,752 · ~2/day · ~60/mo
Daily download trend is not available in this view yet.
27230 days
72190 days
7211 year
Compare downloads with other packages →
Also on43 r2u12 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-09-09 · Default branch at 1.0.2, ahead of CRAN 1.0.1 (checked 2026-10-18)
Responsiveness
not measured
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/helske/bscm on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing bscm adds 74 packages (42 with compiled code, 76 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.0.1 (2026)
Releases (1)
  • 1.0.1Latest
    2026-08-09 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-09
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Bundled data
3.4 MB / 3 files
Download size
3.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bscm")
Helske, J. (2026). bscm: Bayesian Synthetic Control Models (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.bscm

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 bscm version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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