cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
louiefb
Level II

Plotting without showing the window to extract a summary statistic?

Hey all,

 

Given a column, the code below takes the critical value of a normality test of its distribution:

louiefb_0-1604703358455.png

 

 

z = Report(Distribution(
	Continuous Distribution(Column("Column 1")),
		Fit Distribution(Normal(Goodness of Fit(1)))
		);
	);

prob = z[Outline Box("Goodness-of-Fit Test")][Number Col Box(2)] << Get(1);

 

Now I plan to have this implemented across tables with varying amounts of columns. So what I'd like to know is, is there a way I can extract this value without having to spend resources to draw the chart? I really only want that float value.

 

My last resort would be:

1. To immediately close the chart window after extracting the value (I don't know how to do this either), or

2. To manually perform Shapiro Wilk or KS normality test to get the value I need

 

Thanks,

Louie

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Plotting without showing the window to extract a summary statistic?

The simple answer is that JMP will create the entire statistics set, however, if you add an "invisible" element to your Distribution() function, the results will not take the time to display on your PC.

z = Report(Distribution(invisible,
	Continuous Distribution(Column("Column 1")),
		Fit Distribution(Normal(Goodness of Fit(1)))
		);
	);

prob = z[Outline Box("Goodness-of-Fit Test")][Number Col Box(2)] << Get(1);

z<< close window;

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Plotting without showing the window to extract a summary statistic?

The simple answer is that JMP will create the entire statistics set, however, if you add an "invisible" element to your Distribution() function, the results will not take the time to display on your PC.

z = Report(Distribution(invisible,
	Continuous Distribution(Column("Column 1")),
		Fit Distribution(Normal(Goodness of Fit(1)))
		);
	);

prob = z[Outline Box("Goodness-of-Fit Test")][Number Col Box(2)] << Get(1);

z<< close window;

Jim
louiefb
Level II

Re: Plotting without showing the window to extract a summary statistic?

Thank you, @txnelson! This is exactly what I intended to do.