<?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 I need to compare multiple groups in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630702#M82890</link>
    <description>&lt;P&gt;Hi - I have a table (n ~ 12,000 rows) with a column (GROUP_NUM) that identifies the group to which the row belongs (n = 54 possible groups).&amp;nbsp; I have another column (COMPOUND_X) that contains the contaminant concentration for that row.&amp;nbsp; I am trying to compare the contaminant concentrations associated with all the rows for each group. I.e. which groups are most alike?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; I am assuming my data are not normally distributed. &amp;nbsp; I am using JMP version 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do this in JMP?&amp;nbsp; Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what my table looks like:&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="learning_JSL_0-1683744223237.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52700i0BFD34F303073B26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="learning_JSL_0-1683744223237.png" alt="learning_JSL_0-1683744223237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 18:45:42 GMT</pubDate>
    <dc:creator>learning_JSL</dc:creator>
    <dc:date>2023-05-10T18:45:42Z</dc:date>
    <item>
      <title>I need to compare multiple groups</title>
      <link>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630702#M82890</link>
      <description>&lt;P&gt;Hi - I have a table (n ~ 12,000 rows) with a column (GROUP_NUM) that identifies the group to which the row belongs (n = 54 possible groups).&amp;nbsp; I have another column (COMPOUND_X) that contains the contaminant concentration for that row.&amp;nbsp; I am trying to compare the contaminant concentrations associated with all the rows for each group. I.e. which groups are most alike?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; I am assuming my data are not normally distributed. &amp;nbsp; I am using JMP version 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do this in JMP?&amp;nbsp; Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what my table looks like:&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="learning_JSL_0-1683744223237.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52700i0BFD34F303073B26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="learning_JSL_0-1683744223237.png" alt="learning_JSL_0-1683744223237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 18:45:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630702#M82890</guid>
      <dc:creator>learning_JSL</dc:creator>
      <dc:date>2023-05-10T18:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: I need to compare multiple groups</title>
      <link>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630716#M82891</link>
      <description>&lt;P&gt;Assuming it is available in JMP 12 (I know it was available in at least JMP 14), you could use the Nonparametric Multiple Comparisons in the Fit Y by X platform. This will give you a table of similarities and doesn't assume normally distributed data. I've attached a subset of the sample file Probe.jmp with a script saved to the data table that does this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jed_Campbell_0-1683746061351.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52702i15D9CE66DE19AE6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jed_Campbell_0-1683746061351.png" alt="Jed_Campbell_0-1683746061351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 19:16:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630716#M82891</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2023-05-10T19:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: I need to compare multiple groups</title>
      <link>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630736#M82893</link>
      <description>&lt;P&gt;Thanks very much Jed!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 20:19:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630736#M82893</guid>
      <dc:creator>learning_JSL</dc:creator>
      <dc:date>2023-05-10T20:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: I need to compare multiple groups</title>
      <link>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630741#M82894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/31342"&gt;@learning_JSL&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The platform mentioned by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/610"&gt;@Jed_Campbell&lt;/a&gt;&amp;nbsp;is the right place to start.&lt;BR /&gt;However, due to the high number of groups (more than 50) involved in this multiple comparison, I would highly recommend to use the "Steel-Dwass" test (instead of Wilcoxon) if you are interested in all comparisons, or "Steel with Control" if you want to compare each group to a Control group (provided these tests are available in JMP 12).&lt;/P&gt;
&lt;P&gt;These tests are available in the same menu, but protect against overall error rate :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You have specified an error rate (alpha = 0,05 by default) for a two groups comparison, so your confidence level in this 2 groups comparison test will be 1-alpha = 0,95 (95% confidence).&lt;/LI&gt;
&lt;LI&gt;The "problem" here is that you have 54 possible groups, creating 1431 comparisons involving each possible pair of groups. You overall confidence level for all comparisons done will be (without correction or adjustment) :
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(1 - alpha) ^ (Total number of comparisons)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And with 1431 possible comparisons, your overall confidence level will be close to 0 (1,32.10^-32)...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the risk of doing type I error (false positive, falsely rejecting the null hypothesis that there is no statistically significant mean difference for pairs of groups, aka detecting falsely a significant difference between means of groups pairs) is quite high if you don't use the right test or adjust your confidence level. Steel-Dwass is a non-parametric test controlling the overall error rate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more info about these tests, you can look at the help section :&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.1/#page/jmp/nonparametric-multiple-comparisons-reports.shtml?os=win&amp;amp;source=application#ww863720" target="_blank" rel="noopener"&gt;Nonparametric Multiple Comparisons Reports (jmp.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this answer will help you choose the most appropriate statistical test,&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 20:39:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630741#M82894</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-05-10T20:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: I need to compare multiple groups</title>
      <link>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630745#M82896</link>
      <description>&lt;P&gt;Excellent advice and most appreciated Victor.&amp;nbsp; Thanks for circling back on this!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 20:42:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/630745#M82896</guid>
      <dc:creator>learning_JSL</dc:creator>
      <dc:date>2023-05-10T20:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: I need to compare multiple groups</title>
      <link>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/631034#M82927</link>
      <description>&lt;P&gt;I suggest spending time visualizing the data before investing a lot of time in numerical analyses. Plotting your data will enhance your understanding, suggest patterns, and help identify anomalies. JMP makes such interactive exploration easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also use unsupervised learning techniques like clustering to discover similar and dissimilar groups.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:33:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/I-need-to-compare-multiple-groups/m-p/631034#M82927</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-05-11T13:33:16Z</dc:date>
    </item>
  </channel>
</rss>

