<?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 Solving least squares problem with sparse matrix in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Solving-least-squares-problem-with-sparse-matrix/m-p/187961#M1912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question is related to a question I posted in the SAS/STAT forum (&lt;A __default_attr="207873" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/" modifiedtitle="true" title="Re: Regression with large number of fixed effects in a sparse matrix"&gt;&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a large and sparse design matrix of ones and zeros (about 450k rows, 2500 columns). I'm trying to use this to run a regression, but SAS/STAT procedures are taking too long. (I ran proc hpmixed and it had not produced any results after 24 hours.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I read the data into Matlab as a sparse matrix, I can run a QR decomposition and invert the resulting matrix in less than 10 seconds. Is it possible to take this approach in IML? I feel like I must be missing something because it doesn't seem like this is a hard problem to solve, so I thought SAS would handle everything on the fly, but it seems that I'm going wrong somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2014 19:27:59 GMT</pubDate>
    <dc:creator>stoffprof</dc:creator>
    <dc:date>2014-04-21T19:27:59Z</dc:date>
    <item>
      <title>Solving least squares problem with sparse matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Solving-least-squares-problem-with-sparse-matrix/m-p/187961#M1912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question is related to a question I posted in the SAS/STAT forum (&lt;A __default_attr="207873" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/" modifiedtitle="true" title="Re: Regression with large number of fixed effects in a sparse matrix"&gt;&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a large and sparse design matrix of ones and zeros (about 450k rows, 2500 columns). I'm trying to use this to run a regression, but SAS/STAT procedures are taking too long. (I ran proc hpmixed and it had not produced any results after 24 hours.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I read the data into Matlab as a sparse matrix, I can run a QR decomposition and invert the resulting matrix in less than 10 seconds. Is it possible to take this approach in IML? I feel like I must be missing something because it doesn't seem like this is a hard problem to solve, so I thought SAS would handle everything on the fly, but it seems that I'm going wrong somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 19:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Solving-least-squares-problem-with-sparse-matrix/m-p/187961#M1912</guid>
      <dc:creator>stoffprof</dc:creator>
      <dc:date>2014-04-21T19:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Solving least squares problem with sparse matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Solving-least-squares-problem-with-sparse-matrix/m-p/187962#M1913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your MATLAB example, if X = QR, then R and Q are dense 2500x2500 matrices, So I guess you are asking whether IML has a sparse QR decomposition?&amp;nbsp; No, it does not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 20:56:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Solving-least-squares-problem-with-sparse-matrix/m-p/187962#M1913</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-04-21T20:56:08Z</dc:date>
    </item>
  </channel>
</rss>

