Displaying 1 result from an estimated 1 matches for "factortmnt".
2017 Nov 28
1
Repeated measures Tukey
...significant ANOVA, I first run a paired samples t-test using
the code:
t.test(X1,X2,paired=TRUE) #being x1 the punctuation after treatment 1 and
x2 the punctuation after
treatment 2.
After this, I run a Tukey posthoc test for repeated measures as stated in
gribblelab:
require(nlme)
a1<-lme(x~factortmnt,random=~1|factorid/factortmnt,data=mydata)
print(anova(a1))
require(multcomp)
summary(glht(a1,linfct=mcp(factortmnt="Tukey")))
The fact is that once I get both results, there are some occasions in which
I get lower p values with Tukeys correction than in paired t-tests.
How is it possi...