How to use a proc box plot procedure to create a box plot for one variable where the syntax seems to require group variable in the plot statement besides the analysis variable?
PLOT Statement |
I only want to see the spread for the variable height in the dataset sashelp.class
Perhaps use a different procedure:
proc sgplot data=sashelp.class; vbox height; run;
Create a group variable that has the same value for every observaiton in your data set.
Perhaps use a different procedure:
proc sgplot data=sashelp.class; vbox height; run;
Thank you everybody for your responses. @ballardw You are a star!!!!!!!!!
Any of the GPLOT/PLOT procedures would be considered outdated. Use the SG Procedures whenever possible.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.