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
1
vote
0 answers

Error in UseMethod("cld") : no applicable method for 'cld' applied to an object of class "c('emm_list', 'list')" - cld() issue

Trying to figure out this error message on RStudio : "Error in UseMethod("cld") : no applicable method for 'cld' applied to an object of class "c('emm_list', 'list')"" I'm confused as it was working yesterday... I was able to display my ggplot with…
1
vote
1 answer

Tukey Post Hoc Anova shows unexpected degrees of freedom

I am running an anova in R using lme4 package to investigate the effects of LUT and Climate on EMF (dataset with 50 observations below). Afterwards, to investigate, where the effect occurs, I perform a tukey posthoc analysis using lsmeans package.…
1
vote
1 answer

From Boxplot to Barplot in ggplot possible?

I have to do a ggplot barplot with errorbars, Tukey sig. letters for plants grown with different fertilizer concentraitions. The data should be grouped after the dif. concentrations and the sig. letters should be added automaticaly. I have already a…
Mirai
  • 13
  • 4
1
vote
2 answers

Tukey test results displayed on geom_boxplot with facet_grid

I am trying to generate 6 boxplots displaying Fish Abundances of 3 different sites displayed for each site between 2 seasons separately using faced_grid. I want to add Tukey HSD results on each single boxplot, but when I try, I always get the…
user20542954
1
vote
0 answers

Execute ANOVA & Follow-Up Tests on multiple columns

I'm attempting to perform a Hinkin and Tracey content validation on potential scale items and have the following dataset (sample) with 74 unique columns: cleandata <- structure(list(Condition = c("RS", "AS", "BGPS", "APCS", "OP", "TS" ), alt_energy…
Dan
  • 11
  • 1
1
vote
0 answers

TukeyHSD test error: number of items to replace is not a multiple of replacement length

I have a data whose summary is like below. I applied ANOVA and then TukeyHSD test in RStudio as below: summary(Hb2$SamplingMethod) Samp_aov <-aov(D~ SamplingMethod, weights=S, data=Hb2) summary(Samp_aov) TukeyHSD(Samp_aov) The output is: >…
İrem
  • 11
  • 2
1
vote
1 answer

How to fix "Error in comp[[i]] : subscript out of bounds" to make letter compact display?

I have a problem with an error message I have received below: "Error in comp[[i]] : subscript out of bounds" I want to indicate a compact letter display in my analysis but it did not work. I have tried to find some solution in the internet but it…
Woony
  • 33
  • 4
1
vote
0 answers

Adding emmeans Tukey p-values to ggplot boxplot

I'm testing for a relationship between different crosses of blueberry varieties and their adjusted fruit mass (a proxy for realized yield). I created a mixed linear model and found a significant effect but I wanted to know which crosses are best.…
1
vote
0 answers

HSD.test() grouping is defective

I am trying to compare the amount of soil Electrical Conductivity (EC) of seven different plant communities in a forest, so I have this data set and trying to compare the means using HDS.test(), the problem is it returns group "a" and "ab" but no…
Ali Baluee
  • 11
  • 2
1
vote
0 answers

How to perform Post-Hoc tests (including tukey and Gammel-Howell) on imputed data using MICE

I would like to perform post-hoc tests on imputed data using MICE in R. Typically MICE imputes data which is converted to long data to calculate total scores and can be converted back into MIDS elements. Analysis is then conducted over a MIRO…
1
vote
2 answers

Adding compact letter display results to a data frame

I have some data that shows a treatment effect for a range of tree species, and I'm performing a one-way anova of RESULT ~ TREATMENT for each species. Using dplyr, I've created a new data frame of treatment means grouped by species, as well as…
A.Benson
  • 465
  • 1
  • 6
  • 16
1
vote
0 answers

How to get post-hoc tests using the Mixed Models < Generalised Mixed builder on SPSS

I am working in SPSS using the "Generalized Mixed" option under "Mixed Models" to run a GLMM. I have a repeated measures design. I am seeing whether repeated sessions (5) had an effect on dogs' approach (Y/N) to three bowl locations. My outcome…
1
vote
1 answer

R function for displaying results of aov() and tukeyHSD() in R markdown in professional way

I have some data that's unfortunately PHI and I can't share (to make reproducible) but I'd like to display it in a PDF document from R markdown. Currently my results will display, but they don't look great, i.e.: I'd love to display the exact same…
Joe Crozier
  • 944
  • 8
  • 20
1
vote
0 answers

How to perform Tukey HSD test in Spark Dataframe?

I am trying to perform the Tukey's test on a very large dataset using pyspark. Now I know in python we can use the pairwise_tukeyhsd library from the statsmodels.stats.multicomp module. That would require me to convert my spark data frame to pandas…
thentangler
  • 1,048
  • 2
  • 12
  • 38
1
vote
2 answers

Boxplots aren't colouring or plotting labels properly in R, why?

My Tukey test significant results LABELS and the colours plotted as box plots do not plot over each sample box plot. Why? Seems like the labels are plotted at different y-axis along the same s1 (x-axis)? Reproducible dataset…
Ecg
  • 908
  • 1
  • 10
  • 28
1 2
3
10 11