<?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: Matrix Correlation in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Matrix-Correlation/m-p/409418#M3810</link>
    <description>&lt;P&gt;See the article &lt;A href="https://blogs.sas.com/content/iml/2010/12/08/computing-covariance-and-correlation-matrices.html" target="_blank"&gt;"Compute covariance and correlation matrices,"&lt;/A&gt; which shows the four steps that you need to perform to compute a correlation matrix from a data matrix.  In particular, you do not need to form three matrices. The three variables become three columns in a single data matrix.
&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 11:49:42 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-11-01T11:49:42Z</dc:date>
    <item>
      <title>Matrix Correlation</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Matrix-Correlation/m-p/409318#M3808</link>
      <description>&lt;P&gt;I have this data set here were the first x is sales, x2=profits, and x3=assets. Measurements are in millions of dollars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Company&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X3&lt;/P&gt;&lt;P&gt;General Motors&amp;nbsp; &amp;nbsp; 126,974&amp;nbsp; 4,224&amp;nbsp; 173,297&lt;BR /&gt;Ford&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;96,933&amp;nbsp; 3,835&amp;nbsp; 160,893&lt;BR /&gt;Exxon&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 86,656&amp;nbsp; 3,510&amp;nbsp; &amp;nbsp; 83,219&lt;BR /&gt;IBM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 63,438&amp;nbsp; 3,758&amp;nbsp; &amp;nbsp;77,734&lt;BR /&gt;General Electric&amp;nbsp; &amp;nbsp; 55,264&amp;nbsp; 3,939&amp;nbsp; 128,344&lt;BR /&gt;Mobil&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50,976&amp;nbsp; 1,809&amp;nbsp; &amp;nbsp; 39,080&lt;BR /&gt;Philip Morris&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 39,069&amp;nbsp; 2,946&amp;nbsp; &amp;nbsp; 38,528&lt;BR /&gt;Chrysler&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 36,156&amp;nbsp; &amp;nbsp; &amp;nbsp;359&amp;nbsp; &amp;nbsp; 51,038&lt;BR /&gt;Du Pont&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 35,209&amp;nbsp; &amp;nbsp;2,480&amp;nbsp; &amp;nbsp; 34,715&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to import the data manually and then I am asked to manually find correlation matrix using only matrix manipulation. I assume I somehow I use proc IML. If so, I'd have to create 3 matrices, correct? I don't know where to start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 23:24:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Matrix-Correlation/m-p/409318#M3808</guid>
      <dc:creator>trash</dc:creator>
      <dc:date>2017-10-31T23:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix Correlation</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Matrix-Correlation/m-p/409320#M3809</link>
      <description>You should review how correlation is calculated in your textbook. Then start by searching using ‘SAS IML Correlation’.&amp;nbsp;

The answer is fully in the documentation.&amp;nbsp;

&lt;A href="http://support.sas.com/documentation/cdl/en/imlug/66845/HTML/default/viewer.htm#imlug_genstatexpls_sect003.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/imlug/66845/HTML/default/viewer.htm#imlug_genstatexpls_sect003.htm&lt;/A&gt;

As to separating the data into 3 matrices, if you review how to calculate correlation that should answer your question.&amp;nbsp;

&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168982"&gt;@trash&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I have this data set here were the first x is sales, x2=profits, and x3=assets. Measurements are in millions of dollars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Company&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X3&lt;/P&gt;&lt;P&gt;General Motors&amp;nbsp; &amp;nbsp; 126,974&amp;nbsp; 4,224&amp;nbsp; 173,297&lt;BR /&gt;Ford&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;96,933&amp;nbsp; 3,835&amp;nbsp; 160,893&lt;BR /&gt;Exxon&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 86,656&amp;nbsp; 3,510&amp;nbsp; &amp;nbsp; 83,219&lt;BR /&gt;IBM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 63,438&amp;nbsp; 3,758&amp;nbsp; &amp;nbsp;77,734&lt;BR /&gt;General Electric&amp;nbsp; &amp;nbsp; 55,264&amp;nbsp; 3,939&amp;nbsp; 128,344&lt;BR /&gt;Mobil&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50,976&amp;nbsp; 1,809&amp;nbsp; &amp;nbsp; 39,080&lt;BR /&gt;Philip Morris&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 39,069&amp;nbsp; 2,946&amp;nbsp; &amp;nbsp; 38,528&lt;BR /&gt;Chrysler&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 36,156&amp;nbsp; &amp;nbsp; &amp;nbsp;359&amp;nbsp; &amp;nbsp; 51,038&lt;BR /&gt;Du Pont&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 35,209&amp;nbsp; &amp;nbsp;2,480&amp;nbsp; &amp;nbsp; 34,715&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to import the data manually and then I am asked to manually find correlation matrix using only matrix manipulation. I assume I somehow I use proc IML. If so, I'd have to create 3 matrices, correct? I don't know where to start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 31 Oct 2017 23:59:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Matrix-Correlation/m-p/409320#M3809</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-31T23:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix Correlation</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Matrix-Correlation/m-p/409418#M3810</link>
      <description>&lt;P&gt;See the article &lt;A href="https://blogs.sas.com/content/iml/2010/12/08/computing-covariance-and-correlation-matrices.html" target="_blank"&gt;"Compute covariance and correlation matrices,"&lt;/A&gt; which shows the four steps that you need to perform to compute a correlation matrix from a data matrix.  In particular, you do not need to form three matrices. The three variables become three columns in a single data matrix.
&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 11:49:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Matrix-Correlation/m-p/409418#M3810</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-11-01T11:49:42Z</dc:date>
    </item>
  </channel>
</rss>

