Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
simon_2
Level II

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
Highlighted
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
Highlighted
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

Highlighted
simon_2
Level II

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;
Highlighted
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.
Article Labels