I am using proc GLM with dummy variables coding for different groups and a continuous variable. Then, I can get coeffcients and CI for all variables and interactions. I then compute group-specific intercept and slopes for the 0-group as follows: intercept + ca t0 cont + cont*cat 0 How then can I get the corresponding CI? Example: data tmp;
input cont cat outcome;
datalines;
1.1 0 0.8
1.5 0 0.6
2.1 0 0.6
5.1 0 0.2
2.1 1 0.9
1.1 1 0.7
1.4 1 0.8
4.7 1 0.3
;
run;
proc glm data=tmp;
class cat;
model outcome = cont | cat / solution clparm;
run; Parameter Estimate Standard Error t Value Pr > |t| 95% Confidence Limits Intercept 0.989189 0.128196 7.72 0.0015 0.633259 1.34512 cont -0.13514 0.04707 -2.87 0.0454 -0.26582 -0.00445 cat 0 -0.10905 0.178144 -0.61 0.5735 -0.60366 0.385561 cat 1 0 . . . . . cont*cat 0 0.000383 0.06342 0.01 0.9955 -0.1757 0.176466 cont*cat 1 0 . . . . .
... View more