1# angel42102209
I am not sure what you want exactly and hope the following example would solve your problem.
HTH
***************************************************************
data t1;
length group $1;
do i = 1 to 50;
c=mod(i,3);
if c=0 then group='A';
else if c=1 then group='B';
else group='C';
if Group='A' then y=1+rannor(8897);
else if Group='B' then y=2+rannor(8897);
else y=3+rannor(8897);
output;
end;
run;
proc glm data=t1;
class group;
model y=group/noint solution;
estimate 'group of a=b' group 1 -1 0;
estimate 'group of a=c' group 1 0 -1;
estimate 'group of b=c' group 0 1 -1;
run;
quit;;