cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

How to remove summary statistics using JSL

simon_2
Level III

Hello users,

How do I remove graph summary statistics using JSL? 

This is the ouput.

 

simon_2_0-1595381248836.png

Here is the desired output:

simon_2_1-1595381326745.png

 

I want to do this using JSL. Here is my simple JSL script to generate the graph from Big Class.JMP data:

 

 

dt = Open("C:\users\...........\Big Class.JMP");
dt1 = Logistic( Y( :sex ), X( :height ) );

 

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User


Re: How to remove summary statistics using JSL

Here is a very simple way to do it

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.JMP" );

dt1 = Logistic( Y( :sex ), X( :height ) );
Report( dt1 )["Iterations"] << delete;
Report( dt1 )["Whole Model Test"] << delete;
Report( dt1 )["Fit Details"] << delete;
Report( dt1 )["Parameter Estimates"] << delete;
Jim

View solution in original post

3 REPLIES 3
txnelson
Super User


Re: How to remove summary statistics using JSL

Here is a very simple way to do it

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.JMP" );

dt1 = Logistic( Y( :sex ), X( :height ) );
Report( dt1 )["Iterations"] << delete;
Report( dt1 )["Whole Model Test"] << delete;
Report( dt1 )["Fit Details"] << delete;
Report( dt1 )["Parameter Estimates"] << delete;
Jim
simon_2
Level III


Re: How to remove summary statistics using JSL

Nice and simple. Thanks a lot txnelson.

I had to remove "Report( dt1 )["Fit Details"] << delete;" to make it completely remove all the remaining summary statistics.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.JMP" );

dt1 = Logistic( Y( :sex ), X( :height ) );
Report( dt1 )["Iterations"] << delete;
Report( dt1 )["Whole Model Test"] << delete;
Report( dt1 )["Parameter Estimates"] << delete;
jimloughlin
Level III


Re: How to remove summary statistics using JSL

I left "Report( dt1 )["Fit Details"] << delete;" in and it deleted all the summary stats. When I commented it out, it left the fit details in.
Jim Loughlin
Loughlin Consulting