rbayesiancausality

Interpreting the confidence interval from CausalImpact


I am not sure how to interpret the confidence interval obtained when using the CausalImpact function in the CausalImpact R package.

I am confused because I think there is a contradiction - the model is returning a very low p-value (0.009) which indicates that there is a casual effect, and yet the "actual" line (the solid line) appears to be well within the 95% confidence band of the counterfactual. If there was a causal impact, wouldn't you expect the line to be outside the blue band?

These are my results:

graphs

and here are the model summary results (my apologies for the large text) summary

What's happening here?


Solution

  • The two results answer different questions.

    A side note: There seems to be a strong dip in the gap between pre- and post-period. You may want to be extra careful here and think about whether the effect in the post-period could have been caused by whatever happened in the gap rather than by the treatment.