﻿<?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  » Pseudorandomization at the Block level</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 11 Mar 2026 23:01:36 GMT</lastBuildDate><ttl>20</ttl><item><title>Pseudorandomization at the Block level</title><link>https://forums.millisecond.com/Topic14818.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I have a very short question, I'm sure it must be in the helpfile or forum somewhere, but I'm having trouble finding it.&lt;br/&gt;&lt;br/&gt;So in a block I want to present &amp;nbsp;trials in a pseudorandom order. I&amp;nbsp;know that the code below will prevent repeated trials (as far as possible).&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&amp;lt;block 1&amp;gt;&lt;br/&gt;/ trials = [1-8= noreplacenorepeat(stim1,stim2,stim3,stim4)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;/blockquote&gt;&lt;br/&gt;However, if I would want to prevent only double (and upwards) repetition of the same trial: e.g. allow trials to be repeated once.&amp;nbsp;&lt;br/&gt;Would the following code be correct?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&amp;lt;block 1&amp;gt;&lt;br/&gt;/ trials = [1-16= noreplacenorepeat(stim1,stim1,stim2,stim2,stim3,stim3,stim4,stim4)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sun, 02 Nov 2014 15:50:08 GMT</pubDate><dc:creator>Kolfers</dc:creator></item><item><title>RE: Pseudorandomization at the Block level</title><link>https://forums.millisecond.com/Topic14822.aspx</link><description>Ah..that makes sense!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for the quick response, and on Sunday at that!</description><pubDate>Sun, 02 Nov 2014 15:50:08 GMT</pubDate><dc:creator>Kolfers</dc:creator></item><item><title>RE: Pseudorandomization at the Block level</title><link>https://forums.millisecond.com/Topic14820.aspx</link><description>You need to use a &amp;lt;list&amp;gt; element for trial-selection with its /maxrunsize set according to your needs:&lt;br/&gt;&lt;br/&gt;&amp;lt;list triallist&amp;gt;&lt;br/&gt;/ items = (trial.a, trial.b, trial.c, trial.d)&lt;br/&gt;/ poolsize = 16&lt;br/&gt;/ maxrunsize = 2&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-16 = list.triallist]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;</description><pubDate>Sun, 02 Nov 2014 09:53:20 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>