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

Hi, I am trying to get the letter groupings for my 2 and 3 way interactions. When I get the output instead I get colored bars. I would prefer the letter groupings. Does anyone know the syntax that I would need to use to get that output in my code?

 

proc glm data=WORK.PW2TRANSFORM;
	class plant_type depth AD2;
	model log_As_ppb=plant_type|depth|AD2 / ss1 ss3;
	lsmeans plant_type AD2 depth plant_type*depth plant_type*AD2 plant_type*depth*AD2/ adjust=tukey lines alpha=0.05 cl 
		plots=(meanplot(cl) diffplot);
quit;

Much appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

When ODS GRAPHICS is on (the default), the procedure creates a lines plot. To get the equivalent table, turn off ODS graphics before you call the procedure:

 

ods graphics off;

 

See this blog post by Warren Kuhfeld: "Introducing the new SAS/STAT lines plot"

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

When ODS GRAPHICS is on (the default), the procedure creates a lines plot. To get the equivalent table, turn off ODS graphics before you call the procedure:

 

ods graphics off;

 

See this blog post by Warren Kuhfeld: "Introducing the new SAS/STAT lines plot"

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 3007 views
  • 0 likes
  • 2 in conversation