﻿<?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 4  » For randomizing ~</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 03 May 2026 07:19:01 GMT</lastBuildDate><ttl>20</ttl><item><title>For randomizing ~</title><link>https://forums.millisecond.com/Topic17673.aspx</link><description>hi! is there any way I could pair certain trial and openended(they will present same pic but different text) together and randomize all different pairs? I tried put them in blocks and randomize blocks in expt. It works, but since I will have 378 trials which mean 378 openened also, is there any way I could simplify this proce&lt;br/&gt;</description><pubDate>Tue, 10 Nov 2015 09:30:03 GMT</pubDate><dc:creator>中风的少女</dc:creator></item><item><title>RE: For randomizing ~</title><link>https://forums.millisecond.com/Topic17684.aspx</link><description>The pairs are already randomized due to the selection mode of the main &amp;lt;text&amp;gt; (in your case &amp;lt;picture&amp;gt;) element.&lt;br/&gt;&lt;br/&gt;&amp;lt;text trialstimulus&amp;gt;&lt;br/&gt;/ items = stimitems&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;is equivalent to &lt;br/&gt;&lt;br/&gt;&amp;lt;text trialstimulus&amp;gt;&lt;br/&gt;/ items = stimitems&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;If you run the code I gave you multiple times, you'll notice that the order is random.&lt;br/&gt;&lt;br/&gt;And if you *additionally* want to randomize certain &amp;lt;trial&amp;gt;/&amp;lt;openended&amp;gt; "pairs", you do&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-6=noreplace(a_trial, b_trial, c_trial)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial a_trial&amp;gt;&lt;br/&gt;...&lt;br/&gt;&lt;strong&gt;/ branch = [openended.a_openended]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended a_openended&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial b_trial&amp;gt;&lt;br/&gt;...&lt;br/&gt;&lt;strong&gt;/ branch = [openended.b_openended]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended b_openended&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial c_trial&amp;gt;&lt;br/&gt;...&lt;br/&gt;&lt;strong&gt;/ branch = [openended.c_openended]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended c_openended&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;/openended&amp;gt;</description><pubDate>Tue, 10 Nov 2015 09:30:03 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: For randomizing ~</title><link>https://forums.millisecond.com/Topic17683.aspx</link><description>I understand this step, but then how could I randomize the different pairs?</description><pubDate>Tue, 10 Nov 2015 09:21:41 GMT</pubDate><dc:creator>中风的少女</dc:creator></item><item><title>RE: For randomizing ~</title><link>https://forums.millisecond.com/Topic17682.aspx</link><description>What you want to pair are the stimuli presented by the &amp;lt;trial&amp;gt; and the &amp;lt;openended&amp;gt; respectively. This you'll find covered in the "How to present stimulus pairs" topic in the documentation. In short:&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-4=sequence(mytrial, myopenended)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=trialstimulus, trialdescription]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended myopenended&amp;gt;&lt;br/&gt;/ stimulusframes = [1=openendedstimulus, openendeddescription]&lt;br/&gt;/ position = (50%, 80%)&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text trialstimulus&amp;gt;&lt;br/&gt;/ items = stimitems&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text trialdescription&amp;gt;&lt;br/&gt;/ items = trialdescriptionitems&lt;br/&gt;/ select = text.trialstimulus.currentindex&lt;br/&gt;/ position = (50%, 60%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text openendedstimulus&amp;gt;&lt;br/&gt;/ items = stimitems&lt;br/&gt;/ select = text.trialstimulus.currentindex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text openendeddescription&amp;gt;&lt;br/&gt;/ items = openendeddescriptionitems&lt;br/&gt;/ select = text.trialstimulus.currentindex&lt;br/&gt;/ position = (50%, 60%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item stimitems&amp;gt;&lt;br/&gt;/ 1 = "A"&lt;br/&gt;/ 2 = "B"&lt;br/&gt;/ 3 = "C"&lt;br/&gt;/ 4 = "D"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item trialdescriptionitems&amp;gt;&lt;br/&gt;/ 1 = "Description A (Trial)"&lt;br/&gt;/ 2 = "Description B (Trial)"&lt;br/&gt;/ 3 = "Description C (Trial)"&lt;br/&gt;/ 4 = "Description D (Trial)"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item openendeddescriptionitems&amp;gt;&lt;br/&gt;/ 1 = "Description A (Openended)"&lt;br/&gt;/ 2 = "Description B (Openended)"&lt;br/&gt;/ 3 = "Description C (Openended)"&lt;br/&gt;/ 4 = "Description D (Openended)"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;</description><pubDate>Tue, 10 Nov 2015 04:48:42 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>