google/CausalImpact
An R package for causal inference in time series observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 75
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4408
- days_rel: n/a
- days_push: 155
- n_releases_24m: 0
Adoption not part of the score
1854 stars · 264 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CausalImpact is an R package for estimating the causal effect of a designed intervention on a time series using Bayesian structural time-series models. It estimates how a response metric would have evolved without the intervention, useful when randomized experiments are not available.
Use cases
- measure the impact of an ad campaign on daily clicks
- estimate causal effect of a policy change on a time series
- run counterfactual analysis when no A/B test is possible
- analyze how a product launch affected website traffic
- estimate intervention effects using control time series
- quantify incremental impact of a marketing intervention
When to choose
- you need to estimate causal effects on time series without a randomized experiment
- you have unaffected control time series to model the counterfactual
- you work in R and want a well-established, maintained package
When to avoid
- you cannot identify control series unaffected by the intervention
- the relationship between treated and control series is unstable over the post-period
- you need a Python-native implementation (use TFP CausalImpact instead)
Facets
library · maturity stable
machine-learning data-science analytics data-science analytics time-series python causal-inference bayesian-structural-time-series time-series counterfactual-analysis intervention-analysis r-package statistics r
1 source
- readme: https://github.com/google/CausalImpact · fetched 2026-08-28 · 72a797f60f6c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/CausalImpact | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="google/CausalImpact")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem