I'm using Stas Kolenikov's -polychoric- on data from a 70-item questionnaire
(102 respondents with complete responses) to obtain the matrix of polychoric
correlation coefficients to feed to Stata's -factormat-.
Alas, -factormat- complains that the correlation matrix is not positive
definite. I would like to retain a subset of as many of the questionnaire
items as possible in the factor analysis. What is the best way to return
the largest positive-definite submatrix from the correlation matrix?
Joseph Coveney
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/