cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
simon_2
Level III

How to remove summary statistics using JSL

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