﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Setting Seed for random sequence</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 25 May 2026 02:43:36 GMT</lastBuildDate><ttl>20</ttl><item><title>Setting Seed for random sequence</title><link>https://forums.millisecond.com/Topic11726.aspx</link><description>&lt;p&gt;I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description><pubDate>Tue, 11 Apr 2023 20:39:07 GMT</pubDate><dc:creator>luffy</dc:creator></item><item><title>RE: Setting Seed for random sequence</title><link>https://forums.millisecond.com/Topic35298.aspx</link><description>&lt;blockquote data-id="35297" class="if-quote-wrapper" unselectable="on" data-guid="1681245498043" id="if_insertedNode_1681245497740" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35297" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35297" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35297" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;AndrewPapale - 4/11/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35297"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="11727" class="if-quote-wrapper" unselectable="on" data-guid="1681245498043" id="if_insertedNode_1681237798052" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="11727" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="11727" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="11727" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/27/2013&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-11727"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;p&gt;[quote]I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?[/quote]&lt;/p&gt;&lt;p&gt;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.&lt;/p&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="11727"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;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).&amp;nbsp; Am I correct in assuming that Inquisit picks a random seed each time and this shuffle operation is not necessary?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Andrew&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35297"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;&amp;gt; Am I correct in assuming that Inquisit picks a random seed each time and this shuffle operation is not necessary?&lt;br/&gt;&lt;br/&gt;Yes, that is correct.</description><pubDate>Tue, 11 Apr 2023 20:39:07 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Setting Seed for random sequence</title><link>https://forums.millisecond.com/Topic35297.aspx</link><description>&lt;blockquote data-id="11727" class="if-quote-wrapper" unselectable="on" data-guid="1681237798565" id="if_insertedNode_1681237798052" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="11727" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="11727" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="11727" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/27/2013&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-11727"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;p&gt;[quote]I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?[/quote]&lt;/p&gt;&lt;p&gt;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.&lt;/p&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="11727"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;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).&amp;nbsp; Am I correct in assuming that Inquisit picks a random seed each time and this shuffle operation is not necessary?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Andrew&lt;br/&gt;</description><pubDate>Tue, 11 Apr 2023 18:31:39 GMT</pubDate><dc:creator>AndrewPapale</dc:creator></item><item><title>RE: Setting Seed for random sequence</title><link>https://forums.millisecond.com/Topic11727.aspx</link><description>&lt;p&gt;[quote]I dont't think this is possible but is there a way to set a seed for inquisits internal random number generator?[/quote]&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description><pubDate>Wed, 27 Nov 2013 05:53:15 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>