﻿<?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 behavioral measures in Inquisit 5</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 13 Sep 2026 11:38:32 GMT</lastBuildDate><ttl>20</ttl><item><title>Randomizing behavioral measures in Inquisit 5</title><link>https://forums.millisecond.com/Topic30532.aspx</link><description>Hello!&lt;br/&gt;&lt;br/&gt;I have merged two scripts, one for a go no/go task and another for a n-back task, into one for a study I am running. The last issue is I need to figure out how to randomize the presentation of these two tasks. Does anyone have any leads/code on how to do this?&lt;br/&gt;&lt;br/&gt;Thanks a ton!&lt;br/&gt;&lt;br/&gt;Wes</description><pubDate>Mon, 18 Jan 2021 21:28:44 GMT</pubDate><dc:creator>barnhart135</dc:creator></item><item><title>RE: Randomizing behavioral measures in Inquisit 5</title><link>https://forums.millisecond.com/Topic30539.aspx</link><description>&lt;blockquote data-id="30536" class="if-quote-wrapper" unselectable="on" data-guid="1611005306358" contenteditable="false" id="if_insertedNode_1611005304972"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30536" 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="30536" 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="30536" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 1/18/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-30536"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30535" class="if-quote-wrapper" unselectable="on" data-guid="1611005306358" id="if_insertedNode_1610993382875" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30535" 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="30535" 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="30535" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;barnhart135 - 1/18/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-30535"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi--&lt;br/&gt;&lt;br/&gt;This is helpful. Where would I include this script at (i.e., which script would I save it to)?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "gonogo.iqx"&lt;br/&gt;/ file = "nback.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Just as a quick background: I am link participants from Qualtrics to complete these two measures, using an online sample. Would this still work with this style of study? So, for example, I am not running participants in the lab, and they must complete a Qualtrics portion first.&lt;a class="if-quote-goto quote-link" href="#" data-id="30535"&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;The batch element(s) go in a separate script file, call it e.g. "batch.iqx" and store it alongside the two actual scripts (the go/no-go and n-back). You then upload all files -- the batch script, the two task scripts, and any other files those scripts need such as images -- and then you select the batch script as the experiment's start script via the dropdown menu in your online experiment's settings.&lt;br/&gt;&lt;br/&gt;&amp;gt; I am link participants from Qualtrics to complete these two measures, using an online sample. Would this still work with this style of study?&lt;br/&gt;&lt;br/&gt;Yes, this works just fine on the web. For interoperating with Qualtrics, see &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/interopsurveys.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/interopsurveys.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/interopsurveys.htm&lt;/a&gt;&lt;/a&gt; under "Sending Subject IDs from 3rd Party Site to Inquisit" and "Configuring Inquisit to Receive IDs from a 3rd Party Web Site".&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30536"&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;Thank you SO much! I think it's working!&lt;br/&gt;&lt;br/&gt;All the best,&lt;br/&gt;Wes</description><pubDate>Mon, 18 Jan 2021 21:28:44 GMT</pubDate><dc:creator>barnhart135</dc:creator></item><item><title>RE: Randomizing behavioral measures in Inquisit 5</title><link>https://forums.millisecond.com/Topic30536.aspx</link><description>&lt;blockquote data-id="30535" class="if-quote-wrapper" unselectable="on" data-guid="1610993383845" id="if_insertedNode_1610993382875" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30535" 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="30535" 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="30535" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;barnhart135 - 1/18/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-30535"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi--&lt;br/&gt;&lt;br/&gt;This is helpful. Where would I include this script at (i.e., which script would I save it to)?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "gonogo.iqx"&lt;br/&gt;/ file = "nback.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Just as a quick background: I am link participants from Qualtrics to complete these two measures, using an online sample. Would this still work with this style of study? So, for example, I am not running participants in the lab, and they must complete a Qualtrics portion first.&lt;a class="if-quote-goto quote-link" href="#" data-id="30535"&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;The batch element(s) go in a separate script file, call it e.g. "batch.iqx" and store it alongside the two actual scripts (the go/no-go and n-back). You then upload all files -- the batch script, the two task scripts, and any other files those scripts need such as images -- and then you select the batch script as the experiment's start script via the dropdown menu in your online experiment's settings.&lt;br/&gt;&lt;br/&gt;&amp;gt; I am link participants from Qualtrics to complete these two measures, using an online sample. Would this still work with this style of study?&lt;br/&gt;&lt;br/&gt;Yes, this works just fine on the web. For interoperating with Qualtrics, see &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/interopsurveys.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/interopsurveys.htm&lt;/a&gt; under "Sending Subject IDs from 3rd Party Site to Inquisit" and "Configuring Inquisit to Receive IDs from a 3rd Party Web Site".&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 18 Jan 2021 18:13:56 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Randomizing behavioral measures in Inquisit 5</title><link>https://forums.millisecond.com/Topic30535.aspx</link><description>Hi--&lt;br/&gt;&lt;br/&gt;This is helpful. Where would I include this script at (i.e., which script would I save it to)?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "gonogo.iqx"&lt;br/&gt;/ file = "nback.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Just as a quick background: I am link participants from Qualtrics to complete these two measures, using an online sample. Would this still work with this style of study? So, for example, I am not running participants in the lab, and they must complete a Qualtrics portion first.</description><pubDate>Mon, 18 Jan 2021 18:07:29 GMT</pubDate><dc:creator>barnhart135</dc:creator></item><item><title>RE: Randomizing behavioral measures in Inquisit 5</title><link>https://forums.millisecond.com/Topic30534.aspx</link><description>&lt;blockquote data-id="30532" class="if-quote-wrapper" unselectable="on" data-guid="1610992297697" id="if_insertedNode_1610992296503" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30532" 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="30532" 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="30532" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;barnhart135 - 1/18/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-30532"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello!&lt;br/&gt;&lt;br/&gt;I have merged two scripts, one for a go no/go task and another for a n-back task, into one for a study I am running. The last issue is I need to figure out how to randomize the presentation of these two tasks. Does anyone have any leads/code on how to do this?&lt;br/&gt;&lt;br/&gt;Thanks a ton!&lt;br/&gt;&lt;br/&gt;Wes&lt;a class="if-quote-goto quote-link" href="#" data-id="30532"&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;Typically, you don't want or need to merge scripts. You can simply keep them separate and instead run them in either fixed or random order via a &amp;lt;batch&amp;gt; script as in &lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "gonogo.iqx"&lt;br/&gt;/ file = "nback.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;for random ordering or e.g.&lt;br/&gt;&lt;br/&gt;// go-no go first&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "gonogo.iqx"&lt;br/&gt;/ file = "nback.iqx"&lt;br/&gt;/ subjects = (1 of 2)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// n-back first&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "nback.iqx"&lt;br/&gt;/ file = "gonogo.iqx"&lt;br/&gt;/ subjects = (2 of 2)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;if you want to systematically counterbalance task order by group ID.&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/language/elements/batch.htm"&gt;https://www.millisecond.com/support/docs/v5/html/language/elements/batch.htm&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 18 Jan 2021 17:56:45 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>