﻿<?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 6  » Batch Randomized</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 12 Jun 2026 11:44:57 GMT</lastBuildDate><ttl>20</ttl><item><title>Batch Randomized</title><link>https://forums.millisecond.com/Topic35741.aspx</link><description>Hi Dave,&lt;br/&gt;How would I go about randomly allocating participants into one of three groups to run a particular script for each group using a batch file?&lt;br/&gt;I've read that batch files can be used to run scripts in sequence and different scripts for odd or even subject IDs, however, as per the question, how do you randomize participants to one of three or more different scripts?&lt;br/&gt;Thanks!</description><pubDate>Mon, 06 Nov 2023 12:37:49 GMT</pubDate><dc:creator>raven</dc:creator></item><item><title>RE: Batch Randomized</title><link>https://forums.millisecond.com/Topic35743.aspx</link><description>&lt;blockquote data-id="35742" class="if-quote-wrapper" unselectable="on" data-guid="1699274203728" contenteditable="false" id="if_insertedNode_1699274202411"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35742" title=""&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="35742" title=""&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"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35742" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/6/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-35742"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;blockquote data-id="35741" class="if-quote-wrapper" unselectable="on" data-guid="1699274203728" contenteditable="false" id="if_insertedNode_1699272927243"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35741" 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="35741" 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="35741" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;raven - 11/5/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-35741"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi Dave,&lt;br/&gt;How would I go about randomly allocating participants into one of three groups to run a particular script for each group using a batch file?&lt;br/&gt;I've read that batch files can be used to run scripts in sequence and different scripts for odd or even subject IDs, however, as per the question, how do you randomize participants to one of three or more different scripts?&lt;br/&gt;Thanks!&lt;a class="if-quote-goto quote-link" href="#" data-id="35741"&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;If you plan to run things on the web, assign to one of three batch elements by group ID and select random group ID generation in the web experiment's settings.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;batch&amp;gt;&lt;br/&gt;/ groups = (1 of 3)&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groups = (2 of 3)&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groups = (3 of 3)&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;Alternatively, if you run things in Inquisit Lab, use the /groupassignment = random mode.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (1 of 3)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (2 of 3)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (3 of 3)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;[/code]&lt;a class="if-quote-goto quote-link" href="#" data-id="35742"&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;Ok, that makes sense.&lt;br/&gt;&lt;br/&gt;Thanks Dave!&amp;nbsp;&lt;span id="if_insertedNode_1699274260573"&gt;:)&lt;/span&gt;</description><pubDate>Mon, 06 Nov 2023 12:37:49 GMT</pubDate><dc:creator>raven</dc:creator></item><item><title>RE: Batch Randomized</title><link>https://forums.millisecond.com/Topic35742.aspx</link><description>&lt;blockquote data-id="35741" class="if-quote-wrapper" unselectable="on" data-guid="1699272928291" contenteditable="false" id="if_insertedNode_1699272927243"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35741" 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="35741" 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="35741" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;raven - 11/5/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-35741"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi Dave,&lt;br/&gt;How would I go about randomly allocating participants into one of three groups to run a particular script for each group using a batch file?&lt;br/&gt;I've read that batch files can be used to run scripts in sequence and different scripts for odd or even subject IDs, however, as per the question, how do you randomize participants to one of three or more different scripts?&lt;br/&gt;Thanks!&lt;a class="if-quote-goto quote-link" href="#" data-id="35741"&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;If you plan to run things on the web, assign to one of three batch elements by group ID and select random group ID generation in the web experiment's settings.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;batch&amp;gt;&lt;br/&gt;/ groups = (1 of 3)&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groups = (2 of 3)&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ groups = (3 of 3)&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;Alternatively, if you run things in Inquisit Lab, use the /groupassignment = random mode.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (1 of 3)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (2 of 3)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (3 of 3)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;[/code]</description><pubDate>Mon, 06 Nov 2023 12:19:11 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>