﻿<?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  » unevenly sized lists for stimulusitems</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 23 Sep 2026 02:35:06 GMT</lastBuildDate><ttl>20</ttl><item><title>unevenly sized lists for stimulusitems</title><link>https://forums.millisecond.com/Topic20859.aspx</link><description>I have a question about item selection! &lt;br/&gt;I have two types of trials, call them "core" and "varying" trials:&lt;br/&gt;&lt;span&gt;[code]&amp;lt;trial core&amp;gt;&lt;br/&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivecore, negativecore)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;trial varying1&amp;gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;&lt;/span&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivevarying1, negativevarying1)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;trial varying2&amp;gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;&lt;/span&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivevarying2, negativevarying2)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;span&gt;[/code]&lt;/span&gt;&lt;br/&gt;The thing is that for each block, there should be 8 core trials for every 1 varying trial (there are 80 core items and 10 varying items). I tried using a list:&lt;br/&gt;&lt;span&gt;[code]&lt;/span&gt;&amp;lt;list trials&amp;gt;&lt;br/&gt;/items = (trial.core, trialvarying1)&lt;br/&gt;/poolsize = 90&lt;br/&gt;/selectionmode = random&lt;br/&gt;&amp;lt;/list&amp;gt;[/code]&lt;br/&gt;Calling that list in a block doesn't wind up with the list &lt;span&gt;&lt;/span&gt;doing anything – I end up with 45 core trials and 45 varying trials – not what I want. I thought about using /itemprobabilities = [.888888; .2222222] but that seems like it's not really what I mean to do. I could also potentially repeat the items in the list?&lt;br/&gt;[code]/items = (trial.core, trial.core, trial.core, trial.core, trial.core, trial.core, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.core, trial.core, trialvarying1)[/code]&lt;br/&gt;Anyway, I've re-ran the experiment so many times at this point that I figured I would ask for help. Anyone have a solution for this? I realize that maybe the simplest solution is to just make separate word lists (not have a core, and instead just put it in each of the other word lists) but that didn't occur to me until after I had spent a while debugging and at this point I'm feeling stubborn. &lt;br/&gt;I guess I should add that I consulted &lt;a href="https://www.millisecond.com/forums/Topic20851.aspx?Keywords=noreplace#bm20855"&gt;this post&lt;/a&gt;, but haven't found it to help me find a solution.&lt;a href="https://www.millisecond.com/forums/Topic20851.aspx?Keywords=noreplace#bm20855"&gt;&lt;br/&gt;&lt;/a&gt;</description><pubDate>Fri, 24 Feb 2017 09:50:50 GMT</pubDate><dc:creator>jdb</dc:creator></item><item><title>RE: unevenly sized lists for stimulusitems</title><link>https://forums.millisecond.com/Topic20877.aspx</link><description>&lt;div data-id="20863" class="if-quote-wrapper" unselectable="on" data-guid="1487958538550"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20863" 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="20863" 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="20863" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Thursday, February 23, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20863"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20859" class="if-quote-wrapper" unselectable="on" data-guid="1487958538550"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20859" 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="20859" 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="20859" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;jdb - Thursday, February 23, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20859"&gt;&lt;div class="if-quote-message-margin"&gt;I have a question about item selection! &lt;br/&gt;I have two types of trials, call them "core" and "varying" trials:&lt;br/&gt;&lt;span&gt;[code]&amp;lt;trial core&amp;gt;&lt;br/&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivecore, negativecore)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;trial varying1&amp;gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;&lt;/span&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivevarying1, negativevarying1)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;trial varying2&amp;gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;&lt;/span&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivevarying2, negativevarying2)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;span&gt;[/code]&lt;/span&gt;&lt;br/&gt;The thing is that for each block, there should be 8 core trials for every 1 varying trial (there are 80 core items and 10 varying items). I tried using a list:&lt;br/&gt;&lt;span&gt;[code]&lt;/span&gt;&amp;lt;list trials&amp;gt;&lt;br/&gt;/items = (trial.core, trialvarying1)&lt;br/&gt;/poolsize = 90&lt;br/&gt;/selectionmode = random&lt;br/&gt;&amp;lt;/list&amp;gt;[/code]&lt;br/&gt;Calling that list in a block doesn't wind up with the list &lt;span&gt;&lt;/span&gt;doing anything – I end up with 45 core trials and 45 varying trials – not what I want. I thought about using /itemprobabilities = [.888888; .2222222] but that seems like it's not really what I mean to do. I could also potentially repeat the items in the list?&lt;br/&gt;[code]/items = (trial.core, trial.core, trial.core, trial.core, trial.core, trial.core, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.core, trial.core, trialvarying1)[/code]&lt;br/&gt;Anyway, I've re-ran the experiment so many times at this point that I figured I would ask for help. Anyone have a solution for this? I realize that maybe the simplest solution is to just make separate word lists (not have a core, and instead just put it in each of the other word lists) but that didn't occur to me until after I had spent a while debugging and at this point I'm feeling stubborn. &lt;br/&gt;I guess I should add that I consulted &lt;a href="https://www.millisecond.com/forums/Topic20851.aspx?Keywords=noreplace#bm20855"&gt;this post&lt;/a&gt;, but haven't found it to help me find a solution.&lt;a href="https://www.millisecond.com/forums/Topic20851.aspx?Keywords=noreplace#bm20855"&gt;&lt;br/&gt;&lt;/a&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20859"&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;A &amp;lt;list&amp;gt; with correctly specified /itemprobabilities is exactly what you should use:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial core&amp;gt;&lt;br/&gt;/ trialduration = 50&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial varying&amp;gt;&lt;br/&gt;/ trialduration = 50&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-90 = list.triallist]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list triallist&amp;gt;&lt;br/&gt;/ items = (trial.core, trial.varying)&lt;br/&gt;/ poolsize = 90&lt;br/&gt;&lt;strong&gt;/ itemprobabilities = [.88889; .11111]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;will result in 80 "core" trials and 10 "varying" trials in the &amp;lt;block&amp;gt;.&lt;br/&gt;&lt;br/&gt;Alternatively, you can achieve the same result without resorting to a &amp;lt;list&amp;gt;. Simply enter trials in the desired 8:1 ratio into a standard noreplace() selection pool:&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-90 = noreplace(&lt;strong&gt;core, core, core, core, core, core, core, core,&lt;/strong&gt; &lt;span style="font-style: italic;"&gt;varying&lt;/span&gt;)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20863"&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;Right! Makes a lot of sense. I think I was hoping that there was some way of explicitly saying "don't start replacing from [the shorter item list] until the longer items run out" but it sounds like that's not possible. This way is straightforward.&lt;br/&gt;</description><pubDate>Fri, 24 Feb 2017 09:50:50 GMT</pubDate><dc:creator>jdb</dc:creator></item><item><title>RE: unevenly sized lists for stimulusitems</title><link>https://forums.millisecond.com/Topic20863.aspx</link><description>&lt;div data-id="20859" class="if-quote-wrapper" unselectable="on" data-guid="1487905337258"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20859" 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="20859" 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="20859" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;jdb - Thursday, February 23, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20859"&gt;&lt;div class="if-quote-message-margin"&gt;I have a question about item selection! &lt;br/&gt;I have two types of trials, call them "core" and "varying" trials:&lt;br/&gt;&lt;span&gt;[code]&amp;lt;trial core&amp;gt;&lt;br/&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivecore, negativecore)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;trial varying1&amp;gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;&lt;/span&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivevarying1, negativevarying1)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;trial varying2&amp;gt;&lt;br/&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;/ validresponse = ("1", "0")&lt;br/&gt;/ correctresponse = ("1")&lt;br/&gt;&lt;/span&gt;/ responseinterrupt = trial&lt;br/&gt;/ stimulustimes = [0=noreplace(positivevarying2, negativevarying2)]&lt;br/&gt;/ response = free&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;span&gt;[/code]&lt;/span&gt;&lt;br/&gt;The thing is that for each block, there should be 8 core trials for every 1 varying trial (there are 80 core items and 10 varying items). I tried using a list:&lt;br/&gt;&lt;span&gt;[code]&lt;/span&gt;&amp;lt;list trials&amp;gt;&lt;br/&gt;/items = (trial.core, trialvarying1)&lt;br/&gt;/poolsize = 90&lt;br/&gt;/selectionmode = random&lt;br/&gt;&amp;lt;/list&amp;gt;[/code]&lt;br/&gt;Calling that list in a block doesn't wind up with the list &lt;span&gt;&lt;/span&gt;doing anything – I end up with 45 core trials and 45 varying trials – not what I want. I thought about using /itemprobabilities = [.888888; .2222222] but that seems like it's not really what I mean to do. I could also potentially repeat the items in the list?&lt;br/&gt;[code]/items = (trial.core, trial.core, trial.core, trial.core, trial.core, trial.core, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trial.core, trial.core, trialvarying1)[/code]&lt;br/&gt;Anyway, I've re-ran the experiment so many times at this point that I figured I would ask for help. Anyone have a solution for this? I realize that maybe the simplest solution is to just make separate word lists (not have a core, and instead just put it in each of the other word lists) but that didn't occur to me until after I had spent a while debugging and at this point I'm feeling stubborn. &lt;br/&gt;I guess I should add that I consulted &lt;a href="https://www.millisecond.com/forums/Topic20851.aspx?Keywords=noreplace#bm20855"&gt;this post&lt;/a&gt;, but haven't found it to help me find a solution.&lt;a href="https://www.millisecond.com/forums/Topic20851.aspx?Keywords=noreplace#bm20855"&gt;&lt;br/&gt;&lt;/a&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20859"&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;A &amp;lt;list&amp;gt; with correctly specified /itemprobabilities is exactly what you should use:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial core&amp;gt;&lt;br/&gt;/ trialduration = 50&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial varying&amp;gt;&lt;br/&gt;/ trialduration = 50&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-90 = list.triallist]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list triallist&amp;gt;&lt;br/&gt;/ items = (trial.core, trial.varying)&lt;br/&gt;/ poolsize = 90&lt;br/&gt;&lt;strong&gt;/ itemprobabilities = [.88889; .11111]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;will result in 80 "core" trials and 10 "varying" trials in the &amp;lt;block&amp;gt;.&lt;br/&gt;&lt;br/&gt;Alternatively, you can achieve the same result without resorting to a &amp;lt;list&amp;gt;. Simply enter trials in the desired 8:1 ratio into a standard noreplace() selection pool:&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-90 = noreplace(&lt;strong&gt;core, core, core, core, core, core, core, core,&lt;/strong&gt; &lt;span style="font-style: italic;"&gt;varying&lt;/span&gt;)]&lt;br/&gt;&amp;lt;/block&amp;gt;</description><pubDate>Thu, 23 Feb 2017 19:11:32 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>