Thank you very much for your response. I was able to implement 3 and 4 with the syntax you suggested. For the two others, 1 and 2, what I meant is to obtain an estimate value for the main effect of SPL, both overall, and separate for the two levels of IV. To obtain the main effect separately for the two levels of IV, starting from your suggestion, since the continuous variable PROGRESS range is -1.56 to 1.56, I did the following: estimate 'difference between -1.56 and 1.56 for IV=-1' spl[1, 1.56][-1, -1.56] IV*spl[1, 1 1.56][-1, 1 -1.56]; estimate 'differnece between -1.56 and 1.56 for IV=1' spl[1, 1.56][-1, -1.56] IV*spl[1, 2 1.56][-1, 2 -1.56]; Unsurprisingly, given the plot, they are both significant and similar in terms of strength of the effect. To obtain the main effect irrespective of the two levels of IV, I tried the following: estimate 'xxx' spl[2, 1.56][-2, -1.56] IV*spl[1, 1 1.56][-1, 1 -1.56] [1, 2 1.56][-1, 2 -1.56]; The result makes sense, given the slope, but I am not sure it is the correct estimate.
... View more