I have a logistic mixed-effects model with multiple predictors:
y ~ (x1 + x2 + x3)*x4 + x5 + (x1 + x2 + x3 | id), family = "binomial"
I would like to know whether the interaction between, let's say, x1 and x4 (both continuous variables), is statistically significantly different from the interaction between x2 (also continuous) and x4. Is it possible to do so? What methods should I use?
Notes based on EdM's comment: x1 and x2 represent differences between two options based on a certain aspect of each option. To make this more concrete, let's say (as a toy example) that you are choosing between apples and oranges. y is whether you choose apples (0) or oranges (1). x1 could be the difference (oranges-apples) in calories between apples and oranges. x2 could be the difference in tastiness between oranges and apples. Your choice of what to eat will depend on both x1 and x2. However, the two may interact with x4 - let's say that x4 is time of the year. The later in the year, the stronger/weaker the effects of x1 and x2 may be. I want to know whether the interaction between x1 and x4 is different than that between x2 and x4. x1 and x2 are roughly on the scale, because they are both divided by their own standard deviation. However, the values are not exactly z-scored because the 0-value is meaningful, so I did not center them.
Thanks!
x1
andx2
are effectively on the same scale, but otherwise such comparison is tricky. It would help if you could edit the question to provide more details about the model, the variables involved, and what you hope to gain from comparing the interactions. Please provide such extra information by editing the question, as comments are easy to overlook and can be deleted. $\endgroup$