Skip to content
Prev 30509 / 398513 Next

princomp with not non-negative definite correlation matrix

On Thu, 10 Apr 2003 tvr at stanford.edu wrote:

            
No correlation/covariance matrix ever has negative eigenvectors, so 
princomp is correctly telling you that you have a problem.

I have no idea what your matrix is, but it is not a correlation matrix.
Possibly it has been written out and rounded?  In that case try
setting the negative eigenvalues to zero.  But I would want to be sure 
that there was not some more serious error in the correlation matrix.