<?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: Calculating distance between observations in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calculating-distance-between-observations/m-p/86724#M519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, you can still write your own distance function by using the SAS/IML language, as shown in the following article: &lt;BR /&gt;&lt;A href="http://blogs.sas.com/content/iml/2013/03/27/compute-distance/" title="http://blogs.sas.com/content/iml/2013/03/27/compute-distance/"&gt; How to compute the distance between observations in SAS - The DO Loop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 10:25:57 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2013-03-27T10:25:57Z</dc:date>
    <item>
      <title>Calculating distance between observations</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calculating-distance-between-observations/m-p/86722#M517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set of, say 36 observations and wish to calculate the distance matrix for these observations.&amp;nbsp; Now I can do so with the use of a double do-loop, but this seems tedious (even though, for my purposes at this stage, computation time is negligible still).&amp;nbsp; I read that the "distance" operator can be used in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delta = distance(matrix, "L2");&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for, say, the Euclidian distance.&amp;nbsp; It seems like a nifty function, unfortunately on my SAS9.3 system, the log gives me an error saying "Invocation of unresolved module DISTANCE."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody have an idea why this is?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 05:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calculating-distance-between-observations/m-p/86722#M517</guid>
      <dc:creator>scrofungulus4</dc:creator>
      <dc:date>2013-03-24T05:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating distance between observations</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calculating-distance-between-observations/m-p/86723#M518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DISTANCE function was introduced in SAS/IML 12.1, which was released as part of SAS 9.3M2 (the second maintenance releaase): See &lt;A href="http://support.sas.com/software/93/" title="http://support.sas.com/software/93/"&gt;Support.sas.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 11:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calculating-distance-between-observations/m-p/86723#M518</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-03-24T11:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating distance between observations</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calculating-distance-between-observations/m-p/86724#M519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, you can still write your own distance function by using the SAS/IML language, as shown in the following article: &lt;BR /&gt;&lt;A href="http://blogs.sas.com/content/iml/2013/03/27/compute-distance/" title="http://blogs.sas.com/content/iml/2013/03/27/compute-distance/"&gt; How to compute the distance between observations in SAS - The DO Loop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 10:25:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calculating-distance-between-observations/m-p/86724#M519</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-03-27T10:25:57Z</dc:date>
    </item>
  </channel>
</rss>

