Questions tagged [posthoc]
181 questions
2
votes
1 answer
What is the most appropriate method for contrasts in lme (nlme)?
I have a question regarding conducting post-hoc contrasts in a mixed glmm model. Essentially, my data is a series of response variables with fixed factors of 'Subject Type' (three types of subjects), 'Treatment' (four treatments), and 'Year' (two…

choppedpete
- 29
- 1
- 3
2
votes
0 answers
Tukey HSD for three-way interaction term in R
For each dependent variable (time, mass, rate, quotient), I constructed a three-way ANOVA with gender, age, temperature and all interactions as the independent fixed factors.
My outputs range from getting a significant two-way interaction term
…

user4730784
- 41
- 3
2
votes
0 answers
R: GLM between treatment groups for each colony: effect plot
I'm still learning how to use r and I have some trouble making an effect plot based on Tukey posthoc tests. I have a dataset with 3 colonies (A, B and C, see below). Each colony is divided into 2 treatments: control and DWV. I have to run a GLM to…

Rose
- 43
- 6
2
votes
0 answers
For a stats class assignment I have to show that the anova will pick up significance in cases where the t-test does not?
How can I run a Holm-Sidak test on a repeated measures anova in R?
MeanSEP is the voltag potential from the result of a paper I have to recreate the statistical testing for in a class. I am looking for a significant difference between the…

Angus Campbell
- 563
- 4
- 19
2
votes
1 answer
R lsmeans adjust multiple comparison
I used lme4 to run a mixed effects logistig regression (by calling glmer) in R and now I am trying to do post-hoc comparisons. As they are pairwise, Tukey should be OK,but I would like to manually adjust for how many tests the correction should be…

LaNeu
- 105
- 14
2
votes
3 answers
Error with post hoc tests in ANCOVA with factorial design
Does anyone know how to do post hoc tests in an ANCOVA model with a factorial design?
I have two vectors consisting of 23 baseline values (covariate) and 23 values after treatment (dependent variable) and I have two factors with both two levels. I…

Alexm
- 57
- 2
- 6
2
votes
1 answer
How to run Dunnett C post hoc test in R?
I ran a two-way anova in r with my data set (unequal sample sizes, unequal variance): 1 variable measured across 3 species (with males and females in each species).
This produces a significant result between species, so I want to know which pairwise…

user2736492
- 21
- 1
- 1
- 3
2
votes
1 answer
Tukey HSD post-hoc test on a prop.test(..) in R
I'm doing a prop.test() on 3 groups:
data = data.frame(a = c(85*0.3412,85*(1-0.3412)),b = c(203*0.2217,203*(1-0.2217)), c = c(231,197))
prop.test(t(data))
The p.value is very low (1.041e-13). I want to know which pair of groups show a significant…

Remi.b
- 17,389
- 28
- 87
- 168
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
0 answers
Need for contrasts in ANCOVA?
I'm currently trying to compute an ANCOVA as follows:
library(car)
model <- aov(speed~car+engine, data = car_data)
Anova(model, type="III")
library("multcomp")
m4 <- glht(car_data, linfct = mcp(car= "Tukey"), alternative =…

trying_1999
- 11
- 1
1
vote
1 answer
Pairwise comparisons with weights in R
I ran a weighted Kruskal Wallis test using the survey package in R.
The result shows that there is a significant difference between groups, but does not specify between which ones. Therefore, I´d like to follow up with weighted pairwise comparisons…

seb-29
- 51
- 2
1
vote
0 answers
how can I change the header name in post hoc test result table?
I want to clarify the name of each row and column with specific name. however, it's shown only with the number (1,2,3,4,5...).
I performed post hoc test named as dunn's test, after kruskal wallis test for non-parametric graph.
sp.posthoc_dunn(data,…

jay
- 99
- 6
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
Emmeans posthoc testing of linear mixed model
I've read a ton of posts and am trying to teach myself linear mixed effects model analysis in R, so I appreciate any help I can get. I really just need to brainstorm with someone who knows what's going on, and I don't have access to that easily.
My…

LostAndConfused
- 11
- 1
1
vote
0 answers
Controlling for multiple comparison
I have quick question. I am performing a study involving 4 treatments + control.
I want to know if and which treatments differ significantly from each other on an outcome variable.
My ANOVA is significant and I now want to conduct a post-hoc test to…

Nicolas N.
- 11
- 1