Multi-period Causal Impact Analysis

Statistics
Introduced by
Brodersen, Gallusser, Koehler, Remy & Scott (Google); extended to multi-period settings by subsequent applied work
Year
2015 (base); multi-period extensions 2017–present
Type
Bayesian structural time-series / quasi-experimental
Family
Quasi-experimental / causal inference

What does it do?

Multi-period Causal Impact Analysis applies the Bayesian structural time-series framework of Brodersen et al. (2015) to settings where an intervention occurs in several distinct periods, is rolled out to different units at staggered times, or must be evaluated for both cumulative and period-specific effects.

It builds a counterfactual from control series and projects it across each intervention window to estimate causal effects. The multi-period use is an applied adaptation of the original single-window design, and the exact model specification varies between applications, so it should be stated explicitly in any report.

The intuition behind the method

Standard CausalImpact compares a single post-intervention window with the pre-intervention baseline. When an intervention has several phases, recurs, or reaches different units at different dates, a single window can average together effects that differ across phases or cohorts. The multi-period approach divides the timeline into intervention windows, fits a Bayesian state-space model to the pre-intervention outcome and control covariates, and predicts the counterfactual trajectory for each window. The effect in each period is the observed outcome minus this counterfactual, and the cumulative effect of a window is the sum of its pointwise effects. Period-specific estimates can then be compared to see whether the effect strengthens, weakens or changes sign over successive rounds. Any total across windows is a separate quantity that must be defined explicitly. Whether the windows share one fitted model or are fitted separately is a design choice that should be stated and justified.

History

Brodersen, Gallusser, Koehler, Remy and Scott (2015) introduced the Bayesian structural time-series approach to causal impact in the Annals of Applied Statistics; their abstract describes a state-space model of the counterfactual, fitted by MCMC, as an alternative to classical difference-in-differences designs. The multi-period extension has no single canonical source and is best treated as an applied adaptation of the original framework. Bojinov and Shephard (2019) address causal estimands and randomization-based tests for single time-series experiments, a related theme, but their work does not concern BSTS models or CausalImpact.

When to use it

Choose multi-period Causal Impact when the intervention occurs at several points in time, is rolled out to different units at staggered dates, or has distinct phases such as launch and later follow-up, and when the outcome is a continuous time series. You need a clean pre-intervention baseline and at least one control covariate series that the treatment did not affect. A pre-period that is not much shorter than the longest post-intervention window is preferable; check the pre-period fit on your own data. The method rests on the assumption that, without the intervention, the relationship between the outcome and the controls would have continued as estimated in the pre-period, and that there is no spillover between windows or units. It is most useful when the controls track the outcome closely before the intervention and the question concerns changes in effect size across periods. Do not use it without a clean pre-intervention baseline, when every available control series is itself affected by the treatment, when the pre-period is too short for the model to estimate trend and seasonality, or when the outcome has no temporal structure.

Limitations and considerations

  • Requires a long and stable pre-intervention series; with a short baseline the trend and any seasonal components are poorly identified and the credible intervals widen.
  • The counterfactual is only as good as its control covariates, which must correlate with the outcome before the intervention and must not be affected by it. Without such controls the model reduces to extrapolation of the outcome's own trend.
  • Relies on the untestable assumption that the pre-period relationship between outcome and controls would have continued unchanged in the post-period without the intervention.
  • Computationally heavier than single-window CausalImpact when the state-space model is estimated separately for each window or cohort.
  • Assumes no interference between units (SUTVA). If treatment in one period or cohort spills over to others, the counterfactual is contaminated.
  • In staggered designs, overlapping windows or short cohort pre-periods leave period effects confounded, and the method gives no standard rule for weighting cohort effects when pooled.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Handles staggered or repeated interventions within one Bayesian framework, giving both window-specific and cumulative effect estimates from the same counterfactual machinery.
  • Constructs the counterfactual from control covariates through spike-and-slab regression, so the comparison series are selected from the data rather than specified by hand.
  • Posterior inference yields credible intervals that carry the uncertainty of the state-space model into the effect estimates, rather than a single point estimate.
  • The local trend and seasonal components let the counterfactual follow drift and recurring patterns that a simple interrupted time-series regression would not capture.
  • Period-specific effect estimates let researchers check whether the effect grows, decays or reverses across successive intervention windows.

Applications

  • Evaluating the cumulative and phase-specific impact of a digital marketing campaign run in multiple waves or geographies.
  • Assessing successive rounds of a public health intervention (e.g., lockdown phases) on an epidemiological outcome such as hospitalisation rates.
  • Measuring staggered policy rollout effects when different regions or cohorts receive a programme at different times.
  • Estimating the effect of repeated product feature launches on user engagement metrics in platform A/B-test follow-ups.
  • Comparing the strength of intervention effects across distinct fiscal quarters or academic terms in economics and education research.
  • Auditing whether an environmental regulation had different effects during its initial enforcement period versus a later intensification phase.

How it works

How it works

1

A Bayesian structural time-series (BSTS) model is fitted to the outcome over the pre-intervention periods. In the standard CausalImpact implementation it includes a local linear trend, optional seasonal components, and a spike-and-slab regression on contemporaneous control series that the intervention did not affect. The result is a probabilistic forecast of what the outcome would have been without the intervention. The central identifying assumption is that, absent the intervention, the relationship between the outcome and the control series estimated in the pre-period would have continued unchanged.

