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.2.7
Depends: bsts (≥ 0.9.0)
Imports: assertthat (≥ 0.2.0), Boom, dplyr, ggplot2, zoo
Suggests: knitr, rmarkdown, testthat
Published: 2021-06-07
Author: Kay H. Brodersen, Alain Hauser
Maintainer: Alain Hauser <alhauser at>
License: Apache License 2.0 | file LICENSE
Copyright: Copyright (C) 2014-2021 Google, Inc.
NeedsCompilation: no
Citation: CausalImpact citation info
Materials: README
In views: Bayesian
CRAN checks: CausalImpact results


Reference manual: CausalImpact.pdf
Vignettes: CausalImpact


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

Reverse dependencies:

Reverse imports: MarketMatching, SPORTSCausal


Please use the canonical form to link to this page.