Causal Impact is a time-series analysis methodology developed by Google that estimates the causal effect of an intervention—such as a marketing campaign, model update, or policy change—when a randomized control group is unavailable. It constructs a synthetic counterfactual baseline by modeling the relationship between the treated time series and a set of untreated predictor time series during a pre-intervention period, then forecasts what would have occurred absent the intervention.
Glossary
Causal Impact

What is Causal Impact?
A Bayesian structural time-series methodology for estimating the causal effect of an intervention by constructing a synthetic control baseline from untreated time-series data.
The framework uses Bayesian structural time-series models with spike-and-slab priors for variable selection, automatically identifying the most relevant control series. It quantifies the pointwise causal effect as the difference between observed data and the counterfactual prediction, providing posterior probability distributions over the cumulative impact rather than single point estimates. This makes it particularly valuable for observational causal inference in dynamic retail environments where A/B tests are infeasible.
Key Characteristics of Causal Impact
Causal Impact is a Bayesian structural time-series model developed by Google that constructs a synthetic counterfactual to estimate the causal effect of an intervention when a randomized control group is unavailable.
Synthetic Counterfactual Construction
The core mechanism involves building a synthetic control—a weighted combination of predictor time series that were not affected by the intervention. The model uses a Bayesian structural time-series framework to capture trend, seasonality, and covariate relationships during the pre-intervention period. This synthetic baseline represents what would have happened absent the intervention, enabling pointwise causal effect estimation as the difference between observed and predicted values.
Bayesian Posterior Inference
Unlike frequentist approaches that yield point estimates, Causal Impact generates full posterior distributions over the counterfactual. This provides credible intervals for the causal effect at every time point. Key outputs include:
- Pointwise effect: The difference between actual and predicted at each time t
- Cumulative effect: The summed impact over the entire post-intervention window
- Posterior tail-area probability: A Bayesian analog to the p-value, indicating the likelihood of observing the effect by chance
Assumption of Unaffected Predictors
The validity of the synthetic control hinges on a critical assumption: the predictor time series must not be causally affected by the intervention itself. If the intervention influences both the target metric and the covariates used to build the counterfactual, the model will absorb the treatment effect into the baseline, yielding biased estimates. Common valid predictors include:
- Macroeconomic indicators
- Untreated geographic regions
- Competitor performance metrics
- Seasonally correlated but causally independent series
State-Space Model Components
The underlying model decomposes the time series into interpretable structural components:
- Local linear trend: Captures evolving level and slope over time
- Seasonality: Handles weekly, monthly, or custom periodic patterns using Fourier terms
- Regression component: Incorporates covariate time series with static or time-varying coefficients via spike-and-slab priors for automatic variable selection This decomposition allows practitioners to diagnose whether an apparent effect is genuinely causal or an artifact of unmodeled seasonality.
Application to Model Updates Without Holdouts
In production ML systems, Causal Impact is particularly valuable when a global model update is deployed to all users simultaneously, making a randomized holdout group infeasible. By using untreated business metrics or external market data as predictors, teams can estimate the incremental impact of a new recommendation algorithm or pricing model on revenue, conversion, or engagement without maintaining a long-term control group.
Limitations and Diagnostics
Practitioners must validate model adequacy through posterior predictive checks:
- One-step-ahead prediction errors: Should exhibit no autocorrelation in the pre-period
- Cumulative absolute error: Should remain stable before the intervention; a pre-trend indicates poor fit
- Sensitivity to predictor set: Results can shift with covariate selection; robustness checks with alternative predictor combinations are essential The method also assumes the relationship between predictors and the target remains stationary across the pre- and post-intervention periods.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about Google's Causal Impact framework for estimating the effect of an intervention using Bayesian structural time-series models.
Causal Impact is a Bayesian structural time-series methodology developed by Google that constructs a synthetic counterfactual baseline to estimate the causal effect of an intervention when a randomized control group is unavailable. The algorithm uses a set of control time series that were not affected by the intervention to predict what would have happened to the response metric in the absence of the treatment. It works by fitting a state-space model where the response variable is modeled as a function of the control series plus latent trend and seasonal components. After the intervention point, the model generates a posterior predictive distribution over the counterfactual, and the causal effect is computed as the pointwise difference between the observed data and this synthetic baseline. The framework returns not just a point estimate but a full posterior distribution over the cumulative effect, enabling practitioners to make probabilistic statements like 'the intervention had a 99.8% probability of causing a positive lift.'
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Master the statistical and methodological concepts essential for rigorous causal inference in A/B testing and time-series analysis.
Bayesian Structural Time Series
The underlying state-space model used by Causal Impact to flexibly decompose a time series into components of interest. It models the observed data as a combination of trend, seasonality, and regression components with spike-and-slab priors for variable selection.
- Handles missing data natively through Kalman filtering
- Spike-and-slab priors automatically select relevant control series
- Provides full posterior distributions over the causal effect, not just point estimates
Counterfactual Forecasting
The process of predicting what would have occurred in the absence of an intervention. In Causal Impact, this is achieved by training a model on pre-intervention data where the outcome and control series are observed together, then forecasting the outcome into the post-intervention period using only the controls.
- The causal effect is the difference between actual and counterfactual
- Assumes the relationship between outcome and controls remains stable
- Critically relies on controls not being affected by the intervention themselves
Difference-in-Differences
A classical causal inference technique that compares the change in outcome over time for a treated group against the change for an untreated control group. While simpler than Causal Impact, it relies on the strong parallel trends assumption—that the two groups would have followed similar trajectories absent treatment.
- Estimates the Average Treatment Effect on the Treated (ATT)
- Requires at least one pre-intervention and one post-intervention observation
- Less flexible than synthetic controls when multiple untreated units are available
Interrupted Time Series
A quasi-experimental design that analyzes a single time series before and after an intervention to detect a change in level (immediate shift) or slope (trend change). Unlike Causal Impact, it does not use a control group, making it vulnerable to confounding from co-occurring events.
- Models the outcome as a function of time and the intervention indicator
- Autocorrelation must be accounted for using ARIMA or Newey-West standard errors
- Weaker than methods incorporating control series for causal attribution
Propensity Score Matching
A technique for creating a synthetic control group in observational studies by matching treated units to untreated units with similar propensity scores—the estimated probability of receiving treatment given observed covariates. Used to reduce selection bias when randomization is impossible.
- Balances observed confounders between treatment and control groups
- Does not account for unobserved confounders
- Often paired with Difference-in-Differences for stronger causal claims

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us