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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2391 views
  • 0 likes
  • 2 in conversation