BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
kcodo
Obsidian | Level 7

 

I would like to change order of the box plots to be:

control OA and LSS.

I am not sure why it is flipped the opposite way.

 

Also how do I override the automatic title.

looks like the code I put in for the title does not work. Appreciate all the help!

 

See attached graph.

here is the code I used:

proc format; 
value group 0="control" 1="OA" 2= "LSS"  ;
run;
proc glm data=my data; class group;
title "Gait Speed Symmetry Index Distribution";
model speed_SymIdx_iqr = group/effectsize alpha=0.05;
Format group group.;
LABEL speed_SymIdx_iqr='Gait Speed Symmetry Index';
 run; quit;
1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

Try adding option order=internal to the proc glm statement.

PG

View solution in original post

4 REPLIES 4
PGStats
Opal | Level 21

Try adding option order=internal to the proc glm statement.

PG
kcodo
Obsidian | Level 7

thank you. that worked to restore the order. do know how I could override the automatic title?

PGStats
Opal | Level 21

It's usually easier to make your own graph (getting the data from an OUTPUT statement) than to fiddle with the internal proc GLM GTL template to modify the graph.

PG
kcodo
Obsidian | Level 7

thanks.

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 4 replies
  • 1028 views
  • 2 likes
  • 2 in conversation