09-11-2013 01:53 PM
I am using PROC UNIVARIATE for my data and want only the stem and leaf plot and boxplots to show, not the normal probability plot.I already know to select the plots option to show them, but don't know how to get rid of the normal prob plot. Is there a way to do this in SAS?
09-11-2013 02:25 PM
I don't think you can separate these in UNIVARIATE, but you can design the graph you want in the ODS Graph Designer.
I've done a very basic no-frills version and it produced this code:
define statgraph Graph;
dynamic _MSRP _MSRP2 _MSRP3;
begingraph / designwidth=764 designheight=484;
layout lattice / rowdatarange=union columndatarange=data columns=2 rowgutter=10 columngutter=10 columnweights=(0.71 0.29);
histogram _MSRP / name='histogram_h' orient=horizontal;
boxplot y=_MSRP3 / name='box2' boxwidth=0.4 groupdisplay=Cluster clusterwidth=1.0;
proc sgrender data=SASHELP.CARS template=Graph;
dynamic _MSRP="MSRP" _MSRP2="MSRP" _MSRP3="MSRP";
With this result when I run it: