<?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: Doing a partial echelon using IML in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876204#M10967</link>
    <description>Could post a real example ,include the data you have and the answer you want to see ?</description>
    <pubDate>Wed, 17 May 2023 13:10:48 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-05-17T13:10:48Z</dc:date>
    <item>
      <title>Doing a partial echelon using IML</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876147#M10965</link>
      <description>&lt;P&gt;I have a data set that has the form:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a=N x M data set (N&amp;gt;M)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;b=NxP data set&amp;nbsp;&lt;/P&gt;&lt;P&gt;which forms an equation&amp;nbsp;&lt;/P&gt;&lt;P&gt;aX=b,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to solve this I am using the IML echelon function, but unfortunately my data does not seem to be perfect (possible rounding errors) as the echelon over solves my matrix [a|b] and row reduces too far, is there a possible way to identify what rows to pick so that I could do an inversion solve or to truncate the variables to ensure rounding errors are not an issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 02:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876147#M10965</guid>
      <dc:creator>Daniel_MM</dc:creator>
      <dc:date>2023-05-17T02:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial echelon using IML</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876200#M10966</link>
      <description>&lt;P&gt;Why not post it at IML forum?&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;might give you a hand .&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 12:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876200#M10966</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-05-17T12:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial echelon using IML</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876204#M10967</link>
      <description>Could post a real example ,include the data you have and the answer you want to see ?</description>
      <pubDate>Wed, 17 May 2023 13:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876204#M10967</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-05-17T13:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial echelon using IML</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876221#M10968</link>
      <description>&lt;P&gt;If N &amp;gt; M&amp;nbsp; (more rows than columns), then the system is almost surely overdetermined and you need to compute a least squares solution.&lt;/P&gt;
&lt;P&gt;There are many ways to solve least squares systems. A few are discussed here:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2022/10/19/solve-rank-deficient-system.html" target="_blank"&gt;On solving rank-deficient systems of equations in SAS - The DO Loop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:44:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876221#M10968</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-05-17T13:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial echelon using IML</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876245#M10969</link>
      <description>&lt;P&gt;PS: If your data matrix really does have a unique solution to Ax=b, then you can use ANY set of M rows to find x.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876245#M10969</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-05-17T14:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial echelon using IML</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876343#M10970</link>
      <description>&lt;P&gt;I have verified that the equations have a unique solution, but unfortunately some variables only have a few entries in the entire system so I cant just take a random set of rows, I am attempting to use a Moore-Penrose generalised inverse to solve the system which seems to be working, thanks for the swift reply though, great to see the community so active.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 22:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Doing-a-partial-echelon-using-IML/m-p/876343#M10970</guid>
      <dc:creator>Daniel_MM</dc:creator>
      <dc:date>2023-05-17T22:47:22Z</dc:date>
    </item>
  </channel>
</rss>

