cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
kgbrown1963
Level I

Distribution Platform Preferences -- Default Prediction Interval Generation

I would like to set up the default for the Distribution platform (Continuous variable) to automatically (by default) generate Prediction Intervals (two-sided 0.95, n =1) so that I can capture the results into a Data Table using a JSL script. I see several defaults (e.g., confidence, tolerance, etc.) that can be set in the Preferences menu for the Distribution platform, but not any for Prediction Intervals (PI's). I know that I can generate PI's for multiple distribution results by Ctrl-clicking the "Prediction Interval" selection from the Results drop-down menu, but I would rather have these generated by default, so I can capture the results into a Data Table using a JSL script. I do not believe the "Ctrl-click" PI selection is "scriptable." From a previous post (and thank you all), I know how to generate the desired combined Data Table after I have the PI results. 

 

I have just started using JMP Student Version 18.2.0; I had JMP Pro until this year.

1 ACCEPTED SOLUTION

Accepted Solutions
kgbrown1963
Level I

Re: Distribution Platform Preferences -- Default Prediction Interval Generation

Jarmo,

 

I apologize for my slow response. When I suggested that the "Ctrl-click" PI selection was not "scriptable," I (mistakenly) meant that the selection does not show in the JMP log. However, your suggestion does appear to give me the desired results when I add the PL option to the Distribution platform call, e.g.:

obj = dt << Distribution(Column(:Height, :Weight), Prediction Interval(0.95, 1) );

Thank you for your help.

 

Kevin

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Distribution Platform Preferences -- Default Prediction Interval Generation

There really isn't many things that are not scriptable in JMP. By Ctrl+Click do you mean broadcasting? So you have multiple distributions and wish to use same settings for all of them?

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = dt << Distribution(Column(:Height, :Weight));
obj << Prediction Interval(0.95, 1);
-Jarmo
kgbrown1963
Level I

Re: Distribution Platform Preferences -- Default Prediction Interval Generation

Jarmo,

 

I apologize for my slow response. When I suggested that the "Ctrl-click" PI selection was not "scriptable," I (mistakenly) meant that the selection does not show in the JMP log. However, your suggestion does appear to give me the desired results when I add the PL option to the Distribution platform call, e.g.:

obj = dt << Distribution(Column(:Height, :Weight), Prediction Interval(0.95, 1) );

Thank you for your help.

 

Kevin

jthi
Super User

Re: Distribution Platform Preferences -- Default Prediction Interval Generation

For me it does get recorded to the log if I do it manually first. I have this report

jthi_0-1755750098987.png

And if I copy script from red triangle I get the following

jthi_1-1755750125989.png


Distribution(
	Continuous Distribution(
		Column(:height),
		Process Capability(0),
		Prediction Interval(0.95, 1)
	)
);

And if I close the platform (that is the moment when log gets the "proper" script for the platform, otherwise it is just Launch script if even that)

jthi_2-1755750172248.png

 

 

-Jarmo

Recommended Articles