CausalImpact: Inferring Causal Effects using Bayesian Structural Time-Series Models

Implements a Bayesian approach to causal impact estimation in time series, as described in Brodersen et al. (2015) <doi:10.1214/14-AOAS788>. See the package documentation on GitHub <> to get started.

Version: 1.3.0
Depends: bsts (≥ 0.9.0)
Imports: assertthat (≥ 0.2.0), Boom, ggplot2, zoo
Suggests: covr, knitr, rmarkdown, testthat
Published: 2022-11-09
DOI: 10.32614/CRAN.package.CausalImpact
Author: Kay H. Brodersen, Alain Hauser
Maintainer: Alain Hauser <alhauser at>
License: Apache License 2.0 | file LICENSE
Copyright: Copyright (C) 2014-2022 Google, Inc.
NeedsCompilation: no
Citation: CausalImpact citation info
Materials: README
In views: Bayesian, CausalInference
CRAN checks: CausalImpact results


Reference manual: CausalImpact.pdf
Vignettes: CausalImpact


Package source: CausalImpact_1.3.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): CausalImpact_1.3.0.tgz, r-oldrel (arm64): CausalImpact_1.3.0.tgz, r-release (x86_64): CausalImpact_1.3.0.tgz, r-oldrel (x86_64): CausalImpact_1.3.0.tgz
Old sources: CausalImpact archive

Reverse dependencies:

Reverse imports: MarketMatching, SPORTSCausal


Please use the canonical form to link to this page.