Millisecond Forums

## Setting Seed for random sequence

https://forums.millisecond.com/Topic11726.aspx

 By luffy - 11/26/2013 I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?In our experiment we draw positions for pictures, times until the stimuli are presented, etc. randomly from lists. Now we would like to test whether the sequence in which this happens has an effect on the results. The easiest way to implement this should be to set the random seed to different values. By Dave - 11/26/2013 I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?You are correct, it's not possible at present. You'll have to settle for a different approach such as storing the random sequence and then reproducing it via select=sequence. By AndrewPapale - 4/11/2023 +x Dave - 11/27/2013I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?You are correct, it's not possible at present. You'll have to settle for a different approach such as storing the random sequence and then reproducing it via select=sequence.Just doing a quick check, Matlab automatically sets the random seed to the same value when the program starts up requiring you to 'shuffle' the random seed (I presume, for reproducibility).  Am I correct in assuming that Inquisit picks a random seed each time and this shuffle operation is not necessary?Thanks,Andrew By Dave - 4/11/2023 +x AndrewPapale - 4/11/2023+x Dave - 11/27/2013I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?You are correct, it's not possible at present. You'll have to settle for a different approach such as storing the random sequence and then reproducing it via select=sequence.Just doing a quick check, Matlab automatically sets the random seed to the same value when the program starts up requiring you to 'shuffle' the random seed (I presume, for reproducibility).  Am I correct in assuming that Inquisit picks a random seed each time and this shuffle operation is not necessary?Thanks,Andrew> Am I correct in assuming that Inquisit picks a random seed each time and this shuffle operation is not necessary?Yes, that is correct.