<?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: SAS/IML and SAS/STAT in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161738#M1536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have already done the calculation of coefficients in PROC IML, then you could easily compute residuals in PROC IML as well. Using SAS/STAT in this situation only complicates things, in my opinion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 13:32:26 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2014-09-26T13:32:26Z</dc:date>
    <item>
      <title>SAS/IML and SAS/STAT</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161737#M1535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, &lt;/P&gt;&lt;P&gt;I wrote a sas/iml code which compute a coefficients matrix of three OLS regressions. (VAR model)&lt;/P&gt;&lt;P&gt;Is it possible to plug in this matrix in VAR model at SAS/STAT in order to calculate the residuals? (residual=y-yhat)&lt;/P&gt;&lt;P&gt;and then the covariance matrix between the residuals?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually the SAS regression procedures compute the matrix of the coefficients. &lt;/P&gt;&lt;P&gt;Here I want to give the X, coefficient's matrix and then to compute the residuals.&lt;/P&gt;&lt;P&gt;I'll appreciate any information,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Orit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 13:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161737#M1535</guid>
      <dc:creator>oriti</dc:creator>
      <dc:date>2014-09-26T13:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/IML and SAS/STAT</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161738#M1536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have already done the calculation of coefficients in PROC IML, then you could easily compute residuals in PROC IML as well. Using SAS/STAT in this situation only complicates things, in my opinion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 13:32:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161738#M1536</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-09-26T13:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/IML and SAS/STAT</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161739#M1537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You right in general.&lt;/P&gt;&lt;P&gt;But I have a VAR model which is in my case three equation and can be more.&lt;/P&gt;&lt;P&gt;So it will be really efficient if it is possible to plug in the coefficient matrix into SAS/STAT.&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 13:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161739#M1537</guid>
      <dc:creator>oriti</dc:creator>
      <dc:date>2014-09-26T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/IML and SAS/STAT</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161740#M1538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing the details of what you are doing, I can't see how it would be more efficient to compute coefficients in IML and then move the coefficients somewhere else for calculation of residuals. You have everything you need already in IML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you must use SAS/STAT, use PROC SCORE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 14:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161740#M1538</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-09-26T14:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/IML and SAS/STAT</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161741#M1539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Being possible and being a good idea are two different things. Yes, it is possible. However, I agree with &lt;A __default_attr="71595" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; that evaluating (scoring) the model in SAS/IML will probably be simpler, since evaluating a model is just matrix multiplication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you decide to go the SAS/STAT route, look into PROC SCORE. You would have to write the coefficients to a data set in the form that PROC SCORE could consume, as described here: &lt;A href="http://support.sas.com/documentation/cdl/en/statug/66859/HTML/default/viewer.htm#statug_score_overview02.htm" title="http://support.sas.com/documentation/cdl/en/statug/66859/HTML/default/viewer.htm#statug_score_overview02.htm"&gt;SAS/STAT(R) 13.1 User's Guide&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 14:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-IML-and-SAS-STAT/m-p/161741#M1539</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-09-26T14:20:53Z</dc:date>
    </item>
  </channel>
</rss>

