Re: [R] posthoc tests with ANCOVA

From: Torsten Hothorn <Torsten.Hothorn_at_rzmail.uni-erlangen.de>
Date: Wed 10 Jan 2007 - 10:02:21 GMT

On Tue, 9 Jan 2007, Walter Durka wrote:

> dear all,
>

Walter,

_please_ cc questions on contributed packages to the maintainer, since not everybody follows r-help closely...

> I want to perform a posthoc test for my ANCOVA:
> a1<-aov(seeds~treatment*length)
>
> With
> summary(glht(a1, linfct = mcp(treatment = "Tukey")))
> R tells me: "covariate interactions found -- please choose appropriate
> contrast"
>

one needs to specify a certain value for `length' which, I assume, is a numeric covariate, right? The current interface doesn't support this (this on my to-do-list), however, you can set up the matrix of linear functions by yourself (contact me privately if you have problems to do that).

> How do I build these contrasts?
>
> Ideally, I would like to have the posthoc test for the ANCOVA including
> a block-effect
> a2<-aov(seeds~treatment*length+Error(site))
>
> How do I make a posthoc test here?
>

its on the to-do-list as well :-(

Torsten

> Thanks for any comments
> Walter
>
>
> --
>
> *****
> Dr. Walter Durka
> Department Biozönoseforschung
> Department of community ecology
>
> Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
> Helmholtz Centre for Environmental Research - UFZ
> Theodor-Lieser-Str. 4 / 06120 Halle / Germany
>
> walter.durka_at_ufz.de / http://www.ufz.de/index.php?en=798
> phone +49 345 558 5314 / Fax +49 345 558 5329
>
> +++++++++++++++++++++++++++++++++++++++++++++++++
>
> Das UFZ hat einen neuen Namen:
> Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
>
> The UFZ has a new name:
> Helmholtz Centre for Environmental Research - UFZ
>
> +++++++++++++++++++++++++++++++++++++++++++++++++
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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@stat.math.ethz.ch 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 Wed Jan 10 21:11:04 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 10 Jan 2007 - 11:30:30 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.