﻿<?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  » Present randomly a certain number of specific stimuli (prime).</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 05 Apr 2026 20:00:20 GMT</lastBuildDate><ttl>20</ttl><item><title>Present randomly a certain number of specific stimuli (prime).</title><link>https://forums.millisecond.com/Topic23854.aspx</link><description>Hi!&lt;br/&gt;I'm using the AMP task (affective misattribution procedure), where I must present 20 trials of one kind of image (primeA), 20 trials of another kind (primeB) and some neutral stimuli. When I run the script, the differents stimuli are presented&amp;nbsp;different number of times between them, instead the quantity that I need.&amp;nbsp;I got this result with this code:&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1 = instructions; 2-61 = noreplacenorepeat(primeA, primeB, primeNeutral)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;To get the proportion between primes (20/20) I wrote this code (that presents 4 randomized trials of stimuli primeA and stimuli primeB, followed by one neutral, 10 times):&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [&lt;br/&gt;1 = instructions; 2 = getReady;&amp;nbsp;&lt;br/&gt;3-6 = noreplacenorepeat(primeA, primeB); 7 = primeNeutral;&amp;nbsp;&lt;br/&gt;8-11 = noreplacenorepeat(primeA, primeB); 12 = primeNeutral;&amp;nbsp;&lt;br/&gt;13-16 = noreplacenorepeat(primeA, primeB); 17 = primeNeutral;&lt;br/&gt;18-21 = noreplacenorepeat(primeA, primeB); 22 = primeNeutral;&lt;br/&gt;23-26 = noreplacenorepeat(primeA, primeB); 27 = primeNeutral;&lt;br/&gt;28-31 = noreplacenorepeat(primeA, primeB); 32 = primeNeutral;&lt;br/&gt;33-36 = noreplacenorepeat(primeA, primeB); 37 = primeNeutral;&lt;br/&gt;38-41 = noreplacenorepeat(primeA, primeB); 42 = primeNeutral;&lt;br/&gt;43-46 = noreplacenorepeat(primeA, primeB); 47 = primeNeutral;&lt;br/&gt;48-51 = noreplacenorepeat(primeA,primeB); 52 = primeNeutral;&lt;br/&gt;]&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;But still, the stimuli are not fully randomized. Is there any way to make that code simpler, guaranteeing at the end the number of presentation of all kind of stimuli?&lt;br/&gt;</description><pubDate>Thu, 22 Feb 2018 16:01:10 GMT</pubDate><dc:creator>derodriguezz</dc:creator></item><item><title>RE: Present randomly a certain number of specific stimuli (prime).</title><link>https://forums.millisecond.com/Topic23908.aspx</link><description>&lt;div data-id="23907" class="if-quote-wrapper" unselectable="on" data-guid="1519343935047"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="23907" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="23907" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="23907" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;derodriguezz - Thursday, February 22, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-23907"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="23857" class="if-quote-wrapper" unselectable="on" data-guid="1519343935047"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="23857" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="23857" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="23857" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, February 12, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-23857"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="23854" class="if-quote-wrapper" unselectable="on" data-guid="1519343935047"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="23854" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="23854" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="23854" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;derodriguezz - Sunday, February 11, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-23854"&gt;&lt;div class="if-quote-message-margin"&gt;Hi!&lt;br/&gt;I'm using the AMP task (affective misattribution procedure), where I must present 20 trials of one kind of image (primeA), 20 trials of another kind (primeB) and some neutral stimuli. When I run the script, the differents stimuli are presented&amp;nbsp;different number of times between them, instead the quantity that I need.&amp;nbsp;I got this result with this code:&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1 = instructions; 2-61 = noreplacenorepeat(primeA, primeB, primeNeutral)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;To get the proportion between primes (20/20) I wrote this code (that presents 4 randomized trials of stimuli primeA and stimuli primeB, followed by one neutral, 10 times):&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [&lt;br/&gt;1 = instructions; 2 = getReady;&amp;nbsp;&lt;br/&gt;3-6 = noreplacenorepeat(primeA, primeB); 7 = primeNeutral;&amp;nbsp;&lt;br/&gt;8-11 = noreplacenorepeat(primeA, primeB); 12 = primeNeutral;&amp;nbsp;&lt;br/&gt;13-16 = noreplacenorepeat(primeA, primeB); 17 = primeNeutral;&lt;br/&gt;18-21 = noreplacenorepeat(primeA, primeB); 22 = primeNeutral;&lt;br/&gt;23-26 = noreplacenorepeat(primeA, primeB); 27 = primeNeutral;&lt;br/&gt;28-31 = noreplacenorepeat(primeA, primeB); 32 = primeNeutral;&lt;br/&gt;33-36 = noreplacenorepeat(primeA, primeB); 37 = primeNeutral;&lt;br/&gt;38-41 = noreplacenorepeat(primeA, primeB); 42 = primeNeutral;&lt;br/&gt;43-46 = noreplacenorepeat(primeA, primeB); 47 = primeNeutral;&lt;br/&gt;48-51 = noreplacenorepeat(primeA,primeB); 52 = primeNeutral;&lt;br/&gt;]&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;But still, the stimuli are not fully randomized. Is there any way to make that code simpler, guaranteeing at the end the number of presentation of all kind of stimuli?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="23854"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;If you want 50 trials total, with 20 x primeA, 20 x primeB, and 10 x primeNeutral, all in random order, you need to enter the trials into the noreplace() selection pool in the desired proportions:&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1 = instructions; &lt;strong&gt;2-51 = noreplacenorepeat(primeA, primeA, primeB, primeB, primeNeutral)&lt;/strong&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="23857"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;okey, so if i understood correctly, if i want 60 trials total, with 20xprimeA, 20xPrimeB, and 20xprimeNeutral, all in random order, this will be the proportions?&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [&lt;br/&gt;1 = instructions; 2 = getReady; &lt;br/&gt;3-62 = noreplacenorepeat(primeA, primeA, primeA, primeB, primeB, primeB, primeNeutral, primeNeutral, primeNeutral)&lt;br/&gt;]&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="23907"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;This will work, but since you want equal proportions, you don't need to enter each trial multiple times. &lt;br/&gt;&lt;br/&gt;3-62 = noreplacenorepeat(primeA, primeB, primeNeutral)&lt;br/&gt;&lt;br/&gt;will do just fine, and you'll end up with 20 primeA trials, 20 primeB trials and 20 primeNeutral trials in random order.&lt;br/&gt;</description><pubDate>Thu, 22 Feb 2018 16:01:10 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Present randomly a certain number of specific stimuli (prime).</title><link>https://forums.millisecond.com/Topic23907.aspx</link><description>&lt;div data-id="23857" class="if-quote-wrapper" unselectable="on" data-guid="1519338472921"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="23857" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="23857" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="23857" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, February 12, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-23857"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="23854" class="if-quote-wrapper" unselectable="on" data-guid="1519338472921"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="23854" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="23854" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="23854" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;derodriguezz - Sunday, February 11, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-23854"&gt;&lt;div class="if-quote-message-margin"&gt;Hi!&lt;br/&gt;I'm using the AMP task (affective misattribution procedure), where I must present 20 trials of one kind of image (primeA), 20 trials of another kind (primeB) and some neutral stimuli. When I run the script, the differents stimuli are presented&amp;nbsp;different number of times between them, instead the quantity that I need.&amp;nbsp;I got this result with this code:&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1 = instructions; 2-61 = noreplacenorepeat(primeA, primeB, primeNeutral)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;To get the proportion between primes (20/20) I wrote this code (that presents 4 randomized trials of stimuli primeA and stimuli primeB, followed by one neutral, 10 times):&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [&lt;br/&gt;1 = instructions; 2 = getReady;&amp;nbsp;&lt;br/&gt;3-6 = noreplacenorepeat(primeA, primeB); 7 = primeNeutral;&amp;nbsp;&lt;br/&gt;8-11 = noreplacenorepeat(primeA, primeB); 12 = primeNeutral;&amp;nbsp;&lt;br/&gt;13-16 = noreplacenorepeat(primeA, primeB); 17 = primeNeutral;&lt;br/&gt;18-21 = noreplacenorepeat(primeA, primeB); 22 = primeNeutral;&lt;br/&gt;23-26 = noreplacenorepeat(primeA, primeB); 27 = primeNeutral;&lt;br/&gt;28-31 = noreplacenorepeat(primeA, primeB); 32 = primeNeutral;&lt;br/&gt;33-36 = noreplacenorepeat(primeA, primeB); 37 = primeNeutral;&lt;br/&gt;38-41 = noreplacenorepeat(primeA, primeB); 42 = primeNeutral;&lt;br/&gt;43-46 = noreplacenorepeat(primeA, primeB); 47 = primeNeutral;&lt;br/&gt;48-51 = noreplacenorepeat(primeA,primeB); 52 = primeNeutral;&lt;br/&gt;]&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;But still, the stimuli are not fully randomized. Is there any way to make that code simpler, guaranteeing at the end the number of presentation of all kind of stimuli?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="23854"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;If you want 50 trials total, with 20 x primeA, 20 x primeB, and 10 x primeNeutral, all in random order, you need to enter the trials into the noreplace() selection pool in the desired proportions:&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1 = instructions; &lt;strong&gt;2-51 = noreplacenorepeat(primeA, primeA, primeB, primeB, primeNeutral)&lt;/strong&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="23857"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;okey, so if i understood correctly, if i want 60 trials total, with 20xprimeA, 20xPrimeB, and 20xprimeNeutral, all in random order, this will be the proportions?&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [&lt;br/&gt;1 = instructions; 2 = getReady; &lt;br/&gt;3-62 = noreplacenorepeat(primeA, primeA, primeA, primeB, primeB, primeB, primeNeutral, primeNeutral, primeNeutral)&lt;br/&gt;]&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;</description><pubDate>Thu, 22 Feb 2018 14:31:56 GMT</pubDate><dc:creator>derodriguezz</dc:creator></item><item><title /><link>https://forums.millisecond.com/Topic23857.aspx</link><description>&lt;div data-id="23854" class="if-quote-wrapper" unselectable="on"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="23854" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="23854" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="23854" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;derodriguezz - Sunday, February 11, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-23854"&gt;&lt;div class="if-quote-message-margin"&gt;Hi!&lt;br/&gt;I'm using the AMP task (affective misattribution procedure), where I must present 20 trials of one kind of image (primeA), 20 trials of another kind (primeB) and some neutral stimuli. When I run the script, the differents stimuli are presented&amp;nbsp;different number of times between them, instead the quantity that I need.&amp;nbsp;I got this result with this code:&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1 = instructions; 2-61 = noreplacenorepeat(primeA, primeB, primeNeutral)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;To get the proportion between primes (20/20) I wrote this code (that presents 4 randomized trials of stimuli primeA and stimuli primeB, followed by one neutral, 10 times):&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [&lt;br/&gt;1 = instructions; 2 = getReady;&amp;nbsp;&lt;br/&gt;3-6 = noreplacenorepeat(primeA, primeB); 7 = primeNeutral;&amp;nbsp;&lt;br/&gt;8-11 = noreplacenorepeat(primeA, primeB); 12 = primeNeutral;&amp;nbsp;&lt;br/&gt;13-16 = noreplacenorepeat(primeA, primeB); 17 = primeNeutral;&lt;br/&gt;18-21 = noreplacenorepeat(primeA, primeB); 22 = primeNeutral;&lt;br/&gt;23-26 = noreplacenorepeat(primeA, primeB); 27 = primeNeutral;&lt;br/&gt;28-31 = noreplacenorepeat(primeA, primeB); 32 = primeNeutral;&lt;br/&gt;33-36 = noreplacenorepeat(primeA, primeB); 37 = primeNeutral;&lt;br/&gt;38-41 = noreplacenorepeat(primeA, primeB); 42 = primeNeutral;&lt;br/&gt;43-46 = noreplacenorepeat(primeA, primeB); 47 = primeNeutral;&lt;br/&gt;48-51 = noreplacenorepeat(primeA,primeB); 52 = primeNeutral;&lt;br/&gt;]&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;But still, the stimuli are not fully randomized. Is there any way to make that code simpler, guaranteeing at the end the number of presentation of all kind of stimuli?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="23854"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;If you want 50 trials total, with 20 x primeA, 20 x primeB, and 10 x primeNeutral, all in random order, you need to enter the trials into the noreplace() selection pool in the desired proportions:&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1 = instructions; &lt;strong&gt;2-51 = noreplacenorepeat(primeA, primeA, primeB, primeB, primeNeutral)&lt;/strong&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;</description><pubDate>Mon, 12 Feb 2018 09:15:44 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>