﻿<?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  » noreplace unequal categories</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 19 May 2026 07:44:05 GMT</lastBuildDate><ttl>20</ttl><item><title>noreplace unequal categories</title><link>https://forums.millisecond.com/Topic12864.aspx</link><description>Hello, &lt;br/&gt;I'm recently working on the procedure in which I have to display items without replacement from unequal categories.&amp;nbsp;qFURNITURE_S has 2 items, qFURNITURE_M has 3 items and qFURNITURE_W has 5 items. &lt;br/&gt;I tried noreplace and noreplacenorepeat command and both of them don't work (so some of the items are displayed more than once). Also at the trial level I used both commands (noreplace and noreplacenorepeat ) to&amp;nbsp; make them unrepeatable. Below I pasted the part of the script. &lt;br/&gt;Thanks for your help in advance. &lt;br/&gt;&amp;lt;block FURNITURE&amp;gt;&lt;br/&gt;/trials = [1=firstFURNITURE; 2-11=noreplacenorepeat(qFURNITURE_S,qFURNITURE_M,qFURNITURE_W)]&lt;br/&gt;/bgstim = (categorization,FURNITUREhead)&lt;br/&gt;&amp;lt;/block&amp;gt;&amp;nbsp;</description><pubDate>Tue, 01 Apr 2014 17:06:02 GMT</pubDate><dc:creator>olciak</dc:creator></item><item><title>RE: noreplace unequal categories</title><link>https://forums.millisecond.com/Topic12866.aspx</link><description>Thank you very much for your replay! &lt;br/&gt;Best, &lt;br/&gt;Olga</description><pubDate>Tue, 01 Apr 2014 17:06:02 GMT</pubDate><dc:creator>olciak</dc:creator></item><item><title>RE: noreplace unequal categories</title><link>https://forums.millisecond.com/Topic12865.aspx</link><description>/ trials = [1-8=noreplace(a,b)]&lt;div&gt;&lt;br/&gt;&lt;/div&gt;means sample trials a and b in equal proportions. You'll end up with 4 a-trials and 4-b-trials in random order. With&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;/ trials = [1-9=noreplace(a,a,b)]&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;you'll end up with twice as many a-trials compared to b-trials; there'll be 6 x a and only 3 x b, again in random order.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;The same applies to your situation: You ought to enter trials in the selection pool in the proportions you need. You'll also find this covered in the documentation topic for the /trials attribute and its examples:&lt;p&gt;The following block randomly selects either testtrial or distractortrial for each of its 12 trials. The testtrial is run exactly 8 time and distractortrial is run 4 times.&lt;/p&gt;&lt;p&gt;&lt;span class="code"&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials=[1-12=noreplace(testtrial, testtrial, distractortrial)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><pubDate>Tue, 01 Apr 2014 16:57:28 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>