<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PROC CALIS for polychoric correlations in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257410#M13608</link>
    <description>&lt;P&gt;Unfortunately, it doesn't seem to be an issue. There are no missing values &amp;nbsp;(see the attached file) and NOMISS option also doesn't save the problem. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe other ideas?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2016 18:33:57 GMT</pubDate>
    <dc:creator>braverju</dc:creator>
    <dc:date>2016-03-17T18:33:57Z</dc:date>
    <item>
      <title>PROC CALIS for polychoric correlations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257390#M13606</link>
      <description>&lt;P&gt;Dear Sas experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to confirm unideminsionality using polychoric correlations. I run this code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC CORR DATA=mydata OUTPLC=polyCorr&amp;nbsp;;&lt;BR /&gt;VAR Q1-Q13;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC CALIS&amp;nbsp;data=polyCorr outstat=ostat;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The polyCorr file looks normal to me.&amp;nbsp;But get the following error message:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: The sample covariance or correlation matrix is not positive definite. ML or GLS estimates cannot be computed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anybody help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Julia&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 17:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257390#M13606</guid>
      <dc:creator>braverju</dc:creator>
      <dc:date>2016-03-17T17:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CALIS for polychoric correlations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257399#M13607</link>
      <description>&lt;P&gt;The most likely explanation is that your data contain missing values. By default PROC CORR computes pairwise correlations. Be sure to specify the NOMISS option on the PROC CORR statement, which will tell the procedure to perform listwise deletion of observations with missing values, which always results in valid correlation matrix.&amp;nbsp;&amp;nbsp; For details, see&lt;A href="http://blogs.sas.com/content/iml/2012/01/13/missing-values-pairwise-corr.html" target="_self"&gt; "Missing values and pairwise correlations: A cautionary example"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 18:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257399#M13607</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-03-17T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CALIS for polychoric correlations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257410#M13608</link>
      <description>&lt;P&gt;Unfortunately, it doesn't seem to be an issue. There are no missing values &amp;nbsp;(see the attached file) and NOMISS option also doesn't save the problem. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe other ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 18:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257410#M13608</guid>
      <dc:creator>braverju</dc:creator>
      <dc:date>2016-03-17T18:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CALIS for polychoric correlations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257425#M13610</link>
      <description>&lt;P&gt;Maybe not, but the root cause is the same:&amp;nbsp;PROC FREQ is producing an estimate for a matrix that should (in theory) be SPD, but the estimate is created in a pairwise fashion, so the estimate is not necessarily SPD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to use more iterations or a tighter convergence criterion by using POLYCHORIC(converge=1e-6 maxiter=500), but I'm not confident that it will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I've read, if you have categorical variables with fewer than about 5 categories, the polychoric approximation (which uses assumes bivariate normality) just isn't very reliable.&amp;nbsp; For more about non-PD matrices, including a section on polychoric matrices, see &lt;A href="http://www2.gsu.edu/~mkteer/npdmatri.html" target="_self"&gt;"Not Positive-Definite Matrices -- Causes and Cures"&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 19:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257425#M13610</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-03-17T19:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CALIS for polychoric correlations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257493#M13621</link>
      <description>&lt;P&gt;Maybe you need the nearest correlation matrix to instead of your Non positive correlation matrix .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2012/11/28/computing-the-nearest-correlation-matrix.html" target="_blank"&gt;http://blogs.sas.com/content/iml/2012/11/28/computing-the-nearest-correlation-matrix.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 02:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CALIS-for-polychoric-correlations/m-p/257493#M13621</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-03-18T02:31:33Z</dc:date>
    </item>
  </channel>
</rss>

