Tukey’s test is a single-step multiple comparison procedure and statistical test. It is a post-hoc analysis, what means that it is used in conjunction with an ANOVA. It allows to find means of a factor that are significantly different from each other, comparing all possible pairs of means with a t-test like method. You can read this page if you want to understand the exact procedure of this test.

Results are usually drawn in a boxplot. Levels that are not significantly different one each other are represented with the same letter.

synonymous: Tukey’s range test / Tukey method / Tukey’s honest significance test / Tukey’s HSD (honest significant difference) test / Tukey–Kramer method

Not what you are looking for ? Make a new search !

`[mediatagger]`

2 Followers

Most reacted comment
9 Comment authors
Recent comment authors
Subscribe
Notify of
Guest
Eleftheria

Many thanks for this! Do you know of a code for checking the assumptions fro the TukeyHSD test in R? Thanks again!

Guest
Bien

Many thanks. It is exactly what I need. Love from Vietnam

Guest
Quin

Hello, This is exactly the graph I’d like to build for my data.! Thanks so much for writing this. I am wondering, how would you order the levels from highest means to lowest?

Q

Guest
Lochs

You could probably achieve this by ordering your categorical factors in your data frame by their mean values? Then just produce the plot as normal.

Guest
Diana

what is the treatment and value???? im failing to interprete them. trying to use the code on my data. thanx.

Guest
Ayush Gyawali

Hey, thanks for this R-Script. It worked. But is it possible to modify this script to get graph and significant letters in terms of a factorial design?
For example
In case of code- LABELS=generate_label_df(TUKEY , “x\$Treatment”)
If Treatment and Depth are two Treatments in a factorial design then can this above be written as..
code – LABELS=generate_label_df(TUKEY , “x\$Treatment”, “x\$Depth”)????