<?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: Idempotent matrix in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/726281#M5431</link>
    <description>&lt;P&gt;If your question is answered, please mark an answer as "Accepted" and mark the question as "Resolved." Otherwise, please let us know what additional information you need.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 13:27:29 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-03-15T13:27:29Z</dc:date>
    <item>
      <title>Idempotent matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719883#M5409</link>
      <description>&lt;P&gt;How to create idempotent matrix in sas/IML&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 13:03:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719883#M5409</guid>
      <dc:creator>Abyt</dc:creator>
      <dc:date>2021-02-17T13:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719888#M5410</link>
      <description>&lt;P&gt;Any&amp;nbsp;&lt;SPAN&gt;idempotent matrix?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 13:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719888#M5410</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-02-17T13:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719889#M5411</link>
      <description>&lt;P&gt;Moved this thread to the IML Forum.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 13:13:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719889#M5411</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-02-17T13:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719891#M5412</link>
      <description>&lt;P&gt;&lt;SPAN&gt;One way to generate an idempotent matrix is to use the formula:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;M=I-(1/n)*ii`&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where I is the identity matrix, n is the number of rows, and i is a column vector of 1s of dimension n.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This matrix is by definition orthogonal so that the rows are independent.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have included an example below of how this can be done in IML.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;proc iml;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;n=5;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i=j(n,1,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;M=i(5)-((1/n)*i*i`);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;m2=m*m;*check for idempotency;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print m m2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 13:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719891#M5412</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-02-17T13:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719893#M5413</link>
      <description>&lt;P&gt;To create a matrix in SAS/IML, use curly brackets to begin/end the matrix. Use spaces to separate columns and use commas to indicate a new row. For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;

A = { 1  0,
        0   1};
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2021 13:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/719893#M5413</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-02-17T13:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/720270#M5414</link>
      <description>Thank you for your response. I need SAS/IML code to generate any idempotent matrix.</description>
      <pubDate>Thu, 18 Feb 2021 17:09:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/720270#M5414</guid>
      <dc:creator>Abyt</dc:creator>
      <dc:date>2021-02-18T17:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/726281#M5431</link>
      <description>&lt;P&gt;If your question is answered, please mark an answer as "Accepted" and mark the question as "Resolved." Otherwise, please let us know what additional information you need.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 13:27:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Idempotent-matrix/m-p/726281#M5431</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-03-15T13:27:29Z</dc:date>
    </item>
  </channel>
</rss>

