CausalImpact
CausalImpact is an open-source method from Google that estimates the effect of an event on a time series by predicting what the series would have done without the event.
Last reviewed
It fits a Bayesian structural time-series model to the period before the event, using related series that weren't affected (other regions, for instance) as predictors. It then forecasts the affected series forward. The gap between the forecast and what happened is the estimated effect, with a range around it.
People use it to read geo tests and one-off changes such as a campaign launch. It's only as good as its predictor series, which must not have been touched by the event themselves.
- Also called
- Bayesian structural time series
- Topic
- Experiments and statistics
Related terms
- Synthetic control
- A synthetic control is a weighted blend of untreated regions, built so that its history tracks the test region closely. It serves as the comparison when no single region is a good match.
- Geo experiment
- A geo experiment changes advertising in some regions and not others, then compares sales between them to measure what the advertising caused.
- Counterfactual
- The counterfactual is what would have happened if you hadn't run the marketing. The effect of a campaign is the gap between what did happen and that unseen alternative.
- Credible interval
- A credible interval is the Bayesian range for an estimate: given the model and the data, there's a stated probability (often 90% or 95%) that the true value lies inside it.
- Time series
- A time series is a set of measurements taken at regular intervals over time, such as weekly sales or daily spend.
Want a second opinion?
Tell us what you're trying to decide and what data you have, and we'll tell you what we'd do. Or take the short readiness quiz first. It's a rough screen, not a verdict. Both open on the home page.