﻿<?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  » A question on randomization across groups</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 19 Sep 2026 20:34:32 GMT</lastBuildDate><ttl>20</ttl><item><title>A question on randomization across groups</title><link>https://forums.millisecond.com/Topic28081.aspx</link><description>Hi. I have an experiment where, among other things, participants go through the flow in the screenshot below. They're randomized into one of two group (group one gets the "control manipulation" and group 3 gets the "treatment manipulation". Both groups then do the dualtaskadaptivenback.iqx).&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;img src="blob:https://www.millisecond.com/9a3cf831-811e-4850-bb39-d2915ed398e8" style="width: 270.26086950302124px; height: 149.26086950302124px;"&gt;&lt;br/&gt;&lt;br/&gt;When creating the WebScript I answered the question "Choose how the group ID should be determined" by selecting "random selection with replacement". Then for "Enter the total number of groups (if any) in the experiment" I entered 2.&lt;br/&gt;&lt;br/&gt;My problem/confusion: In the data files for manipulationcontrolgroup.iqx I see participants with "1"s and "2"s in the group column, not just 1s as the screenshot indicates would happen.. This is also the case for the manipulationtreatmentgroup.iqx. What is happening here? I was under the impression that all participants in group 1 would go into the manipulationcontrolgroup.iqx and all participants in group 2 would be in manipulationtreatmentgroup.iqx. For clarification, participants come to Inquisit from an external participant pool (sonasystems) so their subjectID is predetermined.&lt;br/&gt;&lt;br/&gt;If I look in the datafiles I am able to cross reference who went into what group based on the subject's but that is significantly more work than a simple 1 or 2 for group identification. Is there something simple I'm missing?&lt;br/&gt;&lt;br/&gt;Thanks</description><pubDate>Fri, 13 Dec 2019 08:35:26 GMT</pubDate><dc:creator>michaelwaltrip</dc:creator></item><item><title>RE: A question on randomization across groups</title><link>https://forums.millisecond.com/Topic28085.aspx</link><description>Ahh, that clears it up. Thanks!&lt;br/&gt;&lt;br/&gt;The multiple opportunities to randomize participants is what confused me, I guess. When I responded to the questions on the website indicating that there were 2 groups and they were to be assigned randomly with replacement, I thought I was giving directions for how Inquisit should handle the randomization in the actual script.&amp;nbsp;</description><pubDate>Fri, 13 Dec 2019 08:35:26 GMT</pubDate><dc:creator>michaelwaltrip</dc:creator></item><item><title>RE: A question on randomization across groups</title><link>https://forums.millisecond.com/Topic28084.aspx</link><description>&lt;div data-id="28083" class="if-quote-wrapper" unselectable="on" data-guid="1576253845840"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="28083" 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="28083" 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="28083" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;michaelwaltrip - 12/13/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-28083"&gt;&lt;div class="if-quote-message-margin"&gt;... it looks like my screenshot isn't showing up anymore. The content that the screenshot was showing is the script below. Sorry for the all the issues with my post, hah.&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (1 of 2)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "manipulationcontrolgroup.iqx"&lt;br/&gt;/ file = "dualtaskadaptivenback.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 2)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "manipulationtreatmentgroup.iqx"&lt;br/&gt;/ file = "dualtaskadaptivenback.iqx"&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="28083"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;The problem here is that &lt;strong&gt;you're not assigning your groups based on the group ID / group number&lt;/strong&gt;. &lt;br/&gt;&lt;br/&gt;If you wish to assign based on the group number according to the settings you've taken in your web experiment, you need to set &lt;strong&gt;/groupassignment = groupnumber&lt;/strong&gt;, not /groupassignment = random.&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/language/attributes/groupassignment.htm"&gt;https://www.millisecond.com/support/docs/v5/html/language/attributes/groupassignment.htm&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 13 Dec 2019 08:21:02 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: A question on randomization across groups</title><link>https://forums.millisecond.com/Topic28083.aspx</link><description>... it looks like my screenshot isn't showing up anymore. The content that the screenshot was showing is the script below. Sorry for the all the issues with my post, hah.&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (1 of 2)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "manipulationcontrolgroup.iqx"&lt;br/&gt;/ file = "dualtaskadaptivenback.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 2)&lt;br/&gt;/ groupassignment = random&lt;br/&gt;/ file = "manipulationtreatmentgroup.iqx"&lt;br/&gt;/ file = "dualtaskadaptivenback.iqx"&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 13 Dec 2019 08:07:23 GMT</pubDate><dc:creator>michaelwaltrip</dc:creator></item><item><title>RE: A question on randomization across groups</title><link>https://forums.millisecond.com/Topic28082.aspx</link><description>I'm not seeing a way to edit my previous post, but I made a typo.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;The correct first paragraph should read:&lt;br/&gt;&lt;br/&gt;Hi. I have an experiment where, among other things, participants go through the flow in the screenshot below. They're randomized into one of two group (group one gets the "control manipulation" and &lt;strong&gt;&lt;font size="3"&gt;group 2&lt;/font&gt;&lt;/strong&gt; gets the "treatment manipulation". Both groups then do the dualtaskadaptivenback.iqx).&amp;nbsp;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 13 Dec 2019 07:49:46 GMT</pubDate><dc:creator>michaelwaltrip</dc:creator></item></channel></rss>