﻿<?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  » congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 18 Sep 2026 11:00:12 GMT</lastBuildDate><ttl>20</ttl><item><title>congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><link>https://forums.millisecond.com/Topic14224.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I tweaked the Simon task from the Inquisit library to increase the number of test blocks (from 1 to 3) and the number of trials w/ in each block (from 28 to 60). As in the original, 50% of trials are congruent and 50% incongruent. Here, incongruent means either a blue box appears on the right side of the screen or a red box appears on the left side of the screen. What's odd is that when I run the task, all the trials appear as incongruent, with no congruent ones, but the raw data files say that it's tracking both types of trials, 50/50. Comparing the two scripts - the original and mine - I can't seem to find the line of code which may be causing the error. I've included the line of code that I adapted where the lists and trials are specified. &lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;################ test block - 30 congruent trials ##################&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruenthpos&amp;gt;&lt;br/&gt;/ items = (85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%)&lt;br/&gt;/ selectionmode = list.congruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruentcresp&amp;gt;&lt;br/&gt;/ items = (42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54)&lt;br/&gt;/ selectionmode = list.congruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;################ test block - 30 incongruent trials ##################&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruenthpos&amp;gt;&lt;br/&gt;/ items = (85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%)&lt;br/&gt;/ selectionmode = list.incongruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruentcresp&amp;gt;&lt;br/&gt;/ items = (42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54)&lt;br/&gt;/ selectionmode = list.incongruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;#########################congruent stim trial ########################&lt;br/&gt;&lt;br/&gt;&amp;lt;trial congruenttrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [if(script.currentblock=="practiceblock")&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;values.stimtype=list.pcongruentstimtype.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;values.stimhpos=list.pcongruenthpos.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;values.cresp=list.pcongruentcresp.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} &lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;values.stimtype=list.congruentstimtype.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;values.stimhpos=list.congruenthpos.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;values.cresp=list.congruentcresp.nextvalue;&lt;br/&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}]&lt;br/&gt;/ posttrialpause = 500&lt;br/&gt;/ stimulustimes = [0=fixation; 800=blank; 1050=stimulus,debug]&lt;br/&gt;/ validresponse = (42,54)&lt;br/&gt;/ iscorrectresponse = [trial.congruenttrial.response==values.cresp]&lt;br/&gt;/ response = timeout(1000)&lt;br/&gt;&amp;lt;/trial&amp;gt;</description><pubDate>Sun, 14 Sep 2014 09:41:49 GMT</pubDate><dc:creator>Nick00004</dc:creator></item><item><title>RE: congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><link>https://forums.millisecond.com/Topic14231.aspx</link><description>No problem!&lt;br/&gt;</description><pubDate>Sun, 14 Sep 2014 09:41:49 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><link>https://forums.millisecond.com/Topic14230.aspx</link><description>And THAT'S what I mean by missing something obvious - thanks, Dave. Appreciate the help.&lt;br/&gt;</description><pubDate>Sun, 14 Sep 2014 09:40:21 GMT</pubDate><dc:creator>Nick00004</dc:creator></item><item><title>RE: congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><link>https://forums.millisecond.com/Topic14229.aspx</link><description>Nick:&lt;br/&gt;&lt;br/&gt;your &amp;lt;trial&amp;gt; names are not the point. The point is that you've misspecified one set of condition lists. Keep in mind:&lt;br/&gt;&lt;br/&gt;Participants are instructed to press the left shift key when they see a blue square and the right shift key when they see a red square. &lt;br/&gt;&lt;br/&gt;A *congruent* trial is when either a blue square is presented on the left side or a red square is presented on the right side.&lt;br/&gt;An *incongruent* trial is when either blue square is presented on the right side or a red square is presented on the left.&lt;br/&gt;&lt;br/&gt;Now review your two sets of lists in terms of which stimulus (red / blue) you've paired with which position (left / right).&lt;br/&gt;&lt;br/&gt;What you are missing is this:&lt;br/&gt;&amp;lt;list congruenthpos&amp;gt;&lt;br/&gt;/ items = (&lt;span style="font-style: italic;"&gt;15%,15%,15%,15%,15%,15%,15%&lt;/span&gt;,&lt;strong&gt;85%,85%,85%,85%,85%,85%,85%&lt;/strong&gt;)&lt;br/&gt;/ selectionmode = list.congruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;list incongruenthpos&amp;gt;&lt;br/&gt;/ items = (&lt;strong&gt;85%,85%,85%,85%,85%,85%,85%&lt;/strong&gt;,&lt;span style="font-style: italic;"&gt;15%,15%,15%,15%,15%,15%,15%&lt;/span&gt;)&lt;br/&gt;/ selectionmode = list.incongruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;</description><pubDate>Sun, 14 Sep 2014 09:35:01 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><link>https://forums.millisecond.com/Topic14228.aspx</link><description>Right, makes sense. When comparing mine to the original (below) though, it seems to have the same issue with no difference in the actual lists, but it runs fine with 50/50 incongruent/congruent...&lt;br/&gt;&lt;br/&gt;Unless there's something obvious I'm missing here&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;For Congruent Trials&amp;nbsp; (Test Block / 14 Congruent Trials)&lt;br/&gt;*******************************************************************************************************************************&lt;br/&gt;*******************************************************************************************************************************&lt;br/&gt;&amp;lt;list congruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruenthpos&amp;gt;&lt;br/&gt;/ items = (15%,15%,15%,15%,15%,15%,15%,85%,85%,85%,85%,85%,85%,85%)&lt;br/&gt;/ selectionmode = list.congruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruentcresp&amp;gt;&lt;br/&gt;/ items = (42,42,42,42,42,42,42,54,54,54,54,54,54,54)&lt;br/&gt;/ selectionmode = list.congruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;For Incongruent Trials (Test Block / 14 Incongruent Trials)&lt;br/&gt;*******************************************************************************************************************************&lt;br/&gt;*******************************************************************************************************************************&lt;br/&gt;&amp;lt;list incongruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruenthpos&amp;gt;&lt;br/&gt;/ items = (85%,85%,85%,85%,85%,85%,85%,15%,15%,15%,15%,15%,15%,15%)&lt;br/&gt;/ selectionmode = list.incongruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruentcresp&amp;gt;&lt;br/&gt;/ items = (42,42,42,42,42,42,42,54,54,54,54,54,54,54)&lt;br/&gt;/ selectionmode = list.incongruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;</description><pubDate>Sun, 14 Sep 2014 09:29:53 GMT</pubDate><dc:creator>Nick00004</dc:creator></item><item><title>RE: congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><link>https://forums.millisecond.com/Topic14227.aspx</link><description>To be more precise: Look at all your &amp;lt;lists&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruenthpos&amp;gt;&lt;br/&gt;/ items = &lt;strong&gt;(85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%)&lt;/strong&gt;&lt;br/&gt;/ selectionmode = list.congruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruentcresp&amp;gt;&lt;br/&gt;/ items = (42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54)&lt;br/&gt;/ selectionmode = list.congruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;################ test block - 30 incongruent trials ##################&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruenthpos&amp;gt;&lt;br/&gt;/ items = &lt;strong&gt;(85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%)&lt;/strong&gt;&lt;br/&gt;/ selectionmode = list.incongruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list incongruentcresp&amp;gt;&lt;br/&gt;/ items = (42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54)&lt;br/&gt;/ selectionmode = list.incongruentstimtype.currentindex&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;There is no difference there at all between your congruent and incongruent condition. The respective lists are identical. Hence all your trials are the same.&lt;br/&gt;</description><pubDate>Sun, 14 Sep 2014 09:21:58 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: congruent trials not appearing during Simon task (but says they are when looking at raw data file)</title><link>https://forums.millisecond.com/Topic14225.aspx</link><description>Where / how exactly are you distinguishing between congruent and incongruent stimuli?&lt;br/&gt;&lt;br/&gt;&amp;lt;list congruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;list incongruentstimtype&amp;gt;&lt;br/&gt;/ items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2)&lt;br/&gt;/ replace = false&lt;br/&gt;/ selectionrate = trial&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;appear to refer to the exact same stimuli, no difference.&lt;br/&gt;</description><pubDate>Sun, 14 Sep 2014 09:18:12 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>