I have one continuous variable (X), a categorical variable (Z; treatment condition with three levels), and a continuous outcome variable (Z). X is an individual difference variable.
I have already figured out how to compare the different treatment conditions for different values of X. For example, for comparing treatment 1 and 2 among individuals scoring low on X (Mean of X at -1 SD = 4.2261), I would write the following:
proc glm;
class Z;
model y = Z X Z*X;
ESTIMATE 'Z 1 vs 2 at low X' Z -1 1 0 Z*X -4.2261 4.2261 0;
run;
However, I can't figure out how to test whether individuals that score high versus low on X differ in Y, for each level of Z. (e.g., comparing Y scores for low and high X in treatment condition 1; comparing Y scores for low and high X in treatment condition 2 etc).
Any suggestions?