<?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 combined data table from multiple bivariate plot fit model using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-combined-data-table-from-multiple-bivariate-plot-fit/m-p/517369#M74364</link>
    <description>&lt;P&gt;I've a multiple bivariate plot and would like to make all group fit model summary into data table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script is working when it's pointing to one group but not working when point to multiple group&lt;/P&gt;&lt;P&gt;Appreciate if anyone could help on this. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script able to output data table for one group&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );

biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :Reference_A  ),
	X( :Reference_B ),
	Fit Line( {Line Color( {212, 73, 88} )} ),
	Fit Special(
		Intercept( 0 ),
		Slope( 1 ),
		Centered Polynomial( 0 ),
		{Line Color( {61, 174, 70} )}
	),
    	Where( :Label == "FrequencyA" )
);
reportbiv = biv &amp;lt;&amp;lt; Report;
dt = reportbiv["Summary of Fit"][1] &amp;lt;&amp;lt; make combined data table;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;No output data table while pointing to multiple group&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );

biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :Reference_A  ),
	X( :Reference_B ),
	Fit Line( {Line Color( {212, 73, 88} )} ),
	Fit Special(
		Intercept( 0 ),
		Slope( 1 ),
		Centered Polynomial( 0 ),
		{Line Color( {61, 174, 70} )}
	),
   	By( :Label ) /*Contained multiple group*/
);
reportbiv = biv &amp;lt;&amp;lt; Report;
dt = reportbiv["Summary of Fit"][1] &amp;lt;&amp;lt; make combined data table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:50:41 GMT</pubDate>
    <dc:creator>LipYeong</dc:creator>
    <dc:date>2023-06-10T23:50:41Z</dc:date>
    <item>
      <title>How to combined data table from multiple bivariate plot fit model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-combined-data-table-from-multiple-bivariate-plot-fit/m-p/517369#M74364</link>
      <description>&lt;P&gt;I've a multiple bivariate plot and would like to make all group fit model summary into data table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script is working when it's pointing to one group but not working when point to multiple group&lt;/P&gt;&lt;P&gt;Appreciate if anyone could help on this. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script able to output data table for one group&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );

biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :Reference_A  ),
	X( :Reference_B ),
	Fit Line( {Line Color( {212, 73, 88} )} ),
	Fit Special(
		Intercept( 0 ),
		Slope( 1 ),
		Centered Polynomial( 0 ),
		{Line Color( {61, 174, 70} )}
	),
    	Where( :Label == "FrequencyA" )
);
reportbiv = biv &amp;lt;&amp;lt; Report;
dt = reportbiv["Summary of Fit"][1] &amp;lt;&amp;lt; make combined data table;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;No output data table while pointing to multiple group&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );

biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :Reference_A  ),
	X( :Reference_B ),
	Fit Line( {Line Color( {212, 73, 88} )} ),
	Fit Special(
		Intercept( 0 ),
		Slope( 1 ),
		Centered Polynomial( 0 ),
		{Line Color( {61, 174, 70} )}
	),
   	By( :Label ) /*Contained multiple group*/
);
reportbiv = biv &amp;lt;&amp;lt; Report;
dt = reportbiv["Summary of Fit"][1] &amp;lt;&amp;lt; make combined data table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:50:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-combined-data-table-from-multiple-bivariate-plot-fit/m-p/517369#M74364</guid>
      <dc:creator>LipYeong</dc:creator>
      <dc:date>2023-06-10T23:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to combined data table from multiple bivariate plot fit model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-combined-data-table-from-multiple-bivariate-plot-fit/m-p/517391#M74370</link>
      <description>&lt;P&gt;The Bivariate report produces a separate output object for each level of the By group.&amp;nbsp; Therefore, the reference to each level of the report structure is required.&amp;nbsp; If you change your JSL to the below, it will point to the 1st of the multi level report structures and&amp;nbsp; generate the output data table&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;reportbiv = biv[1] &amp;lt;&amp;lt; Report;
dt = reportbiv["Summary of Fit"][1] &amp;lt;&amp;lt; make combined data table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jul 2022 11:15:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-combined-data-table-from-multiple-bivariate-plot-fit/m-p/517391#M74370</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-07-04T11:15:32Z</dc:date>
    </item>
  </channel>
</rss>

