Skip to content
Prev 374810 / 398506 Next

TukeyHSD for multiple response

Hi Sergio

Doing those tests 30 times is going to give you a huge Type I error 
rate, even if there was a function that did that.  There is a reason
why TukeyHSD doesn't make it easy.

In general, if there are useful comparisons among the species, you are 
better off setting up and testing contrasts than doing all-pairwise
Tukey tests.

Also, the PCA scores are ordered in terms of variance acct'd for, so 
maybe only the first few are important.

Finally, you might be better off using Canonical Discriminant analysis 
than PCA followed by MANOVA.  The candisc package is well suited to this
task.  It can give you HE plots in the space that best discriminates
among the levels of an effect, and show how the original variables 
relate to (project into) that space.
CDA is sort of like PCA, but the goal is to account for maximum 
differences among groups rather than maximum total variance.

For proper partial Type III tests, use car::Manova rather than stats::manova
which only gives sequential, Type I tests

HTH
-Michael
On 5/25/2018 9:11 AM, Sergio Ferreira Cardoso wrote: