<?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 remove summary statistics from Journal using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-remove-summary-statistics-from-Journal-using-JSL/m-p/281135#M54443</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to remove summary statistics from a journal using JSL. Earlier I received help about removing statistics just for one graph but I ran into problems when I had multiple graphs in a journal. Here is a snapshot of one graph in my journal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_2_1-1595433273216.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25662i9B8C58D54680A3C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_2_1-1595433273216.png" alt="simon_2_1-1595433273216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried removing the statistics using this code but I am getting an error of:&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="simon_2_2-1595433394057.png" style="width: 1310px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25663i48EAC81C6ED49174/image-dimensions/1310x36?v=v2" width="1310" height="36" role="button" title="simon_2_2-1595433394057.png" alt="simon_2_2-1595433394057.png" /&gt;&lt;/span&gt;&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\Big Class.JMP" );

dt1 = Logistic( Y( :sex ), X( :height ), By(:age) );

dt1 &amp;lt;&amp;lt; journal ();

Report( dt1 )["Iterations"] &amp;lt;&amp;lt; delete;
Report( dt1 )["Whole Model Test"] &amp;lt;&amp;lt; delete;
Report( dt1 )["Fit Details"] &amp;lt;&amp;lt; delete;
Report( dt1 )["Parameter Estimates"] &amp;lt;&amp;lt; delete;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:32:57 GMT</pubDate>
    <dc:creator>simon_2</dc:creator>
    <dc:date>2023-06-09T23:32:57Z</dc:date>
    <item>
      <title>How to remove summary statistics from Journal using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-remove-summary-statistics-from-Journal-using-JSL/m-p/281135#M54443</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to remove summary statistics from a journal using JSL. Earlier I received help about removing statistics just for one graph but I ran into problems when I had multiple graphs in a journal. Here is a snapshot of one graph in my journal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_2_1-1595433273216.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25662i9B8C58D54680A3C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_2_1-1595433273216.png" alt="simon_2_1-1595433273216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried removing the statistics using this code but I am getting an error of:&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="simon_2_2-1595433394057.png" style="width: 1310px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25663i48EAC81C6ED49174/image-dimensions/1310x36?v=v2" width="1310" height="36" role="button" title="simon_2_2-1595433394057.png" alt="simon_2_2-1595433394057.png" /&gt;&lt;/span&gt;&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\Big Class.JMP" );

dt1 = Logistic( Y( :sex ), X( :height ), By(:age) );

dt1 &amp;lt;&amp;lt; journal ();

Report( dt1 )["Iterations"] &amp;lt;&amp;lt; delete;
Report( dt1 )["Whole Model Test"] &amp;lt;&amp;lt; delete;
Report( dt1 )["Fit Details"] &amp;lt;&amp;lt; delete;
Report( dt1 )["Parameter Estimates"] &amp;lt;&amp;lt; delete;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:32:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-remove-summary-statistics-from-Journal-using-JSL/m-p/281135#M54443</guid>
      <dc:creator>simon_2</dc:creator>
      <dc:date>2023-06-09T23:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove summary statistics from Journal using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-remove-summary-statistics-from-Journal-using-JSL/m-p/281153#M54444</link>
      <description>&lt;P&gt;You need to spend some time reading about Tree Displays in the Scripting Guide.&amp;nbsp; When an object is moved to a Journal, to reference it, you now have to point to the journal, and then go to the location under the Journal, which will be different than in the Report Output.&amp;nbsp; See the script below&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

dt1 = dt &amp;lt;&amp;lt; Logistic( Y( :sex ), X( :height ), By( :age ) );

jour = New Window( "The Journal", &amp;lt;&amp;lt;journal );


// The Logistic platform generates a separate brance in the Tree structure
// for each By Group, therefore they each have to be moved
For( i = 1, i &amp;lt;= N Items( dt1 ), i++,
	Report( dt1[i] ) &amp;lt;&amp;lt; journal
);

// The Tree Structure is changed once you move the output to the Journal
// It is no longer 5 branches, but is instead one long branch, with 
// multiple Iterations, Whole Model Test, etc.
// Deleting them this way, removes first one, which makes the
// second one now the first, which is deleted during the next
// loop of the For() loop
For( i = 1, i &amp;lt;= N Items( dt1 ), i++,
	Jour["Iterations"] &amp;lt;&amp;lt; delete;
	Jour["Whole Model Test"] &amp;lt;&amp;lt; delete;
	Jour["Fit Details"] &amp;lt;&amp;lt; delete;
	Jour["Parameter Estimates"] &amp;lt;&amp;lt; delete;
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Jul 2020 16:25:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-remove-summary-statistics-from-Journal-using-JSL/m-p/281153#M54444</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-07-22T16:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove summary statistics from Journal using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-remove-summary-statistics-from-Journal-using-JSL/m-p/281164#M54446</link>
      <description>Amazing, txnelson. I am now reading about Tree Displays in the Scripting guide.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Wed, 22 Jul 2020 16:56:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-remove-summary-statistics-from-Journal-using-JSL/m-p/281164#M54446</guid>
      <dc:creator>simon_2</dc:creator>
      <dc:date>2020-07-22T16:56:52Z</dc:date>
    </item>
  </channel>
</rss>

