cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
frankderuyck
Level VI

Add Random Seed to prediction formula

I would like make a reproducible simulation formula by adding a the same random number to a prediction formula .Guess this is possible with Random seed? I olnly find a very brief explanation in JMP help; how to add this random seed to a formula? 

13 REPLIES 13
frankderuyck
Level VI

Re: Add Random Seed to prediction formula

Remark: there is a selectivity > 100%, still have to adjust formula a bit to keep results < 100%

jthi
Super User

Re: Add Random Seed to prediction formula

If you can't add that random value column to the table which students are using, I think you could use Random Reset(Row()) (you can change the Row() to something else, but it should still be Row() dependent and not randomized, so Row()*Row() or Row() + 10 are for example fine).

jthi_0-1696784460942.png

jthi_1-1696784466191.png

Column 8 just demonstrates the random reset + random normal part

 

-Jarmo
frankderuyck
Level VI

Re: Add Random Seed to prediction formula

Great, works fine, thank Jarmo!

Mauro_Gerber
Level IV

Re: Add Random Seed to prediction formula

A small input, I use this to prevent the constant reset of the seed:

If( Row() == 1,
	Random Reset( 500 )
);

Random Normal( 5, 0.5 );

After the reset, the sequence is always the same "random" numbers within a JMP version.

 

"I thought about our dilemma, and I came up with a solution that I honestly think works out best for one of both of us"
- GLaDOS