Regards,

My question is about using regression coefficient plots when I test for equal slopes using Proc MIXED?. In CONTRAST is the equal to graph or not? For example:

data ancova_example;
input gender $ salary years;
datalines;
m 42 1
m 112 4
m 92 3
m 62 2
m 142 5
f 80 5
f 50 3
f 30 2
f 20 1
f 60 4
;

proc mixed data=ancova_example;
class gender;
model salary=years gender gender*years;
title 'Covariance test for equal slopes';
run;

proc mixed data=ancova_example;
class gender;
model salary=gender gender*years / noint solution ALPHA=0.05;
contrast 'slopes equal hypothesis' gender*years 1 -1;
title 'Reparameterizaton of ANCOVA';
ods output SolutionF = ParamEst4;
run; title; run;

Proc print data=ParamEst4;
run; quit;

proc sort data=ParamEst4; by Effect ; run;
title "Parameter Estimates with 95% Confidence Limits";
proc sgplot data=ParamEst4 noautolegend;
scatter y=gender x=Estimate / xerrorlower=Lower xerrorupper=Upper
markerattrs=(symbol=diamondfilled);
refline 0 / axis=x;
xaxis grid;
yaxis grid display=(nolabel) discreteorder=data reverse;
where Effect="years*gender";
run; quit;

Thank you.