Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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