﻿<?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  » Combine two item sets into one/ random trial presentation from unequal item sets</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 26 Sep 2026 12:28:42 GMT</lastBuildDate><ttl>20</ttl><item><title>Combine two item sets into one/ random trial presentation from unequal item sets</title><link>https://forums.millisecond.com/Topic19134.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I find myself with two item elements: one has 15 items, the other one 4. The one with only 4 items is initially empty and filled during initialization. Now, i'd like to display all 29 items randomly. Every item should be displayed, but none of them twice. How do I do this? I tried list elements, and various noreplace() everywhere, but I seem to miss the point. &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item speakerselect_1&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture speakerselect_1&amp;gt;&lt;br/&gt;/ items = speakerselect_1&lt;br/&gt;/select = noreplace&lt;br/&gt;/ size = (40%,40%)&lt;br/&gt;/ position = (50,50)&lt;br/&gt;/ valign = center&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture speaker_2&amp;gt;&lt;br/&gt;/ items = speaker_2&lt;br/&gt;/ select = noreplace&lt;br/&gt;/ size = (40%,40%)&lt;br/&gt;/ position = (50,50)&lt;br/&gt;/ valign = center&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item speaker_2&amp;gt;&lt;br/&gt;/5&amp;nbsp; = "20.jpg"&lt;br/&gt;/6&amp;nbsp; = "21.jpg"&lt;br/&gt;/7&amp;nbsp; = "22.jpg"&lt;br/&gt;/8&amp;nbsp; = "23.jpg"&lt;br/&gt;/9&amp;nbsp; = "24.jpg"&lt;br/&gt;/10 = "25.jpg"&lt;br/&gt;/11 = "26.jpg"&lt;br/&gt;/12 = "27.jpg"&lt;br/&gt;/13 = "28.jpg"&lt;br/&gt;/14 = "29.jpg"&lt;br/&gt;/15 = "30.jpg"&lt;br/&gt;/16&amp;nbsp; = "16.jpg"&lt;br/&gt;/17&amp;nbsp; = "17.jpg"&lt;br/&gt;/18&amp;nbsp; = "18.jpg"&lt;br/&gt;/19&amp;nbsp; = "19.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial environment_1_figure&amp;gt;&lt;br/&gt;/stimulusframes=[1=speakerselect_1]&lt;br/&gt;/trialduration = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial environment_1_ground&amp;gt;&lt;br/&gt;/stimulusframes=[1=speaker_2]&lt;br/&gt;/trialduration = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block environment_1&amp;gt;&lt;br/&gt;/ trials = [1-19=noreplace(environment_1_figure, environment_1_ground)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;This is not a working example, but I hope that makes it clearer. Thanks a lot!&lt;br/&gt;</description><pubDate>Fri, 27 May 2016 06:22:14 GMT</pubDate><dc:creator>fflade</dc:creator></item><item><title>RE: Combine two item sets into one/ random trial presentation from unequal item sets</title><link>https://forums.millisecond.com/Topic19153.aspx</link><description>Yeah, I solved that one. Sorry for bothering you, but thanks for all the other solutions! It is very amazing how fast you answer. &lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Felicitas&lt;br/&gt;</description><pubDate>Fri, 27 May 2016 06:22:14 GMT</pubDate><dc:creator>fflade</dc:creator></item><item><title>RE: Combine two item sets into one/ random trial presentation from unequal item sets</title><link>https://forums.millisecond.com/Topic19138.aspx</link><description>I'm not sure what you mean by "repeat likert type question", but &amp;lt;likert&amp;gt; elements work exactly like trial elements, so it essentially works the same way as what you already have with your &amp;lt;trial&amp;gt; elements.&lt;br/&gt;</description><pubDate>Tue, 24 May 2016 16:16:48 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Combine two item sets into one/ random trial presentation from unequal item sets</title><link>https://forums.millisecond.com/Topic19137.aspx</link><description>Thank you so much, Dave!&lt;br/&gt;&lt;br/&gt;And here is a bonus question: How do I put those nineteen loose pictures into a repeat likert type question? &lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Felicitas&lt;br/&gt;&lt;br/&gt;(I hope this does not sound lazy, but at least the last answer was not totally obvious, I think)&lt;br/&gt;</description><pubDate>Tue, 24 May 2016 14:35:57 GMT</pubDate><dc:creator>fflade</dc:creator></item><item><title>RE: Combine two item sets into one/ random trial presentation from unequal item sets</title><link>https://forums.millisecond.com/Topic19136.aspx</link><description>You need to enter your trials into the &amp;lt;block&amp;gt; element's /trials selection pool in the required proportions:&lt;br/&gt;&lt;br/&gt;You want 4 "environment_1_figure" trials and 15 "environment_1_ground" trials, so that's what you need to specify:&lt;br/&gt;&lt;br/&gt;&amp;lt;block environment_1&amp;gt;&lt;br/&gt;/ trials = [1-19=noreplace(&lt;strong&gt;environment_1_figure, environment_1_figure, environment_1_figure, environment_1_figure, &lt;/strong&gt;&lt;br/&gt;&lt;span style="font-style: italic;"&gt;environment_1_ground, environment_1_ground, environment_1_ground, environment_1_ground, &lt;br/&gt;environment_1_ground, environment_1_ground, environment_1_ground, environment_1_ground, &lt;br/&gt;environment_1_ground, environment_1_ground, environment_1_ground, environment_1_ground, &lt;br/&gt;environment_1_ground, environment_1_ground, environment_1_ground&lt;/span&gt;)]&lt;br/&gt;&amp;lt;/block&amp;gt;</description><pubDate>Tue, 24 May 2016 13:59:18 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>