Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: polychoric matrix not positive definite
From
Tilahun <[email protected]>
To
[email protected]
Subject
st: polychoric matrix not positive definite
Date
Sun, 2 Dec 2012 01:39:25 +1100
Dear all,
while attempting to perform factor analysis on ordered varaiable (with
three categories), I had to compute polychoric correlation but stata
returned the matrix is 'not positive definitive'. When computing
tetrachoric correlation on binary data, and option - , posdef - fixes the
problem and let the correlation computed. Is there any similar option that
I can use. Please advise.
The syntax are:
The option - posdef - below fixes the problem matrix 'not positive
definitive'
tetrachoric var1-var24, posdef
matrix rho = r(Rho)
factormat rho, pcf n(244)
But the syntax below returns matrix 'not positive definitive' and the
option - posdef- is not allowed here
polychoric var1-var24
matrix r=r(R)
factormat r, pcf n(244)
Your suggestion is much appreciated.
regards
Tilahun
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/