1
$\begingroup$

I'm working on the topic of causal inference, I use time-series data. I have two scenarios in front of me and I don't understand the difference:

  • Given X and Y "time" features. I would like to know whether X, e.g. average income, does it cause Y, e.g. hotel reservations.
  • Given X "time" feature and an intervention. I'm curious to see how the intervention affects X. As an example, I publish a new web interface, while I look at the amount of purchases.

Are both causal inferences? What is the difference between them in practice? A good tool for the second is Google Causalimpact. Could you give me examples of the estimation methods in both cases?

Earlier, I used causal inference on cross-section data sets and that was obvious for me, because I could use DoWhy and a kind of matching and scoring-based estimation methods.

$\endgroup$
4
  • $\begingroup$ Let's assume, there are seasons that make you adventurous. They lead to you earning more money but also and independently make you travel and book hotels. In that case earnings and bookings will be correlated but not because one is the cause of the other. So causality is difficult to establish. It may as well be, that when people earn much money they spend it on bookings. Now, if you randomly intervene you cannot say the same in the second case. Neither X nor any third influence can have any influence on your random intervention so if there is causality it can go in only one direction. $\endgroup$
    – Bernhard
    Nov 18, 2023 at 8:58
  • $\begingroup$ Thanks @Bernhard So are we talking about causal inference only in the second case? In the first case, we can only talk about correlation. And maybe the correlation can be used to create a causal graph. $\endgroup$
    – anon
    Nov 18, 2023 at 9:17
  • $\begingroup$ Both questions are questions of causal inference. Causal inference with interventional data is generally easier than with purely observational data, but that does not change the nature of the question. $\endgroup$
    – Scriddie
    Nov 18, 2023 at 11:29
  • $\begingroup$ I concur with @Scriddie . Both are causal questions but in the second case it is far easier to establish causality in comparison. In the first case, no statistical means can establish causality. Instead you need to include far more knowledge and assumptions from your expert knowledge. $\endgroup$
    – Bernhard
    Nov 18, 2023 at 19:27

1 Answer 1

0
$\begingroup$

Both are identical problems. The purpose of intervention is the measure causal effect size between X and Y. For example if income is increased at some point in time, if the same unit (person or family) would consume more hotel reservation services. Such that, in do-calculus notation, $P(Y|do(X))$ provides a tool to impose intervention on X, i.e., increasing salary. This is so called Causal Discovery with Interventions

$\endgroup$
3
  • 1
    $\begingroup$ Thanks. I found some libraries. For the first one, I'm going to use Tigramite and for the second one, I'm going to use Causalimpact from Google. Could you verify my idea? $\endgroup$
    – anon
    Nov 19, 2023 at 4:47
  • $\begingroup$ Both libraries are sufficiently mature. CausalDiscoveryToolbox can also be used if you map time-series in a logically consistent manner to a Graph or a pair-wise discovery problem. $\endgroup$ Nov 19, 2023 at 5:41
  • $\begingroup$ Tigramite is a good choice. As always with causal discovery, be very careful to check whether the assumptions made by your method of choice fit the data-generating process in question. $\endgroup$
    – Scriddie
    Nov 19, 2023 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.