cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

Set Seed for Anderson-Darling Simulated p-Value

Hi,

 

I am wondering if it is possible to set the seed for the Anderson-Darling Goodness-of-Fit test in the JMP "Distribution" platform. I'd like to be able to replicate the Anderson-Darling simulated p-value result every time I run the script. 

 

I am open to scripting solutions. 

 

I am using JMP 16.2.0. 

 

Thank you,

Justin

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Set Seed for Anderson-Darling Simulated p-Value

There might be other options, but Random Reset seems might work

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Cities.jmp");
obj = Distribution(Column(:CO));
Random Reset(112);
obj << Fit Lognormal(Goodness of Fit(1));
wait(1);
obj = Distribution(Column(:CO));
Random Reset(112);
obj << Fit Lognormal(Goodness of Fit(1));

 

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Set Seed for Anderson-Darling Simulated p-Value

There might be other options, but Random Reset seems might work

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Cities.jmp");
obj = Distribution(Column(:CO));
Random Reset(112);
obj << Fit Lognormal(Goodness of Fit(1));
wait(1);
obj = Distribution(Column(:CO));
Random Reset(112);
obj << Fit Lognormal(Goodness of Fit(1));

 

-Jarmo

Recommended Articles