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;
Try adding option order=internal to the proc glm statement.
thank you. that worked to restore the order. do know how I could override the automatic title?
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.
thanks.
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.
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.