BookmarkSubscribeRSS Feed
j0nk
Calcite | Level 5
Simple proc boxplot for box dataset:

proc boxplot box=tstbox3;
plot (score1)*qtr / cframe = vligb
cboxes = dagr
cboxfill = ywh;
insetgroup mean q1 q3 / header = 'Stats by Qtr'
cfill = ywh;

run;

outputs all groups (qtr) in order on haxis except first group, which is on far right. Box dataset was not created in earlier proc boxplot, rather was created by revising proc summary output. However, variable names, etc. are according to outbox dataset examples. Any ideas what to do?
Thanks.
1 REPLY 1
j0nk
Calcite | Level 5
In looking at this further, I see that plots are ordered correctly, but horizontal axis labels are all shifted one plot to the left, with the label for the first group under the last group plot. This did not occur when I substituted numeric values in grouping variable. I submitted this problem to tech support.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1132 views
  • 0 likes
  • 1 in conversation