Questions tagged [tukey]

The Tukey test is a single-step statistical test for multiple comparison, named after John Tukey. It is used to find significantly different mean, by comparing all pairs on means based on a studentized range distribution.

The Tukey test is a single-step statistical test for multiple comparison, named after John Tukey. It is used to find significantly different mean, by comparing all pairs on means based on a studentized range distribution.

Assumptions

  1. Independence of observations within and among groups
  2. Normal distribution within group
  3. Equal within-group variance across the groups (Homogeneity of variance)

Also known as:

  • Tukey's Honestly Significant (Difference) test
  • Tukey HSD test
  • Tukey-kramer test/method
165 questions
0
votes
1 answer

one way ANOVA and TUKEY in R with conditions

I am trying to find the mean differences between my variable stim_ending_t which contains the following 6 factors: 1, 1.5, 2, 2.5, 3, 3.5 You can access the df Here stim_ending_t visbility soundvolume Opening_text m sd coefVar …
spock's-neurons
  • 79
  • 2
  • 11
0
votes
1 answer

How can I do a Tukey's HSD test on this data?

I am trying to perform a Tukey's HSD test or an LSD test on my data. I have two factors, Collection (2 treatments) and Irrigation (5 treatments), and want to do the test on the Sucrose responses from each combination, so 10 total…
Tom
  • 377
  • 3
  • 13
0
votes
1 answer

How do I store the lambda value with tukeyTransform in R?

I need to transform my data to a normal distribution and I'm using the transformTukey function from the rcompanion library. The issue I'm having is when I transform the data back to the original scale I have to manually input the lambda value. Is…
Graham
  • 23
  • 4
0
votes
1 answer

Consistent lettering across facets for Tukey letter plot on ggplot

I have followed the answer from this question: Tukey test results on geom_boxplot with facet_grid It is great, but what I would like is to compare the facets between them as well. In other words, letter order all of the results first then divide it…
u-_-u
  • 23
  • 5
0
votes
0 answers

P.adj in TukeyHSD and HSD.test function can't be changed

Hi i was looking inside tukeyHSD and HSD.test the p.adj, i would like to get the p.value without adjustement. I tried to set an argument inside like: or other things but nothing work at all. Package: agricolae. TukeyHSD(x, p.adjust="none")
0
votes
0 answers

Post-hoc test for mixed-effect model with negative binomial function: Parametric or Non-parametric?

I am a newbie here and my question is whether I should use a parametric or non-parametric post-hoc test based on the results from a generalized linear model; and if non-parametric is appropriate, how to conduct it. Because this is about concepts,…
0
votes
1 answer

How to combine geom_text and boxplot color with discrete x-axis?

I have individuals in an experiment and I wish to represent graphically those who belong in the same group defined using tukey test. Here is an exemple of the full dataset : structure(list(Nom = structure(c(18L, 7L, 27L, 39L, 6L, 27L,39L, 18L, 39L,…
Blue
  • 47
  • 8
0
votes
1 answer

Tukey test after LMM keeping contrasts

I want to test a 2x3 factorial design and contrasted the variables like this library(lme4) library(emmeans) my.helmert = matrix(c(2, -1, -1, 0, -1, 1), ncol = 2) contrasts(Target3$mask) = my.helmert …
Laura S
  • 15
  • 4
0
votes
0 answers

how to remove label in facet_wrap

I made a ggplot with my data. than I wanted to label some interactions between my boxplot-data (via anova/Tukey) to show, if there are signifikant differences between special Groups or not. I'm working with one csv-sheet called "test", that I have…
biffi
  • 21
  • 5
0
votes
0 answers

How can I fix this rstudio error with TukeyHSD?

Error code displayed above. I'm trying to get a Tukey test of smoking (which is divided into three categories of 0,1,2 (current smoker, previous smoker and non-smoker)) and body weight (in kg). However this code error keeps coming up. Please can…
C. Cain
  • 11
0
votes
1 answer

'<' not supported between instances of 'float' and 'str' Error for Tukey HSD Test

I get a strange error when running the Tukey test. I hope somebody is able to help me with this as I tried a lot. This is my dataframe: Name Score 1 A 2.29 2 B 2.19 This is my Tukey Test code: #TUKEY HSD TEST tukey =…
ee8291
  • 495
  • 4
  • 9
  • 18
0
votes
1 answer

Wrong Tukey-letter ordering in R multcompView package

I do not understand letter ordering in the function multcompletters from multcompView. According to documentation it should be according to mean of the group. In the following example, the middle group got c (from abc) and should have got b. Is this…
Krisselack
  • 503
  • 3
  • 16
0
votes
1 answer

Post hoc for binary GLMM (lme4) and plot

So I'm an R novice attempting a GLMM and post hoc analysis... help! I've collected binary data on 9 damselflys under 6 light levels, 1=response to movement of optomotor drum, 0=no response. My data was imported into R with the headings 'Animal_ID,…
0
votes
1 answer

output of variable names in looped Tukey test

I'm doing multiple TukeyHSD tests by looping through all dependent variable names as in the code provided by Eric Lecoutre in this thread: Loop through several post hoc tests in R It works very well, so thanks Eric! But in the output the variable…
yuqia
  • 1
  • 1
0
votes
1 answer

Multiple Comparisons Adjustment for Sample Size in R

I'm trying to compute a sample size for a study that has 5 groups. Aside from computing Cohen's f for the overall ANOVA, how can I compute a sample size for each group that adjusts for pairwise post-hoc comparisons, a la Tukey? Is there a function…
1 2 3
10
11