Causal Impact Analysis is an approach for estimating the causal effect of a designed intervention on a time series by using a Bayesian structural time-series model to predict the counterfactual—what would have happened without the intervention. It synthesizes a synthetic control from predictor time series that were not affected by the event, then quantifies the divergence between the actual post-intervention data and the model's prediction.
Glossary
Causal Impact Analysis

What is Causal Impact Analysis?
A statistical method for estimating the causal effect of an intervention on a time series by constructing a counterfactual forecast.
Unlike static difference-in-differences, this method captures temporal dynamics like seasonality and trend evolution. The output is a pointwise causal effect estimate with full posterior probability intervals, allowing risk managers to determine not just the magnitude of a disruption's impact but its statistical significance over time.
Key Characteristics of Causal Impact Analysis
Causal Impact Analysis estimates the causal effect of an intervention on a time series by constructing a synthetic counterfactual—a prediction of what would have happened without the intervention—using a Bayesian structural time-series model.
Bayesian Structural Time-Series Foundation
The model decomposes the observed time series into interpretable components: trend (long-term direction), seasonality (cyclical patterns), and regression effects from control time series. Unlike classical difference-in-differences, this Bayesian framework quantifies uncertainty around the counterfactual prediction, producing posterior distributions for the causal effect at every point in time rather than a single point estimate.
Synthetic Counterfactual Construction
The core mechanism builds a synthetic control by training on pre-intervention data from the treated series and a set of unaffected predictor time series. During the post-intervention period, the model forecasts what the treated series would have been absent the intervention. The causal effect is the difference between the observed series and this counterfactual prediction, computed as pointwise impact (per time unit) and cumulative impact over the entire post-period.
Spike-and-Slab Variable Selection
To prevent overfitting from irrelevant control series, the model employs a spike-and-slab prior on regression coefficients. This Bayesian variable selection technique assigns a high prior probability that a coefficient is exactly zero (the 'spike'), with a diffuse prior for non-zero values (the 'slab'). The result is automatic shrinkage and selection of only the most predictive control series, yielding a parsimonious counterfactual model.
Full Posterior Inference Over Effects
Unlike frequentist approaches that return a single p-value, Causal Impact provides the full posterior distribution of the causal effect. This enables statements such as: 'There is a 97.3% posterior probability that the intervention caused a cumulative increase of at least X units.' Key outputs include:
- Posterior probability of causal effect
- Credible intervals for pointwise and cumulative impact
- Tail-area probability for hypothesis testing
Assumption of Unaffected Controls
The validity of the counterfactual hinges on the assumption that the control time series are not themselves affected by the intervention. If the intervention spills over into the predictors, the model will attribute part of the true effect to the controls, biasing the estimate downward. This requires careful domain knowledge to select covariates that are correlated with the outcome pre-intervention but causally isolated from the treatment.
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.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about using Bayesian structural time-series models to estimate the causal effect of supply chain interventions and disruptions.
Causal Impact Analysis is a statistical methodology for estimating the causal effect of a designed intervention on a time series by constructing a counterfactual forecast—a prediction of what would have happened without the intervention—and comparing it to the observed data. The approach, popularized by Google's CausalImpact R package, uses a Bayesian structural time-series model that combines a state-space framework for the outcome variable with a regression component that incorporates one or more control time series unaffected by the intervention. The model is trained on pre-intervention data to learn the relationship between the outcome and control series, then projects this relationship into the post-intervention period to generate a counterfactual prediction with full posterior distributions. The causal effect is computed as the pointwise difference between the observed series and the counterfactual, with credible intervals quantifying uncertainty. This method is particularly valuable in supply chain contexts where A/B testing is infeasible—for example, estimating the impact of a port closure on delivery lead times or a new routing policy on fuel costs—because it provides rigorous inference from a single observational time series.
Related Terms
Master the core statistical and graphical methods that underpin causal impact analysis for robust disruption root-causing.
Counterfactual Reasoning
The logical process of estimating what would have happened to a key performance indicator if a specific disruption had not occurred. It compares the factual observed data against a predicted synthetic control scenario. This is the foundational philosophy behind the Bayesian structural time-series model used in Causal Impact.
Structural Causal Model (SCM)
A formal framework defining causal relationships using structural equations and directed acyclic graphs (DAGs) . Unlike pure time-series forecasting, SCMs explicitly model the data-generating mechanism, allowing analysts to simulate interventions and distinguish true causation from mere temporal precedence.
Bayesian Structural Time Series
The statistical engine behind Causal Impact analysis. It constructs a state-space model using untreated control time series to predict the counterfactual. Key components include:
- Kalman filters for dynamic regression
- Spike-and-slab priors for automatic variable selection
- Full posterior distribution of the causal effect
Difference-in-Differences (DiD)
A quasi-experimental design that estimates a treatment effect by comparing the change in outcomes over time between a treated unit and a control group. While Causal Impact generalizes DiD, the classic 2x2 DiD relies on the parallel trends assumption, which requires that the outcome path would have been identical in the absence of the intervention.
Synthetic Control Method
An extension of DiD that constructs a weighted combination of untreated units to create a more accurate counterfactual than a simple average. It is particularly powerful when a single treated unit is compared to a donor pool, minimizing the bias introduced by subjective control group selection in disruption analysis.
Granger Causality
A statistical hypothesis test determining if one time series is useful in forecasting another. It is critical to note that Granger causality tests for predictive utility, not true structural causation. Causal Impact analysis often uses this as a preliminary check, but relies on structural counterfactuals to prove intervention impact.

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