<?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: ERROR: (execution) Matrices do not conform to the operation. in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200953#M2077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matrix multiplication does not support missing values.&amp;nbsp; If you are trying to mimic the usual OLS regression, you should remove the rows with missing values. This article might be useful:&lt;A href="http://blogs.sas.com/content/iml/2015/02/23/complete-cases.html" title="http://blogs.sas.com/content/iml/2015/02/23/complete-cases.html"&gt;http://blogs.sas.com/content/iml/2015/02/23/complete-cases.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2015 17:32:30 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2015-04-21T17:32:30Z</dc:date>
    <item>
      <title>ERROR: (execution) Matrices do not conform to the operation.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200949#M2073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. I have a question regarding multiplying matrices. I already read Interpreting PROC IML error messages: Matrices do not conform to the operation suggested in other boards and I still do not understand why I get this message. I understand that if I want to multiply xbeta = x # beta; the number of columns in X have to be equal to the rows in beta, right? I am running SAS 9.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is part of my code:&lt;/P&gt;&lt;P&gt;xbeta = x#beta;&lt;/P&gt;&lt;P&gt;se= sqrt (vecdiag(x#cov#x`));&lt;/P&gt;&lt;P&gt;lower =xbeta&amp;nbsp;&amp;nbsp; - (1.96 # se);&lt;/P&gt;&lt;P&gt;upper =xbeta&amp;nbsp;&amp;nbsp; + (1.96 # se); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the operation I get this on the log:&lt;/P&gt;&lt;P&gt;ERROR: (execution) Matrices do not conform to the operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; operation : # at line 15164 column 14&lt;/P&gt;&lt;P&gt; operands&amp;nbsp; : X, BETA&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp; 502 rows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 cols&amp;nbsp;&amp;nbsp;&amp;nbsp; (numeric)&lt;/P&gt;&lt;P&gt;BETA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 rows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 col&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (numeric)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also when I try to perform this operation x#cov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;operation : # at line 15164 column 80&lt;/P&gt;&lt;P&gt; operands&amp;nbsp; : X, COV&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp; 502 rows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 cols&amp;nbsp;&amp;nbsp;&amp;nbsp; (numeric)&lt;/P&gt;&lt;P&gt;COV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 rows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 cols&amp;nbsp;&amp;nbsp;&amp;nbsp; (numeric)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 16:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200949#M2073</guid>
      <dc:creator>AM2323</dc:creator>
      <dc:date>2015-04-21T16:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrices do not conform to the operation.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200950#M2074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;# is elementwise multiplication.&lt;/P&gt;&lt;P&gt;* is matrix multiplication&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 17:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200950#M2074</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-04-21T17:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrices do not conform to the operation.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200951#M2075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I change # to * I get the following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: (execution) Invalid argument or operand; contains missing values.&lt;/P&gt;&lt;P&gt; operation : * at line 15164 column 14&lt;/P&gt;&lt;P&gt; operands&amp;nbsp; : X, BETA&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp; 502 rows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 cols&amp;nbsp;&amp;nbsp;&amp;nbsp; (numeric)&lt;/P&gt;&lt;P&gt;BETA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 rows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 col&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (numeric)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 17:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200951#M2075</guid>
      <dc:creator>AM2323</dc:creator>
      <dc:date>2015-04-21T17:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrices do not conform to the operation.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200952#M2076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A href="http://blogs.sas.com/content/iml/2013/05/20/matri-multiplication.html"&gt;"Ways to multiply in the SAS/IML Language"&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 17:28:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200952#M2076</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-04-21T17:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrices do not conform to the operation.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200953#M2077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matrix multiplication does not support missing values.&amp;nbsp; If you are trying to mimic the usual OLS regression, you should remove the rows with missing values. This article might be useful:&lt;A href="http://blogs.sas.com/content/iml/2015/02/23/complete-cases.html" title="http://blogs.sas.com/content/iml/2015/02/23/complete-cases.html"&gt;http://blogs.sas.com/content/iml/2015/02/23/complete-cases.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 17:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrices-do-not-conform-to-the-operation/m-p/200953#M2077</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-04-21T17:32:30Z</dc:date>
    </item>
  </channel>
</rss>

