语法
proc sgplot data=Work.Sessss;
vbox DyT/group=sesgr;
vbox DyT/group=sssgr;
title'Box Plot for different level of SES and SSS for dependency score';
label DyT='dependency score';
label sesgr='socioeconomic stratum';
keylegend/location=inside position=topright across=2;
run;
结果: