cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

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