BookmarkSubscribeRSS Feed
mehmood
Calcite | Level 5

Hi,

 

I want to get the 'critical value for comparison' for Tukey-Kramer Test in Proc Plm, for main effect comparisons (three factors). Although, the proc plm output gives lettering between the treatments, but I need the critical value by which the lettering was actually done.

 

DATA details: 

I have split-split plot design, with three factors. ANOVA was calculated by Proc mixed method, and after that I employed Tukey test using lsmeans in Proc plm. 

 

I would be grateful if anyone can help me with my question, or suggest me the way/method so that I can calculate critical value for Tukey test using ANOVA details.

 

Attached are the screenshots of SAS code and the output file.

 

sas 3.pngsas 2.png

2 REPLIES 2
PaigeMiller
Diamond | Level 26

The formula for the critical value of the Tukey-Kramer test is given here:

https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_glm_details29.htm&docsetVersion=1...


The critical values of a studentized range distribution can be computed from the PROBMC function

https://documentation.sas.com/?docsetId=lefunctionsref&docsetTarget=p06idazwtugz0an1rlks4swmutms.htm...

--
Paige Miller
mehmood
Calcite | Level 5

Thanks Paige Miller for your kind reply. I got the calculation method.

 

But still I want to know with surety that we can't get the critical value for tukey test in proc plm or proc mixed??? on the other hand, using proc glm this critical value for tukey test is easily available. 

 

Is there any other solution, that we can get this critical value without much effort in proc plm??? Many thanks.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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