BookmarkSubscribeRSS Feed
Rover17
Obsidian | Level 7

Hi SAS Community,

 

When I run my code below to create a set of boxplots, I use the INSETGROUP statement to insert Min, Mean, and Max values. 

 

The Min and Max values display as requested, but the Mean values don't. 

 

Each Mean value has 3 numbers before a decimal, then 2 numbers after the decimal. 

 

Sincere there are 15 boxplots in the chart, I don't think there is enough space to show the Mean values for all the boxplots. Some boxplots show an asterisk for the Mean value. 

 

How can I  adjust the spacing or request truncated mean values for each of the boxplots in the chart?


proc boxplot data=boxplot_3;
plot Step1_1*Program ;
inset min mean max /
header = 'Overall Statistics'
pos = tm;
insetgroup min mean max /
header = 'Min & Max Values for Each Program';
label Step1_1 = 'Step 1 Scores';
run;

 

Thank you,

Aaron

1 REPLY 1
ballardw
Super User

Data.

 

We can't test code without data.

 

Does your log have any interesting notes?

 

Do you have ODS Graphics on? Some of the Proc BOXPLOT features do not work when ODS Graphics is enabled.

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 467 views
  • 0 likes
  • 2 in conversation