cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles