<?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: How to create a distance matrix in JMP PRO 13 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/667616#M85580</link>
    <description>&lt;P&gt;hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11247"&gt;@connquest&lt;/a&gt; ,&lt;BR /&gt;in the past we had this discussion:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Distance-Calculation-using-Latitude-and-Longitude/m-p/19258#M17562" target="_blank"&gt;https://community.jmp.com/t5/Discussions/Distance-Calculation-using-Latitude-and-Longitude/m-p/19258#M17562&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;which is useful in some application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 22:43:05 GMT</pubDate>
    <dc:creator>ron_horne</dc:creator>
    <dc:date>2023-08-11T22:43:05Z</dc:date>
    <item>
      <title>How to create a distance matrix in JMP PRO 13</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/52819#M29915</link>
      <description>&lt;P&gt;I have a sall data table and I'm trying to figure out if there is a way to have JMP Pro 13 create a distance matx against some raw data and then for the standardized data to see if normalizing the data changes which two records are farthest from each other in termsf Euclidean distance?&amp;nbsp; Can someone point me in the direction of where I go in the JMP tool to have it generate the distance matrix?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 16:58:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/52819#M29915</guid>
      <dc:creator>connquest</dc:creator>
      <dc:date>2018-03-08T16:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a distance matrix in JMP PRO 13</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/52822#M29916</link>
      <description>&lt;P&gt;There's a scripting command for that, Distance().&amp;nbsp; Check out the documentation in the Scripting Index (Help &amp;gt; Scripting Index).&lt;/P&gt;&lt;P&gt;The trick will just be using the same vector or matrix for both arguments.&amp;nbsp; Here's some examples:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//1-D example
x = [1, 2, 3, 4];
D = sqrt(Distance( x, x )); 

//2-D example
x2 = [1 1, 2 2, 3 3, 4 4];
D = sqrt(Distance( x2, x2 )); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If your data is in a table, see the commands Get As Matrix (to get an entire data table as a matrix) and Get Values (e.g. col1 &amp;lt;&amp;lt; Get Values) to get a specific column as a vector.&amp;nbsp; You can also find these in the Scripting Index and Spripting Guide (Help &amp;gt; Books).&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 17:25:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/52822#M29916</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-03-08T17:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a distance matrix in JMP PRO 13</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/667524#M85558</link>
      <description>&lt;P&gt;This is an older post, but doing some research on some distance based methods, and came across this. &amp;nbsp;In more recent versions of JMP, you can create a distance matrix table using the Hierarchical Clustering platform, available as a command under the red triangle menu. &amp;nbsp;Here is a JSL example that does an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Birth Death Subset.jmp" );
obj = dt &amp;lt;&amp;lt; Hierarchical Cluster(
	Y( :birth, :death ),
	Label( :country ),
	Save Distance Matrix
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Aug 2023 16:42:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/667524#M85558</guid>
      <dc:creator>SamGardner</dc:creator>
      <dc:date>2023-08-11T16:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a distance matrix in JMP PRO 13</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/667616#M85580</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11247"&gt;@connquest&lt;/a&gt; ,&lt;BR /&gt;in the past we had this discussion:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Distance-Calculation-using-Latitude-and-Longitude/m-p/19258#M17562" target="_blank"&gt;https://community.jmp.com/t5/Discussions/Distance-Calculation-using-Latitude-and-Longitude/m-p/19258#M17562&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;which is useful in some application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 22:43:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-distance-matrix-in-JMP-PRO-13/m-p/667616#M85580</guid>
      <dc:creator>ron_horne</dc:creator>
      <dc:date>2023-08-11T22:43:05Z</dc:date>
    </item>
  </channel>
</rss>

