﻿<?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  » non-random selection of stimuli</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 26 Jun 2026 21:20:46 GMT</lastBuildDate><ttl>20</ttl><item><title>non-random selection of stimuli</title><link>https://forums.millisecond.com/Topic16337.aspx</link><description>Hello,&lt;br/&gt;I am new to inquisit and have just learned how to program a full task myself. I would like to be able to program a non-random selection of stimuli that reflects specific probabilities, but as far as I can tell there is the 'noreplace' or the 'noreplacenorepeat' option which randomly selects stimuli either with or without repeating. Is there any way to program a particular probability of a certain stimulus being presented for each trial or each block of trials?&lt;br/&gt;The only other option I see is to hand-code my blocks to create the probabilities myself. As an example, I've pasted code below for the following: 70% chance of seeing stimulus 1, 10% chance of seeing stimulus 2, 10% chance of seeing stimulus 3, and 10% chance of seeing stimulus 4. Basically 7/10 trials are stimulus 1 and the rest are stimuli 2-4. My syntax seems to be wrong so I am wondering if this is even possible to do.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice&amp;gt;&lt;br/&gt;/trials = [1=stimulus1; 2=stimulus2; 3=stimulus4; 4=stimulus1; 5=stimulus3; 6=stimulus1; 7=stimulus1; 8=stimulus1; 9=stimulus1; 10=stimulus1]&lt;br/&gt;/pretrialpause = 500&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Any help would be much appreciated!&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Georgia&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 21 May 2015 14:09:45 GMT</pubDate><dc:creator>Georgia</dc:creator></item><item><title>RE: non-random selection of stimuli</title><link>https://forums.millisecond.com/Topic16349.aspx</link><description>Thanks, this really helped!&lt;br/&gt;&lt;br/&gt;Georgia</description><pubDate>Thu, 21 May 2015 14:09:45 GMT</pubDate><dc:creator>Georgia</dc:creator></item><item><title>RE: non-random selection of stimuli</title><link>https://forums.millisecond.com/Topic16338.aspx</link><description>What matters with trial selection via the &amp;lt;block&amp;gt; element's /trials attribute is the *proportions you enter into the pool*. For example&lt;br/&gt;&lt;br/&gt;/ trials = [1-6=noreplace(a,b)]&lt;br/&gt;&lt;br/&gt;will sample randomly (without replacement) &amp;lt;trial a&amp;gt; and &amp;lt;trial b&amp;gt; in *equal proportions* / a 1:1 ratio. You'll end up with exactly 3 "a"-trials and 3 "b"-trials in random order. With&lt;br/&gt;&lt;br/&gt;/ trials = [1-6=noreplace(a,a,b)]&lt;br/&gt;&lt;br/&gt;the ratio is 2:1, i.e., you'll end up with 4 "a"-trials and 2 "b"-trials in random order. As to your own task, what you'll want to do is thus:&lt;br/&gt;&lt;br/&gt;/ trials = [1-10=noreplace(stimulus1, stimulus1, stimulus1, stimulus1, stimulus1, stimulus1, stimulus1, stimulus2, stimulus3, stimulus4)]&lt;br/&gt;</description><pubDate>Tue, 19 May 2015 11:20:51 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>