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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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