Formula
y_t = \mu_t + \beta^\top x_t + \varepsilon_t,\quad \varepsilon_t \sim \mathcal{N}(0,\sigma^2)
2

The local linear trend splits the latent state into a level mu_t and a slope delta_t, each evolving through small Gaussian innovations. This lets the counterfactual follow drifts and changes in momentum that a fixed linear projection would miss, which matters more over longer multi-period horizons.

Formula
\mu_t = \mu_{t-1} + \delta_{t-1} + \eta_t,\quad \delta_t = \delta_{t-1} + \zeta_t
3

For each window, the pointwise effect alpha_t is the observed outcome y_t minus the posterior predictive counterfactual. The cumulative effect of a window is the sum of these pointwise effects over that window. Posterior uncertainty from the BSTS model carries through to credible intervals, which indicate whether the effect is credibly different from zero.

Formula
\alpha_t = y_t - \hat{y}_t^{\text{cf}},\quad \hat{\tau} = \sum_{t \in \mathcal{T}} \alpha_t
4

No single aggregation scheme is standard. Each intervention window w can be analysed with its own counterfactual, giving a window-specific cumulative effect tau_w, the sum of alpha_t over t in window w, with its own posterior credible interval; these are reported side by side. For staggered units, each cohort's pre-period serves as its baseline. Controls must remain untreated throughout the window being analysed; already-treated cohorts must not serve as controls, and the control set should be declared for each cohort. The rule for combining cohort effects, including any weights, is not fixed by the method and must be stated explicitly.

Formula
\hat{\tau}_w = \sum_{t \in \mathcal{T}_w} \alpha_t,\quad \alpha_t = y_t - \hat{y}_t^{\text{cf}}
5

Posterior inference is carried out by MCMC, the approach described in Brodersen et al. (2015). The posterior predictive counterfactual in each period is summarised by its median and a 95% credible interval, and the same draws give the posterior distribution of each window's cumulative effect. The reported tail-area probability is a Bayesian tail-area measure of the sign of the effect, analogous to a one-sided p-value. It should be read as evidence about the direction of the effect, not as a posterior probability that the result arose by chance.

Formula
\hat{\tau}_w^{(s)} = \sum_{t \in \mathcal{T}_w}\big(y_t - \tilde{y}_t^{(s)}\big),\quad s=1,\dots,S;\ \text{report the median and 2.5\%–97.5\% quantiles of } \{\hat{\tau}_w^{(s)}\}

Common pitfalls

  • Using control covariates that the intervention itself affected. This biases the counterfactual upward or downward, depending on the direction of spillover.
  • Setting a pre-intervention window that is short relative to the post-intervention window, so the BSTS model extrapolates far beyond its training range and produces unreliable intervals.
  • Treating period-specific estimates as independent when the windows share model structure or parameters. Apparent differences between phases can then be artefacts of the fitting choices.
  • Reading the tail-area probability as the probability that the effect is due to chance, or reading a wide credible interval as evidence of no effect. A wide interval mainly indicates insufficient data.
  • Skipping a pre-period check that the control covariates move with the outcome. A divergent pre-period trend signals poor covariate choice before the intervention begins.

Frequently asked questions

How does multi-period CausalImpact differ from running standard CausalImpact separately for each period?

Running separate models for each window estimates each window's parameters independently, so differences between windows may partly reflect differences in fitting rather than in the intervention. A joint specification shares the counterfactual model across windows, which changes what period-to-period differences mean. The choice should be stated and justified for the data.

What constitutes a valid control covariate in this framework?

A control covariate must correlate with the outcome in the pre-intervention period and must not itself be affected by the intervention. Concurrent metrics from untreated markets, regions or product lines are typical examples. In staggered designs, units already treated must not be used as controls. If every plausible covariate is contaminated, the counterfactual reduces to a local-trend extrapolation, which is a much weaker basis for causal claims.

How long should the pre-intervention baseline be?

The pre-period should be long enough for the model to estimate trend and seasonality reliably, and preferably not much shorter than the post-period it must extrapolate across. Short baselines make the trend and seasonal parameters hard to identify, which widens the credible intervals. No universal threshold exists, so the fit of the model in the pre-period should be checked on your own data.

Can I apply this method when units receive the intervention at different calendar times?

Yes. In staggered rollout designs, each cohort's own pre-intervention observations define its baseline, and effects are estimated per cohort and then combined. Controls must be untreated throughout the analysed window. The combination rule, such as any weights, must be stated explicitly, because the method does not specify one.

What if my outcome series is seasonal?

Seasonality can be included in the BSTS state-space model as a trigonometric or dummy-variable seasonal component. Modelling it explicitly prevents seasonal movements from being absorbed into the treatment effect, which would happen if the intervention coincided with a predictable seasonal upturn or downturn.

Related methods

Sources

  1. 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 reference
  2. Bojinov, I., & Shephard, N. (2019). Time series experiments and causal estimands: exact randomization tests and trading. Journal of the American Statistical Association, 114(528), 1665-1682.

    Open DOI reference