﻿<?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 5  » Randomizing (some) scripts using the batch element?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 20 Sep 2026 04:48:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Randomizing (some) scripts using the batch element?</title><link>https://forums.millisecond.com/Topic31724.aspx</link><description>I'd like to create a study in which subjects complete 5 different versions of the GNAT, each measuring attitudes toward a different set of groups. Subjects will complete the 5 GNATs in random order. The GNATs are identical in construction except that the first GNAT subjects complete will always have more practice trials than the 4 subsequent GNATs (to reduce fatigue). What I'd like to do is create a batch element in which subjects will be assigned to the first GNAT based on their group number and from there they will receive the other 4 GNATs in a random order. Can this be accomplished using the batch element? Or is there some alternative way to make something like this work? Thanks in advance for any help you can offer!</description><pubDate>Tue, 22 Jun 2021 13:39:26 GMT</pubDate><dc:creator>satchmo496</dc:creator></item><item><title>RE: Randomizing (some) scripts using the batch element?</title><link>https://forums.millisecond.com/Topic31729.aspx</link><description>&lt;blockquote data-id="31725" class="if-quote-wrapper" unselectable="on" data-guid="1624369156487" contenteditable="false" id="if_insertedNode_1624369156041"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31725" 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="31725" 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="31725" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/21/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-31725"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="31724" class="if-quote-wrapper" unselectable="on" data-guid="1624369156487" id="if_insertedNode_1624308890396" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31724" 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="31724" 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="31724" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;satchmo496 - 6/21/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-31724"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I'd like to create a study in which subjects complete 5 different versions of the GNAT, each measuring attitudes toward a different set of groups. Subjects will complete the 5 GNATs in random order. The GNATs are identical in construction except that the first GNAT subjects complete will always have more practice trials than the 4 subsequent GNATs (to reduce fatigue). What I'd like to do is create a batch element in which subjects will be assigned to the first GNAT based on their group number and from there they will receive the other 4 GNATs in a random order. Can this be accomplished using the batch element? Or is there some alternative way to make something like this work? Thanks in advance for any help you can offer!&lt;a class="if-quote-goto quote-link" href="#" data-id="31724"&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;Yeah, you can do this using &amp;lt;batch&amp;gt; like so:&lt;br/&gt;&lt;br/&gt;[code]// A first&lt;br/&gt;&amp;lt;batch a1&amp;gt;&lt;br/&gt;/ subjects = (1 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "gnat_a_first.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// B, C, D, E random&lt;br/&gt;&amp;lt;batch a2&amp;gt;&lt;br/&gt;/ subjects = (1 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ file = "gnat_b.iqx"&lt;br/&gt;/ file = "gnat_c.iqx"&lt;br/&gt;/ file = "gnat_d.iqx"&lt;br/&gt;/ file = "gnat_e.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// B first&lt;br/&gt;&amp;lt;batch b1&amp;gt;&lt;br/&gt;/ subjects = (2 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "gnat_b_first.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// A, C, D, E random&lt;br/&gt;&amp;lt;batch b2&amp;gt;&lt;br/&gt;/ subjects = (2 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ file = "gnat_a.iqx"&lt;br/&gt;/ file = "gnat_c.iqx"&lt;br/&gt;/ file = "gnat_d.iqx"&lt;br/&gt;/ file = "gnat_e.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;// E first&lt;br/&gt;&amp;lt;batch e1&amp;gt;&lt;br/&gt;/ subjects = (5 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "gnat_e_first.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// A, B, C, D random&lt;br/&gt;&amp;lt;batch e2&amp;gt;&lt;br/&gt;/ subjects = (5 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ file = "gnat_a.iqx"&lt;br/&gt;/ file = "gnat_b.iqx"&lt;br/&gt;/ file = "gnat_c.iqx"&lt;br/&gt;/ file = "gnat_d.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;[/code]&lt;a class="if-quote-goto quote-link" href="#" data-id="31725"&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;Wonderful, thank you for the help!</description><pubDate>Tue, 22 Jun 2021 13:39:26 GMT</pubDate><dc:creator>satchmo496</dc:creator></item><item><title>RE: Randomizing (some) scripts using the batch element?</title><link>https://forums.millisecond.com/Topic31725.aspx</link><description>&lt;blockquote data-id="31724" class="if-quote-wrapper" unselectable="on" data-guid="1624308891239" id="if_insertedNode_1624308890396" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31724" 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="31724" 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="31724" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;satchmo496 - 6/21/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-31724"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I'd like to create a study in which subjects complete 5 different versions of the GNAT, each measuring attitudes toward a different set of groups. Subjects will complete the 5 GNATs in random order. The GNATs are identical in construction except that the first GNAT subjects complete will always have more practice trials than the 4 subsequent GNATs (to reduce fatigue). What I'd like to do is create a batch element in which subjects will be assigned to the first GNAT based on their group number and from there they will receive the other 4 GNATs in a random order. Can this be accomplished using the batch element? Or is there some alternative way to make something like this work? Thanks in advance for any help you can offer!&lt;a class="if-quote-goto quote-link" href="#" data-id="31724"&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;Yeah, you can do this using &amp;lt;batch&amp;gt; like so:&lt;br/&gt;&lt;br/&gt;[code]// A first&lt;br/&gt;&amp;lt;batch a1&amp;gt;&lt;br/&gt;/ subjects = (1 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "gnat_a_first.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// B, C, D, E random&lt;br/&gt;&amp;lt;batch a2&amp;gt;&lt;br/&gt;/ subjects = (1 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ file = "gnat_b.iqx"&lt;br/&gt;/ file = "gnat_c.iqx"&lt;br/&gt;/ file = "gnat_d.iqx"&lt;br/&gt;/ file = "gnat_e.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// B first&lt;br/&gt;&amp;lt;batch b1&amp;gt;&lt;br/&gt;/ subjects = (2 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "gnat_b_first.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// A, C, D, E random&lt;br/&gt;&amp;lt;batch b2&amp;gt;&lt;br/&gt;/ subjects = (2 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ file = "gnat_a.iqx"&lt;br/&gt;/ file = "gnat_c.iqx"&lt;br/&gt;/ file = "gnat_d.iqx"&lt;br/&gt;/ file = "gnat_e.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;// E first&lt;br/&gt;&amp;lt;batch e1&amp;gt;&lt;br/&gt;/ subjects = (5 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "gnat_e_first.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// A, B, C, D random&lt;br/&gt;&amp;lt;batch e2&amp;gt;&lt;br/&gt;/ subjects = (5 of 5)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ file = "gnat_a.iqx"&lt;br/&gt;/ file = "gnat_b.iqx"&lt;br/&gt;/ file = "gnat_c.iqx"&lt;br/&gt;/ file = "gnat_d.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;[/code]</description><pubDate>Mon, 21 Jun 2021 21:01:45 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>