Re: [R] Tukey HSD (or other post hoc tests) following repeated measures ANOVA

From: Ullrich Ecker <ullrich.ecker_at_uwa.edu.au>
Date: Fri, 30 May 2008 12:10:56 +0800

Thanks, Dieter,

but as far as I understand, 'glht' does not support objects of class 'aovlist' either. I mean, I know there is a "TukeyHSD" function out there, but that's the problem: repeated measures ANOVA yields an aovlist object, and TukeyHSD calls for an aov object.

And I don't know if confidence intervals are "certainly much better than p-values". What I do know is that most journals of psychology (and medicine, neuroscience, ...for that matter) usually require p-values be reported.

Still hope someone can help...

Ullrich

At 06:31 PM 28/05/2008, you wrote:
>Ullrich Ecker <ullrich.ecker <at> uwa.edu.au> writes:
>
> > I am fairly new to R, and I am aware that others have had this
> > problem before, but I have failed to solve the problem from previous
> > replies I found in the archives.
> >
> > Now, I want to calculate a post-hoc test following up a
> within-subjects ANOVA.
>
>
>Probably the best is package multcomp. By default, it gives confidence
>intervals, which is certainly much better than p-values. Haven't tried if you
>can get p-values.
>
>Dieter
>
>
>library(multcomp)
>amod <- aov(breaks ~ wool + tension, data = warpbreaks)
>wht <- glht(amod, linfct = mcp(tension = "Tukey"))
>
>______________________________________________
>R-help_at_r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 30 May 2008 - 04:14:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 30 May 2008 - 04:30:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive