[R] post-hoc test (glht?) which takes treatment into account not just explanatory variable overall

From: Ellis, David <de223_at_exeter.ac.uk>
Date: Fri, 22 Apr 2011 18:01:50 +0100


Hi R helpers!

I have used a glht as a post-hoc test on an lmer with:
-2 treatments (A & B)
-1 categorical explanatory variable (song type)
-1 response variable (latency to respond)

I wanted to make comparisons between the categorical variables depending on treatment.

At the moment the glht simply returns comparisons of each of the (3) categorical explanatory variables with each other overall i.e. there is no distinction between the two treatments.

Does anyone know of a post-hoc test that will give me comparisons of the 3 explanatory variables compared with each other for each treatment as well as comparing the treatments against each other (basically one that takes treatment into account and gives more results)

Does this make sense?

Thanks
Dave

        [[alternative HTML version deleted]]



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 22 Apr 2011 - 17:05:55 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 22 Apr 2011 - 17:30:32 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