﻿<?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  » Top Five</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 17 Sep 2026 05:47:57 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Top Five</title><link>https://forums.millisecond.com/Topic9388.aspx</link><description>&lt;p&gt;You link stimuli (and their associated items) in Inquisit by defining dependencies between them via /select attributes.&lt;/p&gt;
&lt;p&gt;You can use empty &amp;lt;item&amp;gt; elements to store stimuli and the associated responses at runtime.&lt;/p&gt;
&lt;p&gt;You can then sort or rank those item lists by extending e.g. https://millisecond.com/forums/Topic8134.aspx#8134 or using a different approach like https://millisecond.com/forums/Topic2644.aspx.&lt;/p&gt;</description><pubDate>Thu, 03 Jan 2013 11:43:51 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>Top Five</title><link>https://forums.millisecond.com/Topic9387.aspx</link><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm having trouble while working on a script to get the participant to choose their favorite among the top five of forty previously presented and ranked &amp;nbsp;stimuli. &amp;nbsp;Alternatively, we would accept having &amp;nbsp;the participant choose from among all of their previous highest rated items rather than the top five. &amp;nbsp;Here is the basic flow of the Inquisit 3 script (we're using Inquisit 3 because of the current problems with the beta regarding integration with ASL eye trackers):&lt;/p&gt;
&lt;p&gt;1. Using autoit, copy each participants' specific list of jpg images to a file which is included in the stimulus presentation script. &amp;nbsp;The list of jpg images is in an item object.&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;Run the stimulus presentation program. &amp;nbsp;It includes instructions and such.&lt;/p&gt;
&lt;p&gt;3. Show each participant their own set of jpg stimuli. &amp;nbsp;In between each stimulus presentation, a likert question is used to rank the participants from 1 to 7 with 1 being best. &amp;nbsp;I have been able to use the "ontrialend" to continuously calculate a highscore that can be stored as a value.&lt;/p&gt;
&lt;p&gt;Up to this point, everything is working slick. &amp;nbsp;However, this is where we want to show the top five, or alternatively, all the items with the highest rating. &amp;nbsp;My thoughts about the program flow for this object are of two possible paths and I can't get either one programmed exactly right...&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Program flow for Alternative A - Top Five&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A4. Get the likert scores and original stimulus item numbers into an text or item object.&lt;/p&gt;
&lt;p&gt;A5. Sort the text / items in an expression.&lt;/p&gt;
&lt;p&gt;A5. Show, in ordered sequence, the first five stimuli of the sorted item list.&lt;/p&gt;
&lt;p&gt;A6. Have the participant choose their favorite of the top five.&lt;/p&gt;
&lt;p&gt;The problem with this plan seems to be that I need the link to the original jpg file name and the likert response item. &amp;nbsp;I think it could be done by sorting a linked list, but I can't imagine how to do that in Inquisit 3. &amp;nbsp;I have the recursive sorting routine used in the examples, and it seems to be sorting a text object with a single value. &amp;nbsp;I need to have it sort a list of likert responses and keep a link to their original item numbers, or jpg file names, so that I can get the correct jpg file for the stimulus presentation.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Program flow for Alternative B - Highest Rating&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;B4. &amp;nbsp;Get the highscore value calculated while all the ratings are being done the first time. &amp;nbsp;The formula is that, on each trial end if the likert score is higher than the high score value, then replace the highscore value.&lt;/p&gt;
&lt;p&gt;B5. Present a set of items while skipping any items with a prior likert response less than the high score.&lt;/p&gt;
&lt;p&gt;B6. Have the participant choose their favorite among those with a high score.&lt;/p&gt;
&lt;p&gt;The problem with this plan has been in accessing the prior likert responses. &amp;nbsp;I can pretty easily cycle through the original items and skip ones fitting a pattern, but how can I get the associated likert response from the original likert trial to be part of the formula for skipping?&lt;/p&gt;
&lt;p&gt;At this point, my frustration level is high, and I am open to suggestion... &amp;nbsp;Thanks in advance for any assistance.&lt;/p&gt;
&lt;p&gt;Doug Oxley, University of Wyoming&lt;/p&gt;</description><pubDate>Thu, 03 Jan 2013 11:05:17 GMT</pubDate><dc:creator>dougoxley</dc:creator></item></channel></rss>