Principal component analysis on a matrix
Posted: Wed Feb 01, 2012 1:06 pm
Hi,
I'd like to use principal component analysis on a matrix and retrieve the scores.
I can use
matrixname.pcomp(eigval=v1, eigvec=m1)
to calculate the eigenvalues and eigenvectors, but there doesn't seem to be a command to calculate the scores -- although when I use the dialog box, I can store them in a series, so the capability is there.
Put differently, if my matrix were a group object, I'd use
groupname.makepcomp
and I'm assuming that there is a similar command for matrices, too?
Many thanks, Philipp
I'd like to use principal component analysis on a matrix and retrieve the scores.
I can use
matrixname.pcomp(eigval=v1, eigvec=m1)
to calculate the eigenvalues and eigenvectors, but there doesn't seem to be a command to calculate the scores -- although when I use the dialog box, I can store them in a series, so the capability is there.
Put differently, if my matrix were a group object, I'd use
groupname.makepcomp
and I'm assuming that there is a similar command for matrices, too?
Many thanks, Philipp