﻿<?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 3  » Random selection of stimuli from same pool without replacement</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 20 May 2026 02:00:45 GMT</lastBuildDate><ttl>20</ttl><item><title>Random selection of stimuli from same pool without replacement</title><link>https://forums.millisecond.com/Topic12360.aspx</link><description>Hi, please can I get some help with a problem I am experiencing.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;I have a single pool of 60 faces which need to appear in pairs without replacement across 30 trials. Faces appear next to each other onscreen. I am having trouble figuring out how to get each face only to appear once as they are appearing randomly on both the right and left side of the screen. As the faces get pulled from the item list they should them be excluded from further use. It makes no difference if they appear left or right as long as its random and only once. But once they appear they should not appear again.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Any help will be appreciated. Many thanks&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;David Barton&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;picture faceleft&amp;gt;&lt;br/&gt;/ items = faces&lt;br/&gt;/ select = noreplace&lt;br/&gt;/ size = (45%, 45%)&lt;br/&gt;/ position = (30,45)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture faceright&amp;gt;&lt;br/&gt;/ items = faces&lt;br/&gt;/ select = noreplace&lt;br/&gt;/ size = (45%, 45%)&lt;br/&gt;/ position = (65,45)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item faces&amp;gt;&lt;br/&gt;/1="face (1).jpg"&lt;br/&gt;. . . . .&lt;div&gt;&lt;br/&gt;&lt;/div&gt;/60= "face (60).jpg&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;/item&amp;gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;trial facetrial&amp;gt;&lt;br/&gt;/ validresponse = ("z", "/")&lt;br/&gt;/ correctresponse = ("z", "/")&lt;br/&gt;/ stimulusframes = [1=faceleft,faceright]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;block Election&amp;gt;&lt;br/&gt;/ trials = [1-30 = noreplace(facetrial)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/responsemode=correct&lt;br/&gt;/ preinstructions = (instructions)&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;</description><pubDate>Mon, 17 Feb 2014 15:13:45 GMT</pubDate><dc:creator>davidbarton</dc:creator></item><item><title>RE: Random selection of stimuli from same pool without replacement</title><link>https://forums.millisecond.com/Topic12362.aspx</link><description>Works perfectly Dave, thanks heaps.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Best Regards&lt;div&gt;&lt;br/&gt;&lt;/div&gt;David&lt;br/&gt;</description><pubDate>Mon, 17 Feb 2014 15:13:45 GMT</pubDate><dc:creator>davidbarton</dc:creator></item><item><title>RE: Random selection of stimuli from same pool without replacement</title><link>https://forums.millisecond.com/Topic12361.aspx</link><description>This isn't a single selection pool of items. Every &amp;lt;picture&amp;gt; element has its own distinct selection pool of 60 items given the way you set this up, i.e. there are *two* independent pools -- the fact that both reference the same &amp;lt;item&amp;gt; element does not change this. If you want the two &amp;lt;picture&amp;gt; elements to sample from the same, single selection pool, you need to use a &amp;lt;counter&amp;gt; element:&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;picture faceleft&amp;gt;&lt;div&gt;&lt;div&gt;[...]&lt;br/&gt;&lt;/div&gt;/ select = mycounter&lt;br/&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;picture faceright&amp;gt;&lt;div&gt;[...]&lt;br/&gt;&lt;/div&gt;/ select = mycounter&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;with&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;counter mycounter&amp;gt;&lt;div&gt;/ select = noreplace(1-60)&lt;div&gt;/ selectionrate = always&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/counter&amp;gt;&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Edit note: You also need to set /selectionrate appropriately in the use case at hand.&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Mon, 17 Feb 2014 14:56:16 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>