<?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 How to reproduce SAS Multidimensional Scaling (MDS) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-reproduce-SAS-Multidimensional-Scaling-MDS/m-p/535640#M75794</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;I am doing nonmetric multidimensional scaling using both SAS and JMP.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My input for JMP is an n*n distance matrix (or dissimilarity matrix&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;). I was following the steps: Analyze--&amp;gt;Multivariate methods--&amp;gt;Multidimensional scaling and set the number of dimensions to 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In SAS, I was using the proc mds procedure. My input matrix is the same lower triangle dissimilarity matrix&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;mds&lt;/STRONG&gt;&amp;nbsp;data=my_matrix&amp;nbsp;level=ordinal&amp;nbsp;out=mds_out&amp;nbsp;dimens=&lt;STRONG&gt;5&lt;/STRONG&gt;&amp;nbsp;nonorm;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;id&amp;nbsp;NAME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#242424"&gt;I am comparing the coordinate&amp;nbsp;values for my solution in JMP and SAS.&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;The values in SAS results are different from those in JMP results. They are similar, but they differ in numerical values. I am guessing it is due to the starting values and number of iterations. Is there a way to match the results?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Meanwhile, the final stress value in JMP and SAS are very different. In SAS, I am using MAXITER=100. In the SAS iteration history, the stress value in SAS seems to match at ITER=2 to final stress value in JMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I set maxiter=1 in SAS&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;, the final configuration in JMP and SAS still are still quite different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Appreciate if someone can let me what options to set in SAS or JMP (???) to match the MDS results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Jun 2023 00:53:54 GMT</pubDate>
    <dc:creator>huangr2</dc:creator>
    <dc:date>2023-06-09T00:53:54Z</dc:date>
    <item>
      <title>How to reproduce SAS Multidimensional Scaling (MDS)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-reproduce-SAS-Multidimensional-Scaling-MDS/m-p/535640#M75794</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;I am doing nonmetric multidimensional scaling using both SAS and JMP.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My input for JMP is an n*n distance matrix (or dissimilarity matrix&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;). I was following the steps: Analyze--&amp;gt;Multivariate methods--&amp;gt;Multidimensional scaling and set the number of dimensions to 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In SAS, I was using the proc mds procedure. My input matrix is the same lower triangle dissimilarity matrix&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;mds&lt;/STRONG&gt;&amp;nbsp;data=my_matrix&amp;nbsp;level=ordinal&amp;nbsp;out=mds_out&amp;nbsp;dimens=&lt;STRONG&gt;5&lt;/STRONG&gt;&amp;nbsp;nonorm;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;id&amp;nbsp;NAME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#242424"&gt;I am comparing the coordinate&amp;nbsp;values for my solution in JMP and SAS.&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;The values in SAS results are different from those in JMP results. They are similar, but they differ in numerical values. I am guessing it is due to the starting values and number of iterations. Is there a way to match the results?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Meanwhile, the final stress value in JMP and SAS are very different. In SAS, I am using MAXITER=100. In the SAS iteration history, the stress value in SAS seems to match at ITER=2 to final stress value in JMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I set maxiter=1 in SAS&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;, the final configuration in JMP and SAS still are still quite different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Appreciate if someone can let me what options to set in SAS or JMP (???) to match the MDS results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:53:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-reproduce-SAS-Multidimensional-Scaling-MDS/m-p/535640#M75794</guid>
      <dc:creator>huangr2</dc:creator>
      <dc:date>2023-06-09T00:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to reproduce SAS Multidimensional Scaling (MDS)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-reproduce-SAS-Multidimensional-Scaling-MDS/m-p/539565#M76052</link>
      <description>&lt;P&gt;Thanks very much for your question! JMP Technical support is on the case as I am sure you are aware, and I look forward to updating this post with some additional information for the benefit of our users who frequent the JMP User Community.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 18:22:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-reproduce-SAS-Multidimensional-Scaling-MDS/m-p/539565#M76052</guid>
      <dc:creator>PatrickGiuliano</dc:creator>
      <dc:date>2022-09-01T18:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to reproduce SAS Multidimensional Scaling (MDS)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-reproduce-SAS-Multidimensional-Scaling-MDS/m-p/545874#M76414</link>
      <description>&lt;P&gt;It will not be possible to exactly match the JMP MDS output to the SAS PROC MDS output. JMP's algorithm was written independently from SAS. Also, the initial and final estimates from PROC MDS are normalized by default. Also, we wanted to point out that in multidimensional scaling models, the parameter estimates are not uniquely determined. The estimates can be transformed in various ways without changing their 'badness' of fit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some food for thought - attached is a SAS program file created using the JMP sample data, Flight Distances. If you specify the NONORM option, you can see the estimates are close to JMP’s results but with opposite signs. However, for MDS, the most important output is the Biplot. Although the estimates (or coordinates) are different, the Biplot from SAS and JMP are the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the Stress statistic, JMP presents &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/stress.shtml#ww338764" target="_self"&gt;Kruskal’s Stress, Type I&lt;/A&gt;, or simply Stress1. It should be fairly close to SAS's output (see &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_mds_syntax01.htm" target="_self"&gt;documentation here&lt;/A&gt;) if the Formula option is set to 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PatrickGiuliano_0-1663563070692.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45584iAF9F916753F4FC11/image-size/large?v=v2&amp;amp;px=999" role="button" title="PatrickGiuliano_0-1663563070692.png" alt="PatrickGiuliano_0-1663563070692.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Sincerely, JMP Technical Support.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Response courtesy of&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3301"&gt;@sseligman&lt;/a&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 04:58:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-reproduce-SAS-Multidimensional-Scaling-MDS/m-p/545874#M76414</guid>
      <dc:creator>PatrickGiuliano</dc:creator>
      <dc:date>2022-09-19T04:58:24Z</dc:date>
    </item>
  </channel>
</rss>

