Share the Gallery !Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

#84_1_Tukey_test #84_2_Tukey_test

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 !


Leave a Reply

4 Comments on "#84 Tukey test"

Notify of
avatar
Sort by:   newest | oldest | most voted
Ayush Gyawali
Guest

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”)????
Thanks in advance!!

lala
Guest

I am a new R user. I want to perform Tukey’s Test on my data and generate plots,
so I tried loading my own data but when I run the “labels” I get an error:
Error in tukey[[variable]] : invalid subscript type ‘symbol’

Luís Telles
Guest

Maybe your problema was caused by the square brackets… try using tukey$variable istead of tukey[[variable]]…

lala
Guest

I am a new R user. I want to perform Tukey’s Test on my data and generate plots.
So I tried loading my own data but when I run the “labels” I get an error:
Error in tukey[[variable]] : invalid subscript type ‘symbol’

Please help!

wpDiscuz