<?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: Better way to plot multiple FitY by X plots in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337502#M58500</link>
    <description>&lt;P&gt;Another platform that you might explore is response screening. I find it a helpful tool for looking at many fit y by x's. See&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/15.2/?os=mac&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#page/jmp/response-screening.shtml#" target="_self"&gt;response screening documentation&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 17:32:03 GMT</pubDate>
    <dc:creator>KarenC</dc:creator>
    <dc:date>2020-11-25T17:32:03Z</dc:date>
    <item>
      <title>Better way to plot multiple FitY by X plots</title>
      <link>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337332#M58483</link>
      <description>&lt;P&gt;My original source table is the tall table with ID, group and tons of params. I want to plot all params Fit Y by X (Group A vs Group B group by ID). The traditional way i do is i change the tall table to wide table and plot one params at a time. But if i have hundreds of params, it is not a good solution. Is there any better or smarter way to do this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached sample jmp files&amp;nbsp;&lt;/P&gt;&lt;P&gt;tall table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 277px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28599i931CCB53E5E50851/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;switch to wide table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28598i323D2EBEB0E083CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Plot paramA A vs ParamA B&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28597i9F24D0428DA4B6AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:08:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337332#M58483</guid>
      <dc:creator>OneNorthJMP</dc:creator>
      <dc:date>2023-06-11T11:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Better way to plot multiple FitY by X plots</title>
      <link>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337361#M58487</link>
      <description>&lt;P&gt;Taking your example data, I first split the data into your Wide form, and then I took that data table and did a multi series stack&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tables=&amp;gt;Stack&lt;/P&gt;
&lt;P&gt;specifying a 2 column stack&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="multi1.PNG" style="width: 467px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28602iFC2904E76D2A9A3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="multi1.PNG" alt="multi1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I then added a simple new column called Analysis which is a simple concatenation of the Label and Label 2 columns&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="multi2.PNG" style="width: 604px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28603iF33FE1BF00C58B71/image-size/large?v=v2&amp;amp;px=999" role="button" title="multi2.PNG" alt="multi2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Finally, I ran the Fit Y by X specifying Data and Data 2 as the Y and X columns and then setting the Analysis column as the By column, giving the results below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="multi3.PNG" style="width: 510px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28604iAADD9D08CE4F6BB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="multi3.PNG" alt="multi3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 14:01:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337361#M58487</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-11-25T14:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Better way to plot multiple FitY by X plots</title>
      <link>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337378#M58488</link>
      <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;How you do the 1st step - specifying a 2 column stack? Can you further elaborate?</description>
      <pubDate>Wed, 25 Nov 2020 14:35:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337378#M58488</guid>
      <dc:creator>OneNorthJMP</dc:creator>
      <dc:date>2020-11-25T14:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Better way to plot multiple FitY by X plots</title>
      <link>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337386#M58489</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;is referencing the 'multiple series stack' option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-11-25 at 15.06.32.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/28610i32E1C259ADA6F689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-11-25 at 15.06.32.png" alt="Screenshot 2020-11-25 at 15.06.32.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 15:19:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337386#M58489</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2020-11-25T15:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Better way to plot multiple FitY by X plots</title>
      <link>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337502#M58500</link>
      <description>&lt;P&gt;Another platform that you might explore is response screening. I find it a helpful tool for looking at many fit y by x's. See&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/15.2/?os=mac&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#page/jmp/response-screening.shtml#" target="_self"&gt;response screening documentation&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 17:32:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337502#M58500</guid>
      <dc:creator>KarenC</dc:creator>
      <dc:date>2020-11-25T17:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Better way to plot multiple FitY by X plots</title>
      <link>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337572#M58512</link>
      <description>&lt;P&gt;Same concept as&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;but I would arrange the table just a little differently by stacking to make a very long table, then splitting by the group column.&amp;nbsp; Finally use the parameter in the by column of a bivariate script:&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);

Long = Data Table( "DEBUG" ) &amp;lt;&amp;lt; Stack(
	columns( :paramA, :paramB, :paramC ),
	Source Label Column( "Parameter" ),
	Stacked Data Column( "Data" )
);

repivot = Long &amp;lt;&amp;lt; Split(
	Split By( :GROUP ),
	Split( :Data ),
	Group( :Parameter, :ID ),
	Sort by Column Property
);

biv = Bivariate( Y( :A ), X( :B ), Summary Statistics( 1 ), By( :Parameter ) );

dtSum = (biv &amp;lt;&amp;lt; XPath("//TableBox"))[1][1] &amp;lt;&amp;lt; make combined data table;

dtSum &amp;lt;&amp;lt; Select Where(:Column 1 != "Correlation");
dtSum &amp;lt;&amp;lt; Delete Rows;
dtSum &amp;lt;&amp;lt; Set Name( "Results" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then the resulting table can be sorted to find the interesting correlations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The response screening platform certainly seems promising though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 23:14:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Better-way-to-plot-multiple-FitY-by-X-plots/m-p/337572#M58512</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2020-11-25T23:14:31Z</dc:date>
    </item>
  </channel>
</rss>

