Proc GLM contrast statement for interaction between continuous and categorical variable

  • Follow


Hello,

I have one continuous variable (X), a categorical variable (Z; a
treatment variable with three levels), and a continuous outcome
variable (Z). X is an individual difference variable, consideration of
future consequences (CFC).

I have already figured out how to compare the different treatment
variables for different values of CFC. For example, for comparing
treatment 1 and 2 among low-CFC individuals (Mean at -1 SD = 4.2261),
I would write the following

proc glm;
class cond;
model y = cond cfc cond*cfc;
ESTIMATE 'cond 1 vs 2 at low cfc' cond -1 1 0 cond*cfc -4.2261 4.2261
0;
run;

However, I can't figure out how to test whether high- and low-CFC
individuals differ in Y, for each level of Z.

Any suggestions?
0
Reply Denise 9/5/2010 9:01:13 PM


0 Replies
1125 Views

(page loaded in 0.022 seconds)

Similiar Articles:








7/25/2012 8:34:38 AM


Reply: