Thanks for your reply! I used your suggestion, and changed my code to something like this. I did want the mean to be displayed for the variable diff. Used the datalabel for scatter, and also added a colaxistable. proc summary data=new_one nway;
class testtrain category;
var diff;
output out=new_summary(drop=_:) mean=meandiff;
run;
data for_panel;
set new_one new_summary;
run;
proc sgpanel data=for_panel;
panelby testtrain ;
vbox diff/category=category nooutliers group=category datalabel ;
scatter x=category y=meandiff / datalabel=meandiff markerattrs=(size=1px);
rowaxis values= (0 to 150 by 7) grid label='difference';
refline 0 / axis=Y lineattrs=(color=black thickness=1);
colaxistable diff /X=category stat=mean label='mean' separator;
title 'Difference from Ground Truth';
run; Here's the result: Thanks for your suggestion!!
... View more