proc summary data=sashelp.heart nway;
class status sex ;
var weight;
output out=temp mean=mean lclm=low uclm=upper;
run;
proc sgplot data=temp;
scatter x=mean y=status/ group=sex groupdisplay=cluster clusterwidth=0.4
xerrorlower=low xerrorupper=upper markerattrs=(symbol=squarefilled);
refline 150 / axis=x;
yaxis colorbands=even;
run;
... View more