<?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: Corr matrix not positive definite in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472216#M285790</link>
    <description>&lt;P&gt;A correlation matrix can fail "positive definite" if it has some variables (or linear combinations of variables) with a perfect +1 or -1 correlation with another variable (or another linear combination of variables).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In that case, you would want to identify these perfect correlations and remove at least one variable from the analysis, as it is not needed.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 17:07:23 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-06-21T17:07:23Z</dc:date>
    <item>
      <title>Corr matrix not positive definite</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472196#M285788</link>
      <description>&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do a path analysis with proc CALIS but I keep getting an error that my correlation matrix is not positive definite.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to make the matrix positive definite? Its a 43 x 43 lower diagonal matrix I generated from Excel. I don't want to go about removing the variables one by one because there are many of them, and that will take much time too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 16:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472196#M285788</guid>
      <dc:creator>kaodubela</dc:creator>
      <dc:date>2018-06-21T16:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Corr matrix not positive definite</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472202#M285789</link>
      <description>How did you calculate the correlation matrix? I would recommend doing it in SAS so your full process is reproducible.</description>
      <pubDate>Thu, 21 Jun 2018 16:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472202#M285789</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-21T16:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Corr matrix not positive definite</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472216#M285790</link>
      <description>&lt;P&gt;A correlation matrix can fail "positive definite" if it has some variables (or linear combinations of variables) with a perfect +1 or -1 correlation with another variable (or another linear combination of variables).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In that case, you would want to identify these perfect correlations and remove at least one variable from the analysis, as it is not needed.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 17:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472216#M285790</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-06-21T17:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Corr matrix not positive definite</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472218#M285791</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;had a blog post about this: &lt;A href="https://blogs.sas.com/content/iml/2012/11/28/computing-the-nearest-correlation-matrix.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2012/11/28/computing-the-nearest-correlation-matrix.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 17:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472218#M285791</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2018-06-21T17:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Corr matrix not positive definite</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472254#M285792</link>
      <description>&lt;P&gt;Thanks. I'll get the Corr matrix&amp;nbsp;with SAS for a start.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 19:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472254#M285792</guid>
      <dc:creator>kaodubela</dc:creator>
      <dc:date>2018-06-21T19:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Corr matrix not positive definite</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472256#M285793</link>
      <description>&lt;P&gt;Thanks. I'll check the matrix for such variables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 19:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472256#M285793</guid>
      <dc:creator>kaodubela</dc:creator>
      <dc:date>2018-06-21T19:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Corr matrix not positive definite</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472317#M285794</link>
      <description>&lt;P&gt;What does "Lower diagonal" mean?&amp;nbsp; A correlation matrix must be symmetric. If you don't have symmetry, you don't have a valid correlation matrix, so don't worry about positive definite until you've addressed the symmetry issue.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 22:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Corr-matrix-not-positive-definite/m-p/472317#M285794</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-06-21T22:21:34Z</dc:date>
    </item>
  </channel>
</rss>

