Package: bscm
Title: Bayesian Synthetic Control Models
Version: 1.0.1
Authors@R: 
    person("Jouni", "Helske", email = "jouni.helske@iki.fi", 
    role = c("aut", "cre"),
    comment = c(ORCID = "0000-0001-7130-793X"))
Description: 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.
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.3.3
Biarch: true
Depends: R (>= 4.1.0)
Imports: checkmate, cli, dplyr, ggplot2, loo, methods, posterior,
        progressr, projpred, quadprog, Rcpp (>= 0.12.0), RcppParallel
        (>= 5.0.1), rlang, rstan (>= 2.32.7), rstantools (>= 2.6.0),
        tidyr
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        RcppParallel (>= 5.0.1), rstan (>= 2.32.7), StanHeaders (>=
        2.32.10)
SystemRequirements: GNU make
LazyData: true
LazyDataCompression: xz
URL: https://github.com/helske/bscm
BugReports: https://github.com/helske/bscm/issues
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2026-07-31 12:11:26 UTC; jvhels
Author: Jouni Helske [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-7130-793X>)
Maintainer: Jouni Helske <jouni.helske@iki.fi>
Repository: CRAN
Date/Publication: 2026-08-09 06:40:02 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-08-09 23:51:40 UTC; windows
Archs: x64
