Skip to content
Prev 201395 / 398503 Next

Doubt about CCA and PCA

Jombart, Thibaut <t.jombart <at> imperial.ac.uk> writes:
onto a set of explanatory
which is only possible if
variables.
you intend to infer principal
descriptors of the sample). I
Francisco,

First assumption: "temporal values" refers to the number of rows. With that
assumption, it is *not* necessary to have more rows than columns in PCA (more
about CCA below). It depends on the implementation, and in R function prcomp()
is implemented so that this is not necessary whereas princomp() is implemented
so that you indeed need more rows (observations) than columns (variables). The
number of eigenvalues will be less than number of variables if you have rank
deficit data with lower number of rows than columns.

Then about CCA. First thing is that you should tell us what is CCA. This is an
ambiguous acronym which usually refers either to constrained ("canonical")
correspondence analysis or canonical correlation analysis. The first is simpler
and does not have the constraint you mentioned, but the latter is
computationally more complicated and may need a special implementation for rank
deficit data. There are further complications, but I won't guess anything about
them before I get more details. 

Cheers, Jari Oksanen