﻿<?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  » Pictures repeating within trials</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 12 Sep 2026 18:08:14 GMT</lastBuildDate><ttl>20</ttl><item><title>Pictures repeating within trials</title><link>https://forums.millisecond.com/Topic22095.aspx</link><description>Dear Inquisit community,&lt;br/&gt;&lt;br/&gt;We are running an experiment using a manikin AAT. In one block, we have 4 trials and in each trial, we are trying to prevent pictures from appearing more than once. We have attempted several methods to achieve this (explaining why our syntax is so messy) but have had no success (i.e. using a counter; using norepeatnoreplace in the element, in the trial, and/or block; resetinterval=0).&lt;br/&gt;&lt;br/&gt;A sample of our syntax can be found below. Any help would be very appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;picture female_attractive1&amp;gt;&lt;br/&gt;/ numitems = 7&lt;br/&gt;/ items = ("AF1.jpg", "AF2.jpg", "AF3.jpg", "AF4.jpg","AF7.jpg", "AF9.jpg", "AF11.jpg")&lt;br/&gt;/ size = (40%, 40%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ erase = false&lt;br/&gt;/resetinterval = 0&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial female_attractive_approach_up&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.y=85%; values.animationstep=1]&lt;br/&gt;/ ontrialend = [picture.currentstimpic.item.1=picture.female_attractive1.currentitem]&lt;br/&gt;/ ontrialend = [if(trial.female_attractive_approach_up.response==200)values.y=values.y-values.d]&lt;br/&gt;/ ontrialend = [if(trial.female_attractive_approach_up.response==208)values.y=values.y+values.d]&lt;br/&gt;/ stimulusframes = [1=blankscreen, fixation; 100=noreplacenorepeat(female_attractive1),erasefixation,avoid,manikin]&lt;br/&gt;/ validresponse = (200, 208)&lt;br/&gt;/ correctresponse = (200)&lt;br/&gt;/ branch = [trial.movemanikinup1]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block female_attractive_approach_unattractive_avoid&amp;gt;&lt;br/&gt;/ trials = [1-30=noreplace(female_attractive_approach_up, female_unattractive_avoid_up, female_attractive_approach_down,female_unattractive_avoid_down)]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Female" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Heterosexual"]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Female" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Bisexual"]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Female" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Other"]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Male" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Homosexual"]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Thanks!</description><pubDate>Fri, 14 Jul 2017 15:11:33 GMT</pubDate><dc:creator>claudiecoulombe</dc:creator></item><item><title>RE: Pictures repeating within trials</title><link>https://forums.millisecond.com/Topic22102.aspx</link><description>&lt;div data-id="22101" class="if-quote-wrapper" unselectable="on" data-guid="1500070025975"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22101" 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="22101" 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="22101" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;claudiecoulombe - Friday, July 14, 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-22101"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thank you so much for your help! Our categories were initially uneven (we had 7 items in one and 8 in another), but by making the number of items even in each category, it seems to have solved the problem.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22101"&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 have an uneven number of items, then entering the trials into the block's /trials selection pool in the correct proportions would do the trick. To illustrate quickly, suppose trial "a" is supposed to display 4 items, and trial "b" has only two. I.e., you would want to run four instances of trial "a" and only two of trial "b". Then you'd specify:&lt;br/&gt;&lt;br/&gt;&amp;lt;block example&amp;gt;&lt;br/&gt;/ trials = [1-6 = noreplace(a,a,b)]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;This will result in twice as many "a" trials than "b" trials, whereas&lt;br/&gt;&lt;br/&gt;&amp;lt;block example&amp;gt;&lt;br/&gt;/ trials = [1-6 = noreplace(a,b)]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;would sample in equal proportions, i.e. you'd get three "a" trials and three "b" trials.&lt;br/&gt;</description><pubDate>Fri, 14 Jul 2017 15:11:33 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Pictures repeating within trials</title><link>https://forums.millisecond.com/Topic22101.aspx</link><description>Hi Dave,&lt;br/&gt;&lt;br/&gt;Thank you so much for your help! Our categories were initially uneven (we had 7 items in one and 8 in another), but by making the number of items even in each category, it seems to have solved the problem.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 14 Jul 2017 14:34:01 GMT</pubDate><dc:creator>claudiecoulombe</dc:creator></item><item><title>RE: Pictures repeating within trials</title><link>https://forums.millisecond.com/Topic22098.aspx</link><description>&lt;div data-id="22095" class="if-quote-wrapper" unselectable="on" data-guid="1500065802399"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22095" 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="22095" 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="22095" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;claudiecoulombe - Friday, July 14, 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-22095"&gt;&lt;div class="if-quote-message-margin"&gt;Dear Inquisit community,&lt;br/&gt;&lt;br/&gt;We are running an experiment using a manikin AAT. In one block, we have 4 trials and in each trial, we are trying to prevent pictures from appearing more than once. We have attempted several methods to achieve this (explaining why our syntax is so messy) but have had no success (i.e. using a counter; using norepeatnoreplace in the element, in the trial, and/or block; resetinterval=0).&lt;br/&gt;&lt;br/&gt;A sample of our syntax can be found below. Any help would be very appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;picture female_attractive1&amp;gt;&lt;br/&gt;/ numitems = 7&lt;br/&gt;/ items = ("AF1.jpg", "AF2.jpg", "AF3.jpg", "AF4.jpg","AF7.jpg", "AF9.jpg", "AF11.jpg")&lt;br/&gt;/ size = (40%, 40%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ erase = false&lt;br/&gt;/resetinterval = 0&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial female_attractive_approach_up&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.y=85%; values.animationstep=1]&lt;br/&gt;/ ontrialend = [picture.currentstimpic.item.1=picture.female_attractive1.currentitem]&lt;br/&gt;/ ontrialend = [if(trial.female_attractive_approach_up.response==200)values.y=values.y-values.d]&lt;br/&gt;/ ontrialend = [if(trial.female_attractive_approach_up.response==208)values.y=values.y+values.d]&lt;br/&gt;/ stimulusframes = [1=blankscreen, fixation; 100=noreplacenorepeat(female_attractive1),erasefixation,avoid,manikin]&lt;br/&gt;/ validresponse = (200, 208)&lt;br/&gt;/ correctresponse = (200)&lt;br/&gt;/ branch = [trial.movemanikinup1]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block female_attractive_approach_unattractive_avoid&amp;gt;&lt;br/&gt;/ trials = [1-30=noreplace(female_attractive_approach_up, female_unattractive_avoid_up, female_attractive_approach_down,female_unattractive_avoid_down)]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Female" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Heterosexual"]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Female" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Bisexual"]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Female" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Other"]&lt;br/&gt;/ skip = [radiobuttons.sex.response == "Male" &amp;amp;&amp;amp; radiobuttons.sexori.response == "Homosexual"]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;Thanks!&lt;a class="if-quote-goto quote-link" href="#" data-id="22095"&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;&lt;br/&gt;&amp;lt;block female_attractive_approach_unattractive_avoid&amp;gt;&lt;br/&gt;/ trials = [1-30=noreplace(&lt;br/&gt;female_attractive_approach_up, &lt;br/&gt;female_unattractive_avoid_up, &lt;br/&gt;female_attractive_approach_down,&lt;br/&gt;female_unattractive_avoid_down)]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;You are running 30 trials, and you are sampling from 4 trial elements _in equal proportions_. That doesn't work out mathematically. 30/4 = 7.5, and there can be no such thing as "half a trial." I.e. some trial elements will necessarily be run more often than others and you'll see any stimuli those trials present repeated when that happens.&lt;br/&gt;&lt;br/&gt;Assuming you have 7 items per trial-type, i.e. 28 different stimuli total, you'll want to run 28 trials, with the 4 trial elements sampled in equal proportions:&lt;br/&gt;&lt;br/&gt;&amp;lt;block female_attractive_approach_unattractive_avoid&amp;gt;&lt;br/&gt;/ trials = [&lt;strong&gt;1-28&lt;/strong&gt;=noreplace(&lt;br/&gt;female_attractive_approach_up, &lt;br/&gt;female_unattractive_avoid_up, &lt;br/&gt;female_attractive_approach_down,&lt;br/&gt;female_unattractive_avoid_down)]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 14 Jul 2017 14:00:52 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>