Imagine a set of variables, X1, X2, and Y, all continuous variables. There is a simple case where X1 and X2 affect Y such that:
Y = alpha + β1 X1 + β2 X2 + error
Using R syntax, a model to analyze such data would be:
lm(Y ~ X1 + X2)
Consider a further case where the causal process is such that the effect of X1 on Y changes when X2 changes, but the reverse is not true (the effect of X2 on Y does not depend on X1).
Y = alpha + β1 X1 + β2 X2 + β3 X1 x X2 + error
I would think of a model like this (R notation) to analyze these data:
lm(Y ~ X1 + X2 + X1:X2)
Assume that β1, β2, β3 are all positive.
Is there a way to disentangle whether β1 increases with increasing X2 or whether β2 increases with increasing X1? In other words, how can we tell whether it is the effect of X1 that increases with X2 or the effect of X2 that increases with X1?
This part has been added after reading @PaulG 's answer.
Thank you so much for your response! Very interesting and practical.
What I meant to ask was based on a logic in which one predictor (X1 or X2) is assumed to be a moderator and the other to be a focal variable. As a result, if:
Y = β0 + β1 X1 + β2 X2 + β3 X1 x X2 (eq.1),
this equation can be restated in two ways.
First, assuming that X1 is the focal predictor and X2 is the moderator term, we can regroup terms by factoring out X1:
Y = (β0 + β2 X2) + (β1 + β3 X2) x X1 (eq.2),
where (β0 + β2 X2) represents the intercept and (β1 + β3 X2) describes the relationship between X1 and Y if X2 is held constant. This relationship changes as the value of X2 changes. The above part is explained in a similar way in a youtube video about the interpretation of the interaction of continuous variables in regressions. I am afraid this is imprecise mathematically, but conceptually I see it as a changing (according to X2) effect of X1 on Y. Am I mistaken?
If we assume that X2 is the focal predictor and X1 is the moderator, we can regroup eq.1 as follows:
Y = (β0 + β1 X1) + (β2 + β3 X1) x X2 (eq.3),
where (β0 + β1 X1) represents the intercept and (β2 + β3 X1) represents the effect of X2 on Y if X1 is held constant.
I can envision scenarios in which X1's effect on Y is dependent on X2, but X2's effect on Y is independent of X1. In this case, I would try to model the data using eq.1, which I know can be "restated" as eq.2 (which is appropriate for such a situation!). However, eq.1 can also be "restated" as eq. 3, which does NOT fit the generating process. Any solution to this?