Questions tagged [causalimpact]

CausalImpact R package for estimate the effect of an intervention on a time series.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
770 views

Using Google Causal Impact package to assess the significance of a planned intervention

I am using the Causal Impact package in R to infer the causal effect of an intervention in some data which are highly correlated and seasonal. Specifically, i got 17 days of hourly data, intervetion ...
3
votes
0answers
98 views

How to calculate causal effects with repeated exogenous shocks over a time series

A rather frequent problem in causal inference is that we come across various shocks over time and try to measure their impact. In the case of a single shock we can use bayesian methods to predict how ...
3
votes
0answers
391 views

Pro and cons between Bayesian structural time series (BSTS) vs difference-in-differences?

Google's paper markets BSTS's benefits over DID such that "In contrast to classical difference-in-differences schemes, state-space models make it possible to (i) infer the temporal evolution of ...
3
votes
0answers
469 views

Specifying seasonality component in Causal impact

How do I supply yearly(month/week of the year) + day of the week seasonality in causal impact? I have 1 year of data in the pre period at daily granularity i.e. 365 data points. would, nseasons =52 ...
2
votes
0answers
407 views

Remove price and promotion effects from sales time series

I'm trying to measure the effect of an in-store media campaign on the sales. I have sales data along the time for test (treated) stores and control (not treated) stores. Before comparing test and ...
1
vote
0answers
35 views

Logistic Regression Coefficient Intrepretation - Impact On Churn

I am using logistic to see the relationship between churn and minute seen. I get something like this ...
1
vote
0answers
90 views

Default CausalImpact Package

I am trying to gain an understanding of the CausalImpact package and the BSTS approach. Consider the following model: $y_t = \mu_t + z_t + \epsilon_t$, where $\epsilon_t \sim N(0,s^2)$, and $\mu_{t+...
1
vote
0answers
31 views

Assesing impact for rolling enrollment data

I'm running an experiment where some of the users are shown a new widget when they become eligible (some conditions that are unrelated to the experiment itself). I have a control counterfactual group ...
1
vote
1answer
87 views

Is it possible to predict the pre-intervention period rather than the post-period using Google's CausalImpact function?

I want to use to Google's causal impact function to impute the effect of an intervetion. However, my data is structured as: pre-period=1991-1995, intervetion occurs, post-period=1996-2017. To clarify, ...
1
vote
1answer
148 views

Explaining the results of the CausalImpact package where effect is not statistically significant

I've been using the CausalImpact package to compare patent renewal rates across different classes of patents (to determine whether subject matter decisions have particular impacts on the rise or fall ...
1
vote
0answers
230 views

Causal Impact: Continuous Pre-Intervention to Post-Intervention Time Periods?

Within the context of using R package CausalImpact (Brodersen et. al, 2015), is it valid to use time Periods that are noncontinuous for the Pre-Intervention and Post Intervention time periods? For ...
1
vote
0answers
300 views

Bayesian structural time series with few data points (using CausalImpact)

I am experimenting with the CausalImpact package https://google.github.io/CausalImpact/CausalImpact.html (Brodersen et al. 2015) which uses Bayesian structural time-...
1
vote
0answers
152 views

Chow Test and Structural Breaks

I am an economics student and we are tasked to make a mini thesis. I was thinking in getting smoking demand determinants and the effect of sin tax (excise tax on tobacco here in the Philippines and ...
1
vote
1answer
67 views

Comparing store sales based on time period

I am trying to refine the way my company validates tests in retail stores for products that we sell. The prior way was only to look at immediate change in dollar and unit sales without taking into ...
1
vote
0answers
100 views

Counterfactual analysis in the absence of an exogenous intervention

I am interested in exploring the causal effect of poverty on the adoption of a number of climate-resilient agriculture practices in sub-Saharan Africa. In exploring the causal effect of poverty (a ...
1
vote
0answers
80 views

Use of accelerated longitudinal designs with interrupted time series or difference and difference models

I am seeking some resources or specific equation specifications for whether or not it is possible to specify comparative interrupted time series models or difference and difference models with some ...
0
votes
0answers
25 views

Using CausalImpact to estimate uplift attributed to a promotion for logged-in users

I'm working for an online travel agency, and we've been exploring the use of the causalImpact algorithm for the following problem: Hotel owners that sell room-...
0
votes
0answers
23 views

R Causal Impact package implementation

I'm trying to apply the CausalImpact R package and have few questions I'd like to clarify before proceeding: Is the ...
0
votes
0answers
36 views

How to aggregate individual results with CausalImpact

In this answer, the author's suggestion is to: aggregate the individual MCMC traces and then summarise the result in terms of an expectation and a credible interval I understand that the MCMC ...
0
votes
1answer
42 views

These summary statements seem contradictory, or have I misunderstood something?

So here's the output summary I got when running an analysis. This means that, although it may look as though the intervention has exerted a negative effect on the response variable when ...
0
votes
0answers
32 views

Endogenous subgroups in impact estimation

I am using RCT data to estimate the impact of a program. After doing the straightforward analysis, I decided to estimate the program impact by subgroups (treatment status*subgroup). The subgroups were ...
0
votes
1answer
79 views

Using CausalImpact in R, observed data affected by event that could not affect priors

I am just starting out using the Causal Impact package in R. I am looking at observed data where I know there will be periods of extra traffic due to outside forces. However I cant find any unbiased ...
0
votes
0answers
97 views

Impact of propensity model

I have built a propensity model, which gives out probabilities of a customer paying given a collection intervention using a xgboost model. The model has an AOC-ROC of 81% with an accuracy of 77% ...
0
votes
1answer
135 views

How is the posterior tail-area probability calculated?

I am currently using the CausalImpact package for some research and in this context I need to know and be able to explain, how the posterior tail-area probability is calculated in order to reproduce ...
0
votes
1answer
79 views

Incorporating Fixed Effects with Causal Impact

I have observations on a dependent variable of interest, $Y_{ijt}$, where $t \in [1,2,...T]$ denotes the time, $i$ denotes a particular brand and $j$ a specific product item. At $t=k$, there was an ...
0
votes
1answer
75 views

Pre.intervention and post.intervention should be contiguous in CausalImpact?

I am running a CausalImpact analysis on a time series and my pre.period goes from 01.01.15 to 30.03.15. I want my post period to be from 15.04.15 to 17.04.15. Is it ok if I create a time series that ...
0
votes
0answers
196 views

Generalizing “Causal Impact” synthetic controls, to multiple outcomes

Does anybody know a way to generalize the use of the Causal Impact google R package to multiple outcome time series? Say I ran a time series experiment and was able to set up multiple test outcome ...
0
votes
1answer
108 views

How can you quantify the effect of a campaign in CausalImpact?

I have been working with the CausalImpact R-package to check whether new campaigns or features had a significant impact on a time-series. I would like to know if it is possible to quantify this ...
0
votes
1answer
177 views

BSTS employing purposedly spurious regressors for causal impact analysis

I'm employing Google Correlate time series to evaluate the causal impact of an intervention on a variable of interest y. I made sure that the Google series are highly correlated with y during the pre-...
0
votes
1answer
416 views

CausalImpact with Custom BSTS Model

I'm wanting to use a custom bsts model within the CausalImpact package, and I understand that I need to use a control group in my data; however, I don't really understand where that control group fits ...
0
votes
0answers
135 views

Can I use a list (or similar) of multiple date ranges for pre and post periods?

In the documentation (https://google.github.io/CausalImpact/CausalImpact.html) for CasualImpact there is an example of setting pre and post periods of the treatment: ...
0
votes
0answers
361 views

Causal Impact and using multiple control series with their regressors

Hi all I am analyzing several DMA's for campaign effectiveness using the CausalImpact package by Kay Brodersen. I have data for participants and non-participants INCLUDING their contemporaneous ...