cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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