- Introduced by
- Brodersen, Gallusser, Koehler, Remy & Scott (foundational CausalImpact framework)
- Year
- 2015
- Type
- Bayesian causal inference with robustness validation
- Family
- Quasi-experimental / causal inference
What does it do?
Robust Causal Impact Analysis applies the Bayesian structural time-series (BSTS) CausalImpact framework (Brodersen et al., 2015) and adds placebo tests and sensitivity checks to its output.
The aim is to assess whether an estimated intervention effect persists when the intervention date, the control covariates and the prior settings are varied. The base model comes from the cited paper; the specific battery of checks is a practical extension rather than part of that paper.
The intuition behind the method
CausalImpact estimates what the treated series would have looked like without the intervention, and attributes the gap between observed and counterfactual values to the intervention. A single fit can still be driven by the choice of control covariates or by a coincidental shock in the post-period. The robust variant repeats the analysis under deliberate perturbations: it moves the intervention date into the pre-period (in-time placebo), applies the same model to untreated units (in-space placebo), and varies the prior settings and the set of control covariates. If the estimated effect keeps its sign and credibility across these runs, it is more believable; if it does not, the original estimate should be treated with caution.
History
CausalImpact was introduced by Brodersen, Gallusser, Koehler, Remy and Scott (2015). They framed the estimation of intervention effects as a Bayesian diffusion-regression state-space model that predicts the counterfactual response in a synthetic control, and implemented the approach in the CausalImpact R package. The placebo and covariate sensitivity checks that define the robust variant are a practical extension and are not part of that paper.
When to use it
Use Robust Causal Impact Analysis when a single unit (for example, one market, region or product) is observed as a time series, the intervention date is clear, and plausible control series exist that co-move with the treated unit before the intervention. It suits settings where a single CausalImpact fit would not be convincing to reviewers, because the placebo and sensitivity runs show whether the conclusion depends on specific modelling choices. The method needs an adequate pre-intervention period: short pre-periods give wide posteriors, and longer pre-periods are generally preferred. A universal minimum length is not established, so the analyst should justify the chosen pre-period. Avoid the method when the pre-period is very short, when the intervention window is ambiguous, or when no untreated comparison series exist. Without untreated series, the in-space placebo and covariate sensitivity checks cannot be run and the result is less convincing; in that case a standard interrupted time-series analysis or a simple difference-in-differences design is more transparent.
Limitations and considerations
- Requires a sufficiently long pre-intervention series for stable BSTS parameter estimates; short series give wide, uninformative posteriors.
- Each perturbation requires a full model refit, so the cost grows with the number of covariate sets, prior settings and placebo dates.
- The design targets a single treated unit with one intervention date; staggered adoption across several units needs different panel-based methods.
- The in-space rank test is coarse when the pool of untreated units is small, so it provides limited evidence unless enough untreated units are available.
- The checks cannot rule out unobserved shocks that hit both the treated unit and the chosen control series, since those shared shocks would survive every perturbation.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Places the estimated effect alongside placebo estimates built from the same data, so the reader can see whether the treated unit's result stands out from what untreated series or earlier dates produce.
- Keeps the posterior uncertainty of the base CausalImpact model, so the sensitivity runs can be read against credible intervals and posterior probabilities rather than only point estimates.
- In-space placebos give a rank-based comparison that does not depend on the parametric error assumptions of the BSTS model, which makes the evidence easier to explain to non-specialists.
- Covariate sensitivity runs show which conclusions depend on which control series, which is useful information during covariate selection before final reporting.
- Prior sensitivity runs show whether a narrow posterior is driven by the data or by the prior, which matters because the posterior depends on the prior settings.
Applications
- Evaluating the effect of a marketing campaign, product launch, or platform change on a key business metric using web traffic or sales time series.
- Assessing the impact of a public health intervention (e.g., a vaccination rollout or policy change) on disease incidence in a single region with control regions as covariates.
- Measuring the causal effect of a legislative or regulatory change on an economic or environmental outcome observed at quarterly or monthly frequency.
- Validating natural-experiment findings in economics or political science by stress-testing a CausalImpact result against placebo units and alternative control sets.
- Auditing algorithmic interventions in technology platforms where the treated unit is a single product or feature and historical log data provide the time series.
How it works
How it works
A Bayesian structural time-series model decomposes the treated unit's pre-intervention trajectory into a local trend component and a regression component driven by control covariates. The cited abstract describes the broader model as accommodating local trends, seasonality and time-varying covariate influence. Posterior distributions are estimated from the pre-intervention window, giving a probabilistic description of the series dynamics.
Formula
y_t = \mu_t + \mathbf{x}_t^\top \boldsymbol{\beta} + \varepsilon_t, \quad \mu_t = \mu_{t-1} + \delta_{t-1} + \eta_tThe fitted BSTS model is projected through the post-intervention period to produce a counterfactual forecast, that is, the expected outcome had no intervention occurred. The posterior also yields credible intervals around this counterfactual.
Formula
\hat{y}_t^{(0)} = E[y_t \mid \mathbf{x}_t, \text{pre-period data}]The pointwise causal effect at each post-intervention time step is the observed outcome minus the counterfactual. Summing these values gives a cumulative effect, and averaging gives a mean effect; each comes with a posterior probability that the effect is positive.
Formula
\hat{\tau}_t = y_t - \hat{y}_t^{(0)}In-time placebo: the intervention date is moved to a pre-treatment date and the model is refitted. An effect of comparable size at that placebo date would suggest that the post-period estimate may reflect ordinary fluctuation in the series. In-space placebo: the same model is applied to untreated units. For each placebo fit, the placebo unit becomes the response and is removed from the covariate set, and the treated unit is excluded from the donor pool because the intervention affects it. The rank p-value is the proportion of the N units, treated unit included, whose absolute effect is at least as large as the treated unit's. If the treated unit's effect is not large relative to the placebo effects, the evidence for a genuine effect is weak.
Prior sensitivity: the prior settings of the BSTS model are varied and the cumulative effect is re-estimated. Covariate sensitivity: control series are added, removed or replaced, and the fit is repeated. The result is judged robust only if the estimated cumulative effect keeps its sign, a similar magnitude, and a comparable level of posterior credibility across these perturbations. No universal threshold exists for this judgement, so the criteria should be fixed before the analysis.
Common pitfalls
- Labelling a single CausalImpact fit as robust without running any placebo or sensitivity checks. The robustness claim depends on the checks actually being performed and reported.
- Choosing or dropping control covariates after inspecting the results. This invalidates the placebo comparison and inflates the false-positive rate.
- Choosing placebo intervention dates that overlap with a real intervention or with a structural break in the pre-period, which produces a misleading placebo distribution.
- Reading a cumulative effect as significant when the pointwise credible intervals include zero for most individual periods. Cumulation can hide a weak or intermittent signal.
- Ignoring prior sensitivity when the posterior is very narrow. An overly tight prior can concentrate the posterior and make the result look more certain than the data support.
Frequently asked questions
How many placebo iterations are needed for a meaningful rank test?
In-space placebo tests are most informative when the pool of untreated units is large enough to give a usable rank. With N units including the treated unit, the smallest attainable rank p-value is 1/N; for example, a pool of 20 units gives a smallest possible value of 0.05. Fewer units make the test coarse. In-time placebo tests benefit from a long pre-period with several candidate placebo dates spread across distinct sub-windows.
What counts as a passing robustness check?
No universal threshold exists for a passing robustness check. The cumulative effect should keep the same sign and remain credible under the covariate and prior perturbations tried. For the in-space comparison, the relevant quantity is the rank p-value: the proportion of the N units, treated unit included, whose absolute effect is at least as large as the treated unit's. Compare this against a significance level fixed before the analysis and justified by the analyst. A top rank alone does not establish significance, particularly when the pool is small, and the cut-off should not be chosen after seeing the results.
Can Robust Causal Impact Analysis handle staggered interventions?
The standard framework targets a single clean intervention date. Staggered interventions across multiple units require panel-DiD extensions (e.g., Callaway-Sant'Anna or Synthetic DiD) rather than BSTS-based CausalImpact.
Is the 'robust' variant implemented in the standard CausalImpact R package?
The cited paper states that the CausalImpact R package implements the BSTS approach. The cited abstract does not describe placebo loops or covariate sensitivity grids, so these checks are generally scripted by the analyst around the package's base fit.
How does Robust Causal Impact Analysis differ from the Synthetic Control Method?
Both construct a counterfactual from donor units. The Synthetic Control Method forms a weighted combination of donor units without a time-series model. CausalImpact fits a BSTS model in which donor series enter as regression covariates, with parameters estimated from the pre-period. Robust CausalImpact adds placebo and sensitivity checks; these serve a purpose similar to the permutation-based inference common in the Synthetic Control literature, but they are built around the BSTS fit.
Related methods
Sources
Brodersen, K. H., Gallusser, F., Koehler, J., Remy, N., & Scott, S. L. (2015). Inferring causal impact using Bayesian structural time-series models. Annals of Applied Statistics, 9(1), 247-274.
Open DOI referenceCunningham, S. (2021). Causal Inference: The Mixtape. Yale University Press.
ISBN: 978-0300251685