﻿<?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  » Group ID</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 08 Jun 2026 15:19:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Group ID</title><link>https://forums.millisecond.com/Topic32218.aspx</link><description>Hi,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;In my study, I want to have a certain script run based on the subjects group ID (as I need to document their unique subject ID): here is the code: &lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 1]&lt;br/&gt;/ file = "goal_rel_yoked_158698.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 2]&lt;br/&gt;/ file = "goal_rel_yoked_160654.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 3]&lt;br/&gt;/ file = "goal_rel_yoked_159193.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 4]&lt;br/&gt;/ file = "goal_rel_yoked_160585.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 5]&lt;br/&gt;/ file = "goal_rel_yoked_160633.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I am using inquisit web. What I did was in Participant IDs, I set the "how should the group Ids be determined" to "random no replace" with 5 groups. However, I just ran 4 subjects and I got two participants with group ID 3, and two with group ID 4, which I was surprised since I set it to no replace.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I don't have anywhere in the scripts that calls a group number, I'm not sure if that is necessary. &lt;br/&gt;&lt;br/&gt;Is there something I am doing wrong? How can I fix it so that I get one participant with each group ID 1-5? I don't care if it is sequential or random.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you very much! </description><pubDate>Fri, 10 Sep 2021 21:31:24 GMT</pubDate><dc:creator>lir1995</dc:creator></item><item><title>RE: Group ID</title><link>https://forums.millisecond.com/Topic32220.aspx</link><description>&lt;blockquote data-id="32219" class="if-quote-wrapper" unselectable="on" data-guid="1631309480517" contenteditable="false" id="if_insertedNode_1631309480045"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="32219" 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="32219" 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="32219" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/10/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-32219"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="32218" class="if-quote-wrapper" unselectable="on" data-guid="1631309480517" id="if_insertedNode_1631306315690" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="32218" 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="32218" 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="32218" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;lir1995 - 9/10/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-32218"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;In my study, I want to have a certain script run based on the subjects group ID (as I need to document their unique subject ID): here is the code: &lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 1]&lt;br/&gt;/ file = "goal_rel_yoked_158698.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 2]&lt;br/&gt;/ file = "goal_rel_yoked_160654.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 3]&lt;br/&gt;/ file = "goal_rel_yoked_159193.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 4]&lt;br/&gt;/ file = "goal_rel_yoked_160585.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 5]&lt;br/&gt;/ file = "goal_rel_yoked_160633.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I am using inquisit web. What I did was in Participant IDs, I set the "how should the group Ids be determined" to "random no replace" with 5 groups. However, I just ran 4 subjects and I got two participants with group ID 3, and two with group ID 4, which I was surprised since I set it to no replace.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I don't have anywhere in the scripts that calls a group number, I'm not sure if that is necessary. &lt;br/&gt;&lt;br/&gt;Is there something I am doing wrong? How can I fix it so that I get one participant with each group ID 1-5? I don't care if it is sequential or random.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you very much! &lt;a class="if-quote-goto quote-link" href="#" data-id="32218"&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; What I did was in Participant IDs, I set the "how should the group Ids be determined" to "random no replace" with 5 groups.&lt;br/&gt;&lt;br/&gt;That sounds correct.&lt;br/&gt;&lt;br/&gt;&amp;gt;  I just ran 4 subjects and I got two participants with group ID 3, and two with group ID 4, which I was surprised since I set it to no replace. &lt;br/&gt;&lt;br/&gt;A group iD is generated whenever someone visits or refreshes the start page, regardless of whether that person then ends up actually launching the experiment. That is why you are seeing gaps.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="32219"&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;Makes sense, thanks!</description><pubDate>Fri, 10 Sep 2021 21:31:24 GMT</pubDate><dc:creator>lir1995</dc:creator></item><item><title>RE: Group ID</title><link>https://forums.millisecond.com/Topic32219.aspx</link><description>&lt;blockquote data-id="32218" class="if-quote-wrapper" unselectable="on" data-guid="1631306316049" id="if_insertedNode_1631306315690" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="32218" 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="32218" 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="32218" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;lir1995 - 9/10/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-32218"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;In my study, I want to have a certain script run based on the subjects group ID (as I need to document their unique subject ID): here is the code: &lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 1]&lt;br/&gt;/ file = "goal_rel_yoked_158698.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 2]&lt;br/&gt;/ file = "goal_rel_yoked_160654.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 3]&lt;br/&gt;/ file = "goal_rel_yoked_159193.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 4]&lt;br/&gt;/ file = "goal_rel_yoked_160585.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [script.groupid == 5]&lt;br/&gt;/ file = "goal_rel_yoked_160633.iqx"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I am using inquisit web. What I did was in Participant IDs, I set the "how should the group Ids be determined" to "random no replace" with 5 groups. However, I just ran 4 subjects and I got two participants with group ID 3, and two with group ID 4, which I was surprised since I set it to no replace.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I don't have anywhere in the scripts that calls a group number, I'm not sure if that is necessary. &lt;br/&gt;&lt;br/&gt;Is there something I am doing wrong? How can I fix it so that I get one participant with each group ID 1-5? I don't care if it is sequential or random.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you very much! &lt;a class="if-quote-goto quote-link" href="#" data-id="32218"&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; What I did was in Participant IDs, I set the "how should the group Ids be determined" to "random no replace" with 5 groups.&lt;br/&gt;&lt;br/&gt;That sounds correct.&lt;br/&gt;&lt;br/&gt;&amp;gt;  I just ran 4 subjects and I got two participants with group ID 3, and two with group ID 4, which I was surprised since I set it to no replace. &lt;br/&gt;&lt;br/&gt;A group iD is generated whenever someone visits or refreshes the start page, regardless of whether that person then ends up actually launching the experiment. That is why you are seeing gaps.&lt;br/&gt;</description><pubDate>Fri, 10 Sep 2021 20:48:32 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>