﻿<?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 6  » Rescoring IAT after removing certain trials</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 28 Sep 2026 07:38:08 GMT</lastBuildDate><ttl>20</ttl><item><title>Rescoring IAT after removing certain trials</title><link>https://forums.millisecond.com/Topic32393.aspx</link><description>I have modified the Inquisit script for an IAT to include new photos of faces and new word stimuli (honest and dishonest words). I have collected data using this IAT and I have the d scores computed by Inquisit. However, I need to remove 2 of my words (unfair and fair) and recalculate d scores without these trials. Is there a way to do this by adjusting the script? Or will I need to re-score the IAT through the raw data?&lt;br/&gt; &lt;br/&gt;The script for this IAT is below. &lt;strong&gt;I want to re-score the IAT after removing any trials with the words: unfair; fair&amp;nbsp;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;usermanual&amp;gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Implicit Association Test (IAT) - IAT template with pictures&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Main Inquisit programming: Sean Draine (&lt;a href="mailto:seandr@millisecond.com"&gt;seandr@millisecond.com&lt;/a&gt;)&lt;br/&gt;last updated:  02-25-2020 by K. Borchert (&lt;a href="mailto:katjab@millisecond.com"&gt;katjab@millisecond.com&lt;/a&gt;) for Millisecond Software, LLC&lt;br/&gt;&lt;br/&gt;Script Copyright © 02-25-2020 Millisecond Software&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;BACKGROUND INFO&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;The Implicit Association Task (Greenwald, McGhee, &amp;amp; Schwartz, 1998) is a widely-used cognitive-behavioral paradigm&lt;br/&gt;that measures the strength of automatic (implicit) associations between concepts in people’s minds relying&lt;br/&gt;on latency measures in a simple sorting task.&lt;br/&gt; &lt;br/&gt;The strength of an association between concepts is measured by the standardized mean difference score of&lt;br/&gt;the 'hypothesis-inconsistent' pairings and 'hypothesis-consistent' pairings (d-score) (Greenwald, Nosek, &amp;amp; Banaji, 2003).&lt;br/&gt;In general, the higher the d-score the stronger is the association between the 'hypothesis-consistent' pairings&lt;br/&gt;(decided by researchers). Negative d-scores suggest a stronger association between the 'hypothesis-inconsistent' pairings.&lt;br/&gt;&lt;br/&gt;Inquisit calculates d-scores using the improved scoring algorithm as described in Greenwald et al (2003).&lt;br/&gt;Error trials are handled by requiring respondents to correct their responses according to recommendation (p.214).&lt;br/&gt;&lt;br/&gt;D-scores obtained with this script:&lt;br/&gt;Positive d-scores: support a stronger association between 'Flowers-Good' and 'Insects-Bad' than for the opposite pairings&lt;br/&gt;Negative d-scores: support a stronger association between 'Insects-Good' and 'Flowers-Bad' than for the opposite pairings&lt;br/&gt;&lt;br/&gt;References: general IAT&lt;br/&gt;Greenwald, A. G., McGhee, D. E., &amp;amp; Schwartz, J. K. L. (1998). Measuring individual differences in implicit cognition:&lt;br/&gt;The Implicit Association Test. Journal of Personality and Social Psychology, 74, 1464-1480.&lt;br/&gt;&lt;br/&gt;Greenwald, A. G., Nosek, B. A., &amp;amp; Banaji, M. R. (2003). Understanding and Using the Implicit Association Test:&lt;br/&gt;I. An Improved Scoring Algorithm. Journal of Personality and Social Psychology, 85, 197-216.&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;TASK DESCRIPTION&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Participants are asked to categorize attributes (e.g. "joyful"; "tragic") and and target items (e.g "daisy" vs. "wasp")&lt;br/&gt;into predetermined categories via keystroke presses. The basic task is to press a left key (E) if an item (e.g. "joyful")&lt;br/&gt;belongs to the category presented on the left (e.g. "Good") and to press the right key (I) if the word (e.g. "tragic")&lt;br/&gt;belongs to the category ("Bad") presented on the right.&lt;br/&gt;For practice, participants sort items into the target categories "Flowers vs. Insects" and the attribute categories "Good vs. Bad".&lt;br/&gt;For the test, participants are asked to sort categories into the paired/combined categories (e.g.&lt;br/&gt;"Flower OR Good" on the left vs. "Insect OR Bad" on the right). Pairings are reversed for a second test&lt;br/&gt;(e.g. "Insects OR Good" on the left vs. "Flowers OR Bad" on the right). Block order is counterbalanced by groupnumber.  &lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;DURATION&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;the default set-up of the script takes appr. 5.5 minutes to complete&lt;br/&gt;&lt;br/&gt;DATA FILE INFORMATION&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;The default data stored in the data files are:&lt;br/&gt;&lt;br/&gt;(1) Raw data file: 'pictureiat_raw*.iqdat' (a separate file for each participant)&lt;br/&gt;&lt;br/&gt;build: The specific Inquisit version used (the 'build') that was run&lt;br/&gt;computer.platform: the platform the script was run on (win/mac/ios/android)&lt;br/&gt;date, time, date and time script was run&lt;br/&gt;&lt;br/&gt;subject, group, with the current subject/groupnumber&lt;br/&gt;Note: odd/even groupnumbers balance the order in which&lt;br/&gt;hypothesis-compatible/incompatible blocks are run&lt;br/&gt;odd = compatible - incompatible&lt;br/&gt;even = incompatible - compatible&lt;br/&gt;script.sessionid: with the current session id&lt;br/&gt;&lt;br/&gt;blockcode, blocknum: the name and number of the current block (built-in Inquisit variable)&lt;br/&gt;trialcode, trialnum: the name and number of the currently recorded trial (built-in Inquisit variable)&lt;br/&gt;Note: trialnum is a built-in Inquisit variable; it counts all trials run;&lt;br/&gt;even those that do not store data to the data file such as feedback trials&lt;br/&gt;conditionOrder: c-ic: consistent -&amp;gt; inconsistent&lt;br/&gt;ic-c: inconsistent -&amp;gt; consistent&lt;br/&gt;response: the response key pressed (e.g. 18 or 23)&lt;br/&gt;Note: script saves the final and -by design- correct response for each trial&lt;br/&gt;correct: the accuracy of the initial response&lt;br/&gt;0 = initial response was incorrect and needed to be corrected&lt;br/&gt;1 = initial response is correct&lt;br/&gt;latency: the latency of the final (correct) response in ms; measured from onset of stim&lt;br/&gt;stimulusnumber: the number of the current stimulus&lt;br/&gt;stimulusitem: the currently presented item&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Only meaningful for the last row of data in the raw data file (upon completion of IAT):&lt;br/&gt;&lt;br/&gt;expressions.da: d-score of the first short blocks&lt;br/&gt;expressions.db: d-score of the second long blocks&lt;br/&gt;&lt;br/&gt;expressions.d: overall d-score (non-weighted mean of the 2 d-scores); main DV&lt;br/&gt;&lt;br/&gt;Suggested Interpretation:&lt;br/&gt;&lt;br/&gt;D-score &amp;lt;= -0.65 =&amp;gt; "a strong" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.35 =&amp;gt; "a moderate" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.15 =&amp;gt; "a slight" preference for hypothesis-NONforming pairings&lt;br/&gt;-0.15 &amp;lt;= D-score &amp;lt;= 0.15 "little to no" preference&lt;br/&gt;D-score &amp;gt; 0.15 =&amp;gt; "a slight" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt; 0.35 =&amp;gt; "a moderate" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt;= 0.65 =&amp;gt; "a strong" preference for hypothesis-conforming pairings&lt;br/&gt;&lt;br/&gt;expressions.percentcorrect:&amp;nbsp;&amp;nbsp; the overall percent correct score of initial responses in test trials of D-score qualifying latencies&lt;br/&gt;&lt;br/&gt;expressions.propRT300: the proportion of response latencies &amp;lt; 300ms&lt;br/&gt;&lt;br/&gt;expressions.excludeCriteriaMet: 1 = yes, exclusion supported per Greenwald et al (2003, p.214, Table 4):&lt;br/&gt;More than 10% of all response latencies are faster than 300ms&lt;br/&gt;0 = otherwise&lt;br/&gt;&lt;br/&gt;(2) Summary data file: 'pictureiat_summary*.iqdat' (a separate file for each participant)&lt;br/&gt;&lt;br/&gt;computer.platform: the platform the script was run on (win/mac/ios/android)&lt;br/&gt;script.startdate: date script was run&lt;br/&gt;script.starttime: time script was started&lt;br/&gt;script.subjectid: assigned subject id number&lt;br/&gt;script.groupid: assigned group id number&lt;br/&gt;script.sessionid: assigned session id number&lt;br/&gt;script.elapsedtime: time it took to run script (in ms); measured from onset to offset of script&lt;br/&gt;script.completed: 0 = script was not completed (prematurely aborted);&lt;br/&gt;1 = script was completed (all conditions run)&lt;br/&gt;conditionOrder: c-ic: consistent -&amp;gt; inconsistent&lt;br/&gt;ic-c: inconsistent -&amp;gt; consistent&lt;br/&gt;&lt;br/&gt;expressions.da: d-score of the first short blocks&lt;br/&gt;expressions.db: d-score of the second long blocks&lt;br/&gt;&lt;br/&gt;expressions.d: overall d-score (non-weighted mean of the 2 d-scores); main DV&lt;br/&gt;&lt;br/&gt;Suggested Interpretation:&lt;br/&gt;&lt;br/&gt;D-score &amp;lt;= -0.65 =&amp;gt; "a strong" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.35 =&amp;gt; "a moderate" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.15 =&amp;gt; "a slight" preference for hypothesis-NONforming pairings&lt;br/&gt;-0.15 &amp;lt;= D-score &amp;lt;= 0.15 "little to no" preference&lt;br/&gt;D-score &amp;gt; 0.15 =&amp;gt; "a slight" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt; 0.35 =&amp;gt; "a moderate" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt;= 0.65 =&amp;gt; "a strong" preference for hypothesis-conforming pairings&lt;br/&gt;&lt;br/&gt;expressions.percentcorrect:&amp;nbsp;&amp;nbsp;the overall percent correct score of initial responses in test trials of D-score qualifying latencies&lt;br/&gt;&lt;br/&gt;expressions.propRT300: the proportion of response latencies &amp;lt; 300ms&lt;br/&gt;&lt;br/&gt;expressions.excludeCriteriaMet: 1 = yes, exclusion supported per Greenwald et al (2003, p.214, Table 4):&lt;br/&gt;More than 10% of all response latencies are faster than 300ms&lt;br/&gt;0 = otherwise&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;EXPERIMENTAL SET-UP&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Hypothesis-consistent pairings vs. hypothesis-inconsistent pairings; tested within-subjects in a blocked format&lt;br/&gt;=&amp;gt; order is counterbalanced by groupnumber assignment&lt;br/&gt;odd groupnumbers run: consistent - inconconsistent pairings&lt;br/&gt;even groupnumbers run: inconsistent - consistent pairings&lt;br/&gt;&lt;br/&gt;Block Sequence:&lt;br/&gt;1. Target Category sorting training&lt;br/&gt;2. Attribute sorting training&lt;br/&gt;3. 1. Test Block of hypothesis-consistent* pairings with 20 trials (half the participant start with inconsistent pairings)&lt;br/&gt;4. 2. Test Block of hypothesis-consistent pairings with 40 trials&lt;br/&gt;5. Target Category sorting training with targets switching sides&lt;br/&gt;6. 1. Test Block of hypothesis-inconsistent pairings with 20 trials&lt;br/&gt;7. 2. Test Block of hypothesis-inconsistent pairings with 40 trials&lt;br/&gt;&lt;br/&gt;In all Test Blocks:&lt;br/&gt;* attributes and targets alternate&lt;br/&gt;* attributes as well as targets are randomly selected without replacement&lt;br/&gt;&lt;br/&gt;Trial Sequence:&lt;br/&gt;Target -&amp;gt; until correct response -&amp;gt; ISI: 250ms (default)-&amp;gt; Target....&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;STIMULI&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;Stimuli can be edited under section Editable Stimuli&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;INSTRUCTIONS&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;* start instruction page is provided as an html page. It automatically adapts to different images and category labels UNLESS&lt;br/&gt;the number of attributes and/or targets have been changed. In this case, changes have to be&lt;br/&gt;made to file "intro_iat.htm", so that the correct number of items are presented in the overview table.&lt;br/&gt;&lt;br/&gt;Example: instead of 8 words for target A, only 5 should be presented:&lt;br/&gt;&lt;br/&gt;in file "intro_iat.htm":&lt;br/&gt;change:&lt;br/&gt;&amp;lt;td&amp;gt;&amp;lt;%item.targetA.item(1)%&amp;gt;, &amp;lt;%item.targetA.item(2)%&amp;gt;, &amp;lt;%item.targetA.item(3)%&amp;gt;, &amp;lt;%item.targetA.item(4)%&amp;gt;,&lt;br/&gt;&amp;lt;%item.targetA.item(5)%&amp;gt;, &amp;lt;%item.targetA.item(6)%&amp;gt;, &amp;lt;%item.targetA.item(7)%&amp;gt;, &amp;lt;%item.targetA.item(8)%&amp;gt;&lt;br/&gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&lt;br/&gt;To:&lt;br/&gt;&amp;lt;td&amp;gt;&amp;lt;%item.targetA.item(1)%&amp;gt;, &amp;lt;%item.targetA.item(2)%&amp;gt;, &amp;lt;%item.targetA.item(3)%&amp;gt;, &amp;lt;%item.targetA.item(4)%&amp;gt;,&lt;br/&gt;&amp;lt;%item.targetA.item(5)%&amp;gt;&lt;br/&gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&lt;br/&gt;* item.instructions under section 'Editable Instructions' contains the the trial instructions&lt;br/&gt;The instructions adapt automatically if different attributes and targets are used.&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;EDITABLE CODE&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;check below for (relatively) easily editable parameters, stimuli, instructions etc.&lt;br/&gt;Keep in mind that you can use this script as a template and therefore always "mess" with the entire code&lt;br/&gt;to further customize your experiment.&lt;br/&gt;&lt;br/&gt;The parameters you can change are:&lt;br/&gt;&lt;br/&gt;/showsummaryfeedback: set parameter showsummaryfeedback = true to display summary feedback to participants at the end (default)&lt;br/&gt;set parameter showsummaryfeedback = false if no summary feedback should be presented to participants&lt;br/&gt;/ISI: interstimulus interval (in ms) (default: 250ms)&lt;br/&gt;&lt;br/&gt;&amp;lt;/usermanual&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EDITABLE PARAMETERS: change editable parameters here&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/showsummaryfeedback = false&lt;br/&gt;/ISI = 250&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EDITABLE STIMULI: change editable stimuli here&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;This sample IAT can be easily adapted to different target categories&lt;br/&gt;and attributes. To change the categories, you need only change the&lt;br/&gt;stimulus items and labels immediately below this line.&lt;br/&gt;&lt;br/&gt;***********************************************************************&lt;br/&gt;&amp;lt;item attributeAlabel&amp;gt;&lt;br/&gt;/1 = "Honest"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item attributeA&amp;gt;&lt;br/&gt;/1 = "Fair"&lt;br/&gt;/2 = "Integrity"&lt;br/&gt;/3 = "Sincere"&lt;br/&gt;/4 = "Trustworthy"&lt;br/&gt;/5 = "Truthful"&lt;br/&gt;/6 = "Moral"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item attributeBlabel&amp;gt;&lt;br/&gt;/1 = "Dishonest"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item attributeB&amp;gt;&lt;br/&gt;/1 = "Unfair"&lt;br/&gt;/2 = "Steal"&lt;br/&gt;/3 = "Deceive"&lt;br/&gt;/4 = "Cheat"&lt;br/&gt;/5 = "Lie"&lt;br/&gt;/6 = "Corrupt"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetAlabel&amp;gt;&lt;br/&gt;/1 = "white children"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetA&amp;gt;&lt;br/&gt;/1 = "fchild1w.jpg"&lt;br/&gt;/2 = "fchild2w.jpg"&lt;br/&gt;/3 = "fchild3w.jpg"&lt;br/&gt;/4 = "fchild4w.jpg"&lt;br/&gt;/5 = "mchild1w.jpg"&lt;br/&gt;/6 = "mchild2w.jpg"&lt;br/&gt;/7 = "mchild3w.jpg"&lt;br/&gt;/8 = "mchild4w.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetBlabel&amp;gt;&lt;br/&gt;/1 = "black children"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetB&amp;gt;&lt;br/&gt;/1 = "fchild1b.jpg"&lt;br/&gt;/2 = "fchild2b.jpg"&lt;br/&gt;/3 = "fchild3b.jpg"&lt;br/&gt;/4 = "fchild4b.jpg"&lt;br/&gt;/5 = "mchild1b.jpg"&lt;br/&gt;/6 = "mchild2b.jpg"&lt;br/&gt;/7 = "mchild3b.jpg"&lt;br/&gt;/8 = "mchild4b.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EDITABLE INSTRUCTIONS: change instructions here&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", 2.8%, false, false, false, false, 5, 1)&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;htmlpage iatintro&amp;gt;&lt;br/&gt;/ file = "intro_pictureiat.6words.htm"&lt;br/&gt;&amp;lt;/htmlpage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item instructions&amp;gt;&lt;br/&gt;/ 1 = "Put your left finger on the 'E' response key for items that belong to the category '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;Put your right finger on the 'I' response key for items that belong to the category '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;~nItems will appear one-by-one in the middle of the screen.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 2 = "Put your left finger on the 'E' response key for items that belong to the category '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;'.&lt;br/&gt;Put your right finger on the 'I' response key for items that belong to the category '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;'.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 3 = "Press the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;~nEach item belongs to only one category.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 4 = "This is the same task as the previous one.&lt;br/&gt;~n~nPress the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;~nEach item belongs to only one category.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 5 = "Attention! The labels have changed sides.&lt;br/&gt;~nPress the left 'E' key for '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 6 = "Press the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 7 = "This is the same task as the previous one.&lt;br/&gt;~nPress the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'&lt;br/&gt;~nEach item belongs to only one category.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;Note: expressions used to assign the correct label to the left and right response keys&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ leftTarget = if(values.conditionOrder == "c-ic"){&lt;br/&gt;item.targetAlabel.item(1);&lt;br/&gt;} else {&lt;br/&gt;item.targetBlabel.item(1);&lt;br/&gt;};&lt;br/&gt;/ rightTarget = if (values.conditionOrder == "c-ic"){&lt;br/&gt;item.targetBlabel.item(1);&lt;br/&gt;} else {&lt;br/&gt;item.targetAlabel.item(1);&lt;br/&gt;};&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text spacebar&amp;gt;&lt;br/&gt;/ items = ("Press the SPACE BAR to begin.")&lt;br/&gt;/ position = (50%, 90%)&lt;br/&gt;/ valign = bottom&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text errorReminder&amp;gt;&lt;br/&gt;/ items = ("If you make an error, a red X will appear. Press the other key to continue.")&lt;br/&gt;/ position = (50%, 95%)&lt;br/&gt;/ valign = bottom&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ txcolor = gray&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text finish&amp;gt;&lt;br/&gt;/ items = ("Thank you! You will now be directed to a questionnaire.")&lt;br/&gt;/ fontstyle = ("Arial", 8%, true, false, false, false, 5, 1)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ size = (50%, 50%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;/ valign = center&lt;br/&gt;/ halign = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text exit&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;press spacebar to exit and begin the questionnaire&amp;gt;")&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ position = (50%, 90%)&lt;br/&gt;/ size = (80%, 5%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;/ valign = center&lt;br/&gt;/ halign = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;***********************************************************************&lt;br/&gt;Performance summary&lt;br/&gt;***********************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial summary&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.magnitude = "little to no";&lt;br/&gt;if( abs(expressions.d) &amp;gt; 0.15 ) values.magnitude = "a slight";&lt;br/&gt;if( abs(expressions.d) &amp;gt; 0.35 ) values.magnitude = "a moderate";&lt;br/&gt;if( abs(expressions.d) &amp;gt;= 0.65 ) values.magnitude = "a strong";&lt;br/&gt;if (expressions.d &amp;gt;= 0.0) values.preferred = item.targetALabel.1;&lt;br/&gt;if (expressions.d &amp;lt; 0.0) values.preferred = item.targetBLabel.1;&lt;br/&gt;if (expressions.d &amp;lt; 0.0) values.notpreferred= item.targetALabel.1;&lt;br/&gt;if (expressions.d &amp;gt;= 0.0) values.notpreferred= item.targetBLabel.1;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=summary]&lt;br/&gt;/ validresponse = (" ")&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text summary&amp;gt;&lt;br/&gt;/ items = ("Your IAT score (D) was &amp;lt;% expressions.d %&amp;gt;, which suggests &amp;lt;% values.magnitude %&amp;gt; automatic preference for &amp;lt;% values.preferred %&amp;gt; compared to &amp;lt;% values.notpreferred %&amp;gt;.~n~n~nPress the spacebar to complete this task.")&lt;br/&gt;/ size = (60%, 60%)&lt;br/&gt;/ hjustify = left&lt;br/&gt; &amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;!!!REMAINING CODE: Customize after careful consideration only!!!&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;DEFAULTS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;script requires Inquisit 6.1.0.0 or higher&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)&lt;br/&gt;/ screencolor = black&lt;br/&gt;/ txbgcolor = black&lt;br/&gt;/ txcolor = white&lt;br/&gt;/ minimumversion = "6.1.0.0"&lt;br/&gt;/ canvasaspectratio = (4, 3)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;DATA&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;Note: data file explanations under User Manual Information at the top&lt;br/&gt;&lt;br/&gt;***********************&lt;br/&gt;raw data file&lt;br/&gt;***********************&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = (build, computer.platform, date, time, subject, group, script.sessionid, blockcode, blocknum,&lt;br/&gt;trialcode, trialnum, values.conditionOrder,&lt;br/&gt;response, correct, latency,&lt;br/&gt;stimulusnumber, stimulusitem,&lt;br/&gt;expressions.da, expressions.db, expressions.d, expressions.percentcorrect,&lt;br/&gt;expressions.propRT300, expressions.excludeCriteriaMet)&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;****************&lt;br/&gt;summary data&lt;br/&gt;****************&lt;br/&gt;&lt;br/&gt;&amp;lt;summarydata&amp;gt;&lt;br/&gt;/ columns = (computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid, script.elapsedtime,&lt;br/&gt;script.completed, values.conditionOrder,&lt;br/&gt;expressions.da, expressions.db, expressions.d, expressions.percentcorrect, expressions.propRT300, expressions.excludeCriteriaMet)&lt;br/&gt;&amp;lt;/summarydata&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;VALUES: automatically updated&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;br/&gt;&lt;br/&gt;/ sum1a: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the first compatible block 1A&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ sum2a: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the first incompatible block 2A&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ sum1b: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the second compatible block 1B&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ sum2b: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the second incompatible block 2B&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ n1a: counts the number of trials in first compatible block 1A (except first one)&lt;br/&gt;/ n2a: counts the number of trials in first incompatible block 2A (except first one)&lt;br/&gt;/ n1b: counts the number of trials in second compatible block 1B&lt;br/&gt;/ n2b: counts the number of trials in second incompatible block 2B&lt;br/&gt;/ ss1a: tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the first compatible block&lt;br/&gt;/ ss2a tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the first incompatible block&lt;br/&gt;/ ss1b: tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the second compatible block&lt;br/&gt;/ ss2b: tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the second incompatible block&lt;br/&gt;/ magnitude: stores the magnitude of the implicit preference: "little to no", "a slight", "a moderate", "a strong"&lt;br/&gt;/ preferred: stores the preferred target category&lt;br/&gt;/ notpreferred : stores the non preferred target category&lt;br/&gt;/ n_correct: counts all initial correct responses of all trials that count towards D score&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ sum1a = 0&lt;br/&gt;/ sum2a = 0&lt;br/&gt;/ sum1b = 0&lt;br/&gt;/ sum2b = 0&lt;br/&gt;/ n1a = 0&lt;br/&gt;/ n2a = 0&lt;br/&gt;/ n1b = 0&lt;br/&gt;/ n2b = 0&lt;br/&gt;/ ss1a = 0&lt;br/&gt;/ ss2a = 0&lt;br/&gt;/ ss1b = 0&lt;br/&gt;/ ss2b = 0&lt;br/&gt;/ magnitude = "unknown"&lt;br/&gt;/ preferred = "unknown"&lt;br/&gt;/ notpreferred = "unknown"&lt;br/&gt;/ n_correct = 0&lt;br/&gt;/progresswidth = 0&lt;br/&gt;/instructionIndex = 0&lt;br/&gt;/conditionOrder = ""&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EXPRESSIONS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;* 1 is compatible, 2 is incompatible&lt;br/&gt;* a is first block, b is second block&lt;br/&gt;&lt;br/&gt;/ m1a: mean latencies of correct responses in first compatible block&lt;br/&gt;/ m2a: mean latencies of correct responses in first incompatible block&lt;br/&gt;/ m1b: mean latencies of correct responses in second compatible block&lt;br/&gt;/ m2b: mean latencies of correct responses in second incompatible block&lt;br/&gt;/ sd1a: standard deviation of latencies of correct responses in first compatible block&lt;br/&gt;/ sd2a standard deviation of latencies of correct responses in first incompatible block&lt;br/&gt;/ sd1b: standard deviation of latencies of correct responses in second compatible block&lt;br/&gt;/ sd2b: standard deviation of latencies of correct responses in second incompatible block&lt;br/&gt;/ sda standarddeviation of latencies in first block&lt;br/&gt;/ sdb standarddeviation of latencies in second block&lt;br/&gt;/ da: D-score for first blocks&lt;br/&gt;/ db: D-score for second blocks&lt;br/&gt;/ d: overall D-score&lt;br/&gt;/ percentcorrect:&amp;nbsp;&amp;nbsp; calculates the overall percent correct score of initial responses of test trials of D-score qualifying latencies&lt;br/&gt;/progress: sets the length of the progress bar to %&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ m1a = values.sum1a / values.n1a&lt;br/&gt;/ m2a = values.sum2a / values.n2a&lt;br/&gt;/ m1b = values.sum1b / values.n1b&lt;br/&gt;/ m2b = values.sum2b / values.n2b&lt;br/&gt;/ sd1a = sqrt((values.ss1a - (values.n1a * (expressions.m1a * expressions.m1a))) / (values.n1a - 1))&lt;br/&gt;/ sd2a = sqrt((values.ss2a - (values.n2a * (expressions.m2a * expressions.m2a))) / (values.n2a - 1))&lt;br/&gt;/ sd1b = sqrt((values.ss1b - (values.n1b * (expressions.m1b * expressions.m1b))) / (values.n1b - 1))&lt;br/&gt;/ sd2b = sqrt((values.ss2b - (values.n2b * (expressions.m2b * expressions.m2b))) / (values.n2b - 1))&lt;br/&gt;/ sda = sqrt((((values.n1a - 1) * (expressions.sd1a * expressions.sd1a) + (values.n2a - 1) * (expressions.sd2a * expressions.sd2a)) + ((values.n1a + values.n2a) * ((expressions.m1a - expressions.m2a) * (expressions.m1a - expressions.m2a)) / 4) ) / (values.n1a + values.n2a - 1) )&lt;br/&gt;/ sdb = sqrt((((values.n1b - 1) * (expressions.sd1b * expressions.sd1b) + (values.n2b - 1) * (expressions.sd2b * expressions.sd2b)) + ((values.n1b + values.n2b) * ((expressions.m1b - expressions.m2b) * (expressions.m1b - expressions.m2b)) / 4) ) / (values.n1b + values.n2b - 1) )&lt;br/&gt;/ da = (expressions.m2a - expressions.m1a) / expressions.sda&lt;br/&gt;/ db = (expressions.m2b - expressions.m1b) / expressions.sdb&lt;br/&gt;/ d = (expressions.da + expressions.db) / 2&lt;br/&gt;/ percentcorrect = (values.n_correct/ (values.n1a + values.n1b + values.n2a + values.n2b)) * 100&lt;br/&gt;/progress = 1% * values.progresswidth&lt;br/&gt;/propRT300 = list.RT300.mean&lt;br/&gt;/excludeCriteriaMet = if (expressions.propRT300 &amp;gt; 0.1){&lt;br/&gt;1;&lt;br/&gt;} else {&lt;br/&gt;0;&lt;br/&gt;}&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;INSTRUCTIONS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text instructions&amp;gt;&lt;br/&gt;/ items = instructions&lt;br/&gt;/ position = (10%, 25%)&lt;br/&gt;/ halign = left&lt;br/&gt;/ valign = top&lt;br/&gt;/ hjustify = left&lt;br/&gt;/ vjustify = center&lt;br/&gt;/ size = (80%, 50%)&lt;br/&gt;/ select = values.instructionIndex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial instructions&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.progresswidth += 10;&lt;br/&gt;values.instructionIndex += 1;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [1=instructions, spacebar, progressbar, progressbar_fill]&lt;br/&gt;/ correctresponse = (" ")&lt;br/&gt;/ errormessage = false&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ showmousecursor = true&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial finish&amp;gt;&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ stimulusframes = [1 = finish, exit]&lt;br/&gt;/ validresponse = (" ")&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;STIMULI&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;shape progressbar&amp;gt;&lt;br/&gt;/shape = rectangle&lt;br/&gt;/ size = (70%, 2%)&lt;br/&gt;/ color = gray&lt;br/&gt;/ position = (15%, 95%)&lt;br/&gt;/ halign = left&lt;br/&gt;/ valign = top&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape progressbar_fill&amp;gt;&lt;br/&gt;/shape = rectangle&lt;br/&gt;/ size = (expressions.progress, 2%)&lt;br/&gt;/ color = green&lt;br/&gt;/ position = (15%, 95%)&lt;br/&gt;/ halign = left&lt;br/&gt;/ valign = top&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeA&amp;gt;&lt;br/&gt;/ items = attributeA&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeB&amp;gt;&lt;br/&gt;/ items = attributeB&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture targetB&amp;gt;&lt;br/&gt;/ items = targetB&lt;br/&gt;/ size = (40%, 40%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture targetA&amp;gt;&lt;br/&gt;/ items = targetA&lt;br/&gt;/ size = (40%, 40%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text error&amp;gt;&lt;br/&gt;/ position = (50%, 75%)&lt;br/&gt;/ items = ("X")&lt;br/&gt;/ color = red&lt;br/&gt;/ fontstyle = ("Arial", 10%, true)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeAleft&amp;gt;&lt;br/&gt;/ items = attributeAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeBright&amp;gt;&lt;br/&gt;/ items = attributeBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBleft&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBright&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBleftmixed&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBrightmixed&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetAleft&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetAright&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetAleftmixed&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetArightmixed&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&amp;lt;text orleft&amp;gt;&lt;br/&gt;/ items = ("or")&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 12%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text orright&amp;gt;&lt;br/&gt;/ items = ("or")&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 12%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;LISTS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Data Lists: used for descriptive statistics&lt;br/&gt;store correct latencies/accuracy data&lt;br/&gt;fill up during runtime&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;Note: list stores 1 for latencies &amp;lt; 300ms (0 otherwise)&lt;br/&gt;&amp;lt;list RT300&amp;gt;&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;TRIALS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial attributeA&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("E")&lt;br/&gt;/ stimulusframes = [1 = attributeA, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial attributeB&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("I")&lt;br/&gt;/ stimulusframes = [1 = attributeB, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetBleft&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("E")&lt;br/&gt;/ stimulusframes = [1 = targetB, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetBright&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("I")&lt;br/&gt;/ stimulusframes = [1 = targetB, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetAleft&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("E")&lt;br/&gt;/ stimulusframes = [1 = targetA, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetAright&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("I")&lt;br/&gt;/ stimulusframes = [1 = targetA, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;BLOCKS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block attributepractice&amp;gt;&lt;br/&gt;/ bgstim = (attributeAleft, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-21 = random(attributeA, attributeB);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetcompatiblepractice&amp;gt;&lt;br/&gt;/ bgstim = (targetAleft, targetBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-21 = random(targetAleft, targetBright);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetincompatiblepractice&amp;gt;&lt;br/&gt;/ bgstim = (targetAright, targetBleft)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-21 = random(targetAright, targetBleft);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetcompatiblepracticeswitch&amp;gt;&lt;br/&gt;/ bgstim = (targetAleft, targetBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-41 = random(targetAleft, targetBright);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetincompatiblepracticeswitch&amp;gt;&lt;br/&gt;/ bgstim = (targetAright, targetBleft)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-41 = random(targetAright, targetBleft);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block compatibletest1&amp;gt;&lt;br/&gt;/ bgstim = (targetAleftmixed, orleft, attributeAleft, targetBrightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;3,5,7,9,11,13,15,17,19,21= random(targetAleft, targetBright);&lt;br/&gt;2,4,6,8,10,12,14,16,18,20 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.compatibletest1.latency  &amp;lt;= 10000 &amp;amp;&amp;amp; block.compatibletest1.currenttrialnumber != 1 ) {&lt;br/&gt;values.sum1a += block.compatibletest1.latency;&lt;br/&gt;values.n1a += 1;&lt;br/&gt;values.ss1a += (block.compatibletest1.latency * block.compatibletest1.latency);&lt;br/&gt;values.n_correct += block.compatibletest1.correct;&lt;br/&gt;};&lt;br/&gt;if(block.compatibletest1.latency &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block compatibletest2&amp;gt;&lt;br/&gt;/ bgstim = (targetAleftmixed, orleft, attributeAleft, targetBrightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;  2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40 = random(targetAleft, targetBright);&lt;br/&gt;  1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.compatibletest2.latency  &amp;lt;= 10000) {&lt;br/&gt;values.sum1b += block.compatibletest2.latency;&lt;br/&gt;values.n1b += 1;&lt;br/&gt;values.ss1b += (block.compatibletest2.latency * block.compatibletest2.latency);&lt;br/&gt;values.n_correct += block.compatibletest2.correct;&lt;br/&gt;};&lt;br/&gt;if(block.compatibletest2.latency  &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block incompatibletest1&amp;gt;&lt;br/&gt;/ bgstim = (targetBleftmixed, orleft, attributeAleft, targetArightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;3,5,7,9,11,13,15,17,19,21 = random(targetBleft, targetAright);&lt;br/&gt;2,4,6,8,10,12,14,16,18,20 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.incompatibletest1.latency  &amp;lt;= 10000 &amp;amp;&amp;amp; block.incompatibletest1.currenttrialnumber != 1) {&lt;br/&gt;values.sum2a += block.incompatibletest1.latency;&lt;br/&gt;values.n2a += 1;&lt;br/&gt;values.ss2a += (block.incompatibletest1.latency * block.incompatibletest1.latency);&lt;br/&gt;values.n_correct += block.incompatibletest1.correct;&lt;br/&gt;};&lt;br/&gt;if(block.incompatibletest1.latency  &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block incompatibletest2&amp;gt;&lt;br/&gt;/ bgstim = (targetBleftmixed, orleft, attributeAleft, targetArightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;  2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40 = random(targetBleft, targetAright);&lt;br/&gt;  1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.incompatibletest2.latency  &amp;lt;= 10000) {&lt;br/&gt;values.sum2b += block.incompatibletest2.latency;&lt;br/&gt;values.n2b += 1;&lt;br/&gt;values.ss2b += (block.incompatibletest2.latency * block.incompatibletest2.latency);&lt;br/&gt;values.n_correct += block.incompatibletest2.correct;&lt;br/&gt;};&lt;br/&gt;if(block.incompatibletest2.latency  &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block compatibletestinstructions&amp;gt;&lt;br/&gt;/ bgstim = (targetAleftmixed, orleft, attributeAleft, targetBrightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [1=instructions]&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block incompatibletestinstructions&amp;gt;&lt;br/&gt;/ bgstim = (targetBleftmixed, orleft, attributeAleft, targetArightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [1=instructions]&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block summary&amp;gt;&lt;br/&gt;/skip = [parameters.showsummaryfeedback == false]&lt;br/&gt;/ trials = [1=summary]&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block end&amp;gt;&lt;br/&gt;/ trials = [1 = finish]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EXPERIMENT&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;Groupassignment is done by groupnumber&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;values.conditionOrder = "c-ic";&lt;br/&gt;]&lt;br/&gt;/ preinstructions = (iatintro)&lt;br/&gt;/ groups = (1 of 2)&lt;br/&gt;/ blocks = [&lt;br/&gt;1=targetcompatiblepractice;&lt;br/&gt;2=attributepractice;&lt;br/&gt;3=compatibletest1;&lt;br/&gt;4=compatibletestinstructions;&lt;br/&gt;5=compatibletest2;&lt;br/&gt;6=targetincompatiblepracticeswitch;&lt;br/&gt;7=incompatibletest1;&lt;br/&gt;8=incompatibletestinstructions;&lt;br/&gt;9=incompatibletest2;&lt;br/&gt;10=summary;&lt;br/&gt;11 = end;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;values.conditionOrder = "ic-c";&lt;br/&gt;]&lt;br/&gt;/ preinstructions = (iatintro)&lt;br/&gt;/ groups = (2 of 2)&lt;br/&gt;/ blocks = [&lt;br/&gt;1=targetincompatiblepractice;&lt;br/&gt;2=attributepractice;&lt;br/&gt;3=incompatibletest1;&lt;br/&gt;4=incompatibletestinstructions;&lt;br/&gt;5=incompatibletest2;&lt;br/&gt;6=targetcompatiblepracticeswitch;&lt;br/&gt;7=compatibletest1;&lt;br/&gt;8=compatibletestinstructions;&lt;br/&gt;9=compatibletest2;&lt;br/&gt;10=summary;&lt;br/&gt;11 = end;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;***********************************************************************&lt;br/&gt;Test Monkey&lt;br/&gt;***********************************************************************&lt;br/&gt;&amp;lt;monkey&amp;gt;&lt;br/&gt;/ latencydistribution = normal(500, 100)&lt;br/&gt;/ percentcorrect = 90&lt;br/&gt;&amp;lt;/monkey&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;End of File&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;</description><pubDate>Wed, 27 Oct 2021 13:47:21 GMT</pubDate><dc:creator>alisonoconnor</dc:creator></item><item><title>RE: Rescoring IAT after removing certain trials</title><link>https://forums.millisecond.com/Topic32394.aspx</link><description>&lt;blockquote data-id="32393" class="if-quote-wrapper" unselectable="on" data-guid="1635342425919" id="if_insertedNode_1635342424440" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="32393" 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="32393" 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="32393" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;alisonoconnor - 10/27/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-32393"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I have modified the Inquisit script for an IAT to include new photos of faces and new word stimuli (honest and dishonest words). I have collected data using this IAT and I have the d scores computed by Inquisit. However, I need to remove 2 of my words (unfair and fair) and recalculate d scores without these trials. Is there a way to do this by adjusting the script? Or will I need to re-score the IAT through the raw data?&lt;br/&gt; &lt;br/&gt;The script for this IAT is below. &lt;strong&gt;I want to re-score the IAT after removing any trials with the words: unfair; fair&amp;nbsp;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;usermanual&amp;gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Implicit Association Test (IAT) - IAT template with pictures&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Main Inquisit programming: Sean Draine (&lt;a href="mailto:seandr@millisecond.com"&gt;seandr@millisecond.com&lt;/a&gt;)&lt;br/&gt;last updated:  02-25-2020 by K. Borchert (&lt;a href="mailto:katjab@millisecond.com"&gt;katjab@millisecond.com&lt;/a&gt;) for Millisecond Software, LLC&lt;br/&gt;&lt;br/&gt;Script Copyright © 02-25-2020 Millisecond Software&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;BACKGROUND INFO&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;The Implicit Association Task (Greenwald, McGhee, &amp;amp; Schwartz, 1998) is a widely-used cognitive-behavioral paradigm&lt;br/&gt;that measures the strength of automatic (implicit) associations between concepts in people’s minds relying&lt;br/&gt;on latency measures in a simple sorting task.&lt;br/&gt; &lt;br/&gt;The strength of an association between concepts is measured by the standardized mean difference score of&lt;br/&gt;the 'hypothesis-inconsistent' pairings and 'hypothesis-consistent' pairings (d-score) (Greenwald, Nosek, &amp;amp; Banaji, 2003).&lt;br/&gt;In general, the higher the d-score the stronger is the association between the 'hypothesis-consistent' pairings&lt;br/&gt;(decided by researchers). Negative d-scores suggest a stronger association between the 'hypothesis-inconsistent' pairings.&lt;br/&gt;&lt;br/&gt;Inquisit calculates d-scores using the improved scoring algorithm as described in Greenwald et al (2003).&lt;br/&gt;Error trials are handled by requiring respondents to correct their responses according to recommendation (p.214).&lt;br/&gt;&lt;br/&gt;D-scores obtained with this script:&lt;br/&gt;Positive d-scores: support a stronger association between 'Flowers-Good' and 'Insects-Bad' than for the opposite pairings&lt;br/&gt;Negative d-scores: support a stronger association between 'Insects-Good' and 'Flowers-Bad' than for the opposite pairings&lt;br/&gt;&lt;br/&gt;References: general IAT&lt;br/&gt;Greenwald, A. G., McGhee, D. E., &amp;amp; Schwartz, J. K. L. (1998). Measuring individual differences in implicit cognition:&lt;br/&gt;The Implicit Association Test. Journal of Personality and Social Psychology, 74, 1464-1480.&lt;br/&gt;&lt;br/&gt;Greenwald, A. G., Nosek, B. A., &amp;amp; Banaji, M. R. (2003). Understanding and Using the Implicit Association Test:&lt;br/&gt;I. An Improved Scoring Algorithm. Journal of Personality and Social Psychology, 85, 197-216.&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;TASK DESCRIPTION&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Participants are asked to categorize attributes (e.g. "joyful"; "tragic") and and target items (e.g "daisy" vs. "wasp")&lt;br/&gt;into predetermined categories via keystroke presses. The basic task is to press a left key (E) if an item (e.g. "joyful")&lt;br/&gt;belongs to the category presented on the left (e.g. "Good") and to press the right key (I) if the word (e.g. "tragic")&lt;br/&gt;belongs to the category ("Bad") presented on the right.&lt;br/&gt;For practice, participants sort items into the target categories "Flowers vs. Insects" and the attribute categories "Good vs. Bad".&lt;br/&gt;For the test, participants are asked to sort categories into the paired/combined categories (e.g.&lt;br/&gt;"Flower OR Good" on the left vs. "Insect OR Bad" on the right). Pairings are reversed for a second test&lt;br/&gt;(e.g. "Insects OR Good" on the left vs. "Flowers OR Bad" on the right). Block order is counterbalanced by groupnumber.  &lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;DURATION&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;the default set-up of the script takes appr. 5.5 minutes to complete&lt;br/&gt;&lt;br/&gt;DATA FILE INFORMATION&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;The default data stored in the data files are:&lt;br/&gt;&lt;br/&gt;(1) Raw data file: 'pictureiat_raw*.iqdat' (a separate file for each participant)&lt;br/&gt;&lt;br/&gt;build: The specific Inquisit version used (the 'build') that was run&lt;br/&gt;computer.platform: the platform the script was run on (win/mac/ios/android)&lt;br/&gt;date, time, date and time script was run&lt;br/&gt;&lt;br/&gt;subject, group, with the current subject/groupnumber&lt;br/&gt;Note: odd/even groupnumbers balance the order in which&lt;br/&gt;hypothesis-compatible/incompatible blocks are run&lt;br/&gt;odd = compatible - incompatible&lt;br/&gt;even = incompatible - compatible&lt;br/&gt;script.sessionid: with the current session id&lt;br/&gt;&lt;br/&gt;blockcode, blocknum: the name and number of the current block (built-in Inquisit variable)&lt;br/&gt;trialcode, trialnum: the name and number of the currently recorded trial (built-in Inquisit variable)&lt;br/&gt;Note: trialnum is a built-in Inquisit variable; it counts all trials run;&lt;br/&gt;even those that do not store data to the data file such as feedback trials&lt;br/&gt;conditionOrder: c-ic: consistent -&amp;gt; inconsistent&lt;br/&gt;ic-c: inconsistent -&amp;gt; consistent&lt;br/&gt;response: the response key pressed (e.g. 18 or 23)&lt;br/&gt;Note: script saves the final and -by design- correct response for each trial&lt;br/&gt;correct: the accuracy of the initial response&lt;br/&gt;0 = initial response was incorrect and needed to be corrected&lt;br/&gt;1 = initial response is correct&lt;br/&gt;latency: the latency of the final (correct) response in ms; measured from onset of stim&lt;br/&gt;stimulusnumber: the number of the current stimulus&lt;br/&gt;stimulusitem: the currently presented item&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Only meaningful for the last row of data in the raw data file (upon completion of IAT):&lt;br/&gt;&lt;br/&gt;expressions.da: d-score of the first short blocks&lt;br/&gt;expressions.db: d-score of the second long blocks&lt;br/&gt;&lt;br/&gt;expressions.d: overall d-score (non-weighted mean of the 2 d-scores); main DV&lt;br/&gt;&lt;br/&gt;Suggested Interpretation:&lt;br/&gt;&lt;br/&gt;D-score &amp;lt;= -0.65 =&amp;gt; "a strong" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.35 =&amp;gt; "a moderate" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.15 =&amp;gt; "a slight" preference for hypothesis-NONforming pairings&lt;br/&gt;-0.15 &amp;lt;= D-score &amp;lt;= 0.15 "little to no" preference&lt;br/&gt;D-score &amp;gt; 0.15 =&amp;gt; "a slight" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt; 0.35 =&amp;gt; "a moderate" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt;= 0.65 =&amp;gt; "a strong" preference for hypothesis-conforming pairings&lt;br/&gt;&lt;br/&gt;expressions.percentcorrect:&amp;nbsp;&amp;nbsp; the overall percent correct score of initial responses in test trials of D-score qualifying latencies&lt;br/&gt;&lt;br/&gt;expressions.propRT300: the proportion of response latencies &amp;lt; 300ms&lt;br/&gt;&lt;br/&gt;expressions.excludeCriteriaMet: 1 = yes, exclusion supported per Greenwald et al (2003, p.214, Table 4):&lt;br/&gt;More than 10% of all response latencies are faster than 300ms&lt;br/&gt;0 = otherwise&lt;br/&gt;&lt;br/&gt;(2) Summary data file: 'pictureiat_summary*.iqdat' (a separate file for each participant)&lt;br/&gt;&lt;br/&gt;computer.platform: the platform the script was run on (win/mac/ios/android)&lt;br/&gt;script.startdate: date script was run&lt;br/&gt;script.starttime: time script was started&lt;br/&gt;script.subjectid: assigned subject id number&lt;br/&gt;script.groupid: assigned group id number&lt;br/&gt;script.sessionid: assigned session id number&lt;br/&gt;script.elapsedtime: time it took to run script (in ms); measured from onset to offset of script&lt;br/&gt;script.completed: 0 = script was not completed (prematurely aborted);&lt;br/&gt;1 = script was completed (all conditions run)&lt;br/&gt;conditionOrder: c-ic: consistent -&amp;gt; inconsistent&lt;br/&gt;ic-c: inconsistent -&amp;gt; consistent&lt;br/&gt;&lt;br/&gt;expressions.da: d-score of the first short blocks&lt;br/&gt;expressions.db: d-score of the second long blocks&lt;br/&gt;&lt;br/&gt;expressions.d: overall d-score (non-weighted mean of the 2 d-scores); main DV&lt;br/&gt;&lt;br/&gt;Suggested Interpretation:&lt;br/&gt;&lt;br/&gt;D-score &amp;lt;= -0.65 =&amp;gt; "a strong" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.35 =&amp;gt; "a moderate" preference for hypothesis-NONconforming pairings&lt;br/&gt;D-score &amp;lt; -0.15 =&amp;gt; "a slight" preference for hypothesis-NONforming pairings&lt;br/&gt;-0.15 &amp;lt;= D-score &amp;lt;= 0.15 "little to no" preference&lt;br/&gt;D-score &amp;gt; 0.15 =&amp;gt; "a slight" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt; 0.35 =&amp;gt; "a moderate" preference for hypothesis-conforming pairings&lt;br/&gt;D-score &amp;gt;= 0.65 =&amp;gt; "a strong" preference for hypothesis-conforming pairings&lt;br/&gt;&lt;br/&gt;expressions.percentcorrect:&amp;nbsp;&amp;nbsp;the overall percent correct score of initial responses in test trials of D-score qualifying latencies&lt;br/&gt;&lt;br/&gt;expressions.propRT300: the proportion of response latencies &amp;lt; 300ms&lt;br/&gt;&lt;br/&gt;expressions.excludeCriteriaMet: 1 = yes, exclusion supported per Greenwald et al (2003, p.214, Table 4):&lt;br/&gt;More than 10% of all response latencies are faster than 300ms&lt;br/&gt;0 = otherwise&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;EXPERIMENTAL SET-UP&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;&lt;br/&gt;Hypothesis-consistent pairings vs. hypothesis-inconsistent pairings; tested within-subjects in a blocked format&lt;br/&gt;=&amp;gt; order is counterbalanced by groupnumber assignment&lt;br/&gt;odd groupnumbers run: consistent - inconconsistent pairings&lt;br/&gt;even groupnumbers run: inconsistent - consistent pairings&lt;br/&gt;&lt;br/&gt;Block Sequence:&lt;br/&gt;1. Target Category sorting training&lt;br/&gt;2. Attribute sorting training&lt;br/&gt;3. 1. Test Block of hypothesis-consistent* pairings with 20 trials (half the participant start with inconsistent pairings)&lt;br/&gt;4. 2. Test Block of hypothesis-consistent pairings with 40 trials&lt;br/&gt;5. Target Category sorting training with targets switching sides&lt;br/&gt;6. 1. Test Block of hypothesis-inconsistent pairings with 20 trials&lt;br/&gt;7. 2. Test Block of hypothesis-inconsistent pairings with 40 trials&lt;br/&gt;&lt;br/&gt;In all Test Blocks:&lt;br/&gt;* attributes and targets alternate&lt;br/&gt;* attributes as well as targets are randomly selected without replacement&lt;br/&gt;&lt;br/&gt;Trial Sequence:&lt;br/&gt;Target -&amp;gt; until correct response -&amp;gt; ISI: 250ms (default)-&amp;gt; Target....&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;STIMULI&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;Stimuli can be edited under section Editable Stimuli&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;INSTRUCTIONS&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;* start instruction page is provided as an html page. It automatically adapts to different images and category labels UNLESS&lt;br/&gt;the number of attributes and/or targets have been changed. In this case, changes have to be&lt;br/&gt;made to file "intro_iat.htm", so that the correct number of items are presented in the overview table.&lt;br/&gt;&lt;br/&gt;Example: instead of 8 words for target A, only 5 should be presented:&lt;br/&gt;&lt;br/&gt;in file "intro_iat.htm":&lt;br/&gt;change:&lt;br/&gt;&amp;lt;td&amp;gt;&amp;lt;%item.targetA.item(1)%&amp;gt;, &amp;lt;%item.targetA.item(2)%&amp;gt;, &amp;lt;%item.targetA.item(3)%&amp;gt;, &amp;lt;%item.targetA.item(4)%&amp;gt;,&lt;br/&gt;&amp;lt;%item.targetA.item(5)%&amp;gt;, &amp;lt;%item.targetA.item(6)%&amp;gt;, &amp;lt;%item.targetA.item(7)%&amp;gt;, &amp;lt;%item.targetA.item(8)%&amp;gt;&lt;br/&gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&lt;br/&gt;To:&lt;br/&gt;&amp;lt;td&amp;gt;&amp;lt;%item.targetA.item(1)%&amp;gt;, &amp;lt;%item.targetA.item(2)%&amp;gt;, &amp;lt;%item.targetA.item(3)%&amp;gt;, &amp;lt;%item.targetA.item(4)%&amp;gt;,&lt;br/&gt;&amp;lt;%item.targetA.item(5)%&amp;gt;&lt;br/&gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&lt;br/&gt;* item.instructions under section 'Editable Instructions' contains the the trial instructions&lt;br/&gt;The instructions adapt automatically if different attributes and targets are used.&lt;br/&gt;&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;EDITABLE CODE&lt;br/&gt;___________________________________________________________________________________________________________________&lt;br/&gt;check below for (relatively) easily editable parameters, stimuli, instructions etc.&lt;br/&gt;Keep in mind that you can use this script as a template and therefore always "mess" with the entire code&lt;br/&gt;to further customize your experiment.&lt;br/&gt;&lt;br/&gt;The parameters you can change are:&lt;br/&gt;&lt;br/&gt;/showsummaryfeedback: set parameter showsummaryfeedback = true to display summary feedback to participants at the end (default)&lt;br/&gt;set parameter showsummaryfeedback = false if no summary feedback should be presented to participants&lt;br/&gt;/ISI: interstimulus interval (in ms) (default: 250ms)&lt;br/&gt;&lt;br/&gt;&amp;lt;/usermanual&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EDITABLE PARAMETERS: change editable parameters here&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/showsummaryfeedback = false&lt;br/&gt;/ISI = 250&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EDITABLE STIMULI: change editable stimuli here&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;This sample IAT can be easily adapted to different target categories&lt;br/&gt;and attributes. To change the categories, you need only change the&lt;br/&gt;stimulus items and labels immediately below this line.&lt;br/&gt;&lt;br/&gt;***********************************************************************&lt;br/&gt;&amp;lt;item attributeAlabel&amp;gt;&lt;br/&gt;/1 = "Honest"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item attributeA&amp;gt;&lt;br/&gt;/1 = "Fair"&lt;br/&gt;/2 = "Integrity"&lt;br/&gt;/3 = "Sincere"&lt;br/&gt;/4 = "Trustworthy"&lt;br/&gt;/5 = "Truthful"&lt;br/&gt;/6 = "Moral"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item attributeBlabel&amp;gt;&lt;br/&gt;/1 = "Dishonest"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item attributeB&amp;gt;&lt;br/&gt;/1 = "Unfair"&lt;br/&gt;/2 = "Steal"&lt;br/&gt;/3 = "Deceive"&lt;br/&gt;/4 = "Cheat"&lt;br/&gt;/5 = "Lie"&lt;br/&gt;/6 = "Corrupt"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetAlabel&amp;gt;&lt;br/&gt;/1 = "white children"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetA&amp;gt;&lt;br/&gt;/1 = "fchild1w.jpg"&lt;br/&gt;/2 = "fchild2w.jpg"&lt;br/&gt;/3 = "fchild3w.jpg"&lt;br/&gt;/4 = "fchild4w.jpg"&lt;br/&gt;/5 = "mchild1w.jpg"&lt;br/&gt;/6 = "mchild2w.jpg"&lt;br/&gt;/7 = "mchild3w.jpg"&lt;br/&gt;/8 = "mchild4w.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetBlabel&amp;gt;&lt;br/&gt;/1 = "black children"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetB&amp;gt;&lt;br/&gt;/1 = "fchild1b.jpg"&lt;br/&gt;/2 = "fchild2b.jpg"&lt;br/&gt;/3 = "fchild3b.jpg"&lt;br/&gt;/4 = "fchild4b.jpg"&lt;br/&gt;/5 = "mchild1b.jpg"&lt;br/&gt;/6 = "mchild2b.jpg"&lt;br/&gt;/7 = "mchild3b.jpg"&lt;br/&gt;/8 = "mchild4b.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EDITABLE INSTRUCTIONS: change instructions here&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", 2.8%, false, false, false, false, 5, 1)&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;htmlpage iatintro&amp;gt;&lt;br/&gt;/ file = "intro_pictureiat.6words.htm"&lt;br/&gt;&amp;lt;/htmlpage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item instructions&amp;gt;&lt;br/&gt;/ 1 = "Put your left finger on the 'E' response key for items that belong to the category '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;Put your right finger on the 'I' response key for items that belong to the category '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;~nItems will appear one-by-one in the middle of the screen.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 2 = "Put your left finger on the 'E' response key for items that belong to the category '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;'.&lt;br/&gt;Put your right finger on the 'I' response key for items that belong to the category '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;'.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 3 = "Press the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;~nEach item belongs to only one category.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 4 = "This is the same task as the previous one.&lt;br/&gt;~n~nPress the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;~nEach item belongs to only one category.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 5 = "Attention! The labels have changed sides.&lt;br/&gt;~nPress the left 'E' key for '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 6 = "Press the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'.&lt;br/&gt;~nIf you make an error, a red X will appear - to continue, press the other response key.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&lt;br/&gt;/ 7 = "This is the same task as the previous one.&lt;br/&gt;~nPress the left 'E' key for '&amp;lt;%item.attributeAlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.rightTarget%&amp;gt;'.&lt;br/&gt;Press the right 'I' key for '&amp;lt;%item.attributeBlabel.item(1)%&amp;gt;' and '&amp;lt;%expressions.leftTarget%&amp;gt;'&lt;br/&gt;~nEach item belongs to only one category.&lt;br/&gt;~nGo as fast as you can while making as few errors as possible."&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;Note: expressions used to assign the correct label to the left and right response keys&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ leftTarget = if(values.conditionOrder == "c-ic"){&lt;br/&gt;item.targetAlabel.item(1);&lt;br/&gt;} else {&lt;br/&gt;item.targetBlabel.item(1);&lt;br/&gt;};&lt;br/&gt;/ rightTarget = if (values.conditionOrder == "c-ic"){&lt;br/&gt;item.targetBlabel.item(1);&lt;br/&gt;} else {&lt;br/&gt;item.targetAlabel.item(1);&lt;br/&gt;};&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text spacebar&amp;gt;&lt;br/&gt;/ items = ("Press the SPACE BAR to begin.")&lt;br/&gt;/ position = (50%, 90%)&lt;br/&gt;/ valign = bottom&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text errorReminder&amp;gt;&lt;br/&gt;/ items = ("If you make an error, a red X will appear. Press the other key to continue.")&lt;br/&gt;/ position = (50%, 95%)&lt;br/&gt;/ valign = bottom&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ txcolor = gray&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text finish&amp;gt;&lt;br/&gt;/ items = ("Thank you! You will now be directed to a questionnaire.")&lt;br/&gt;/ fontstyle = ("Arial", 8%, true, false, false, false, 5, 1)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ size = (50%, 50%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;/ valign = center&lt;br/&gt;/ halign = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text exit&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;press spacebar to exit and begin the questionnaire&amp;gt;")&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ position = (50%, 90%)&lt;br/&gt;/ size = (80%, 5%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;/ valign = center&lt;br/&gt;/ halign = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;***********************************************************************&lt;br/&gt;Performance summary&lt;br/&gt;***********************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial summary&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.magnitude = "little to no";&lt;br/&gt;if( abs(expressions.d) &amp;gt; 0.15 ) values.magnitude = "a slight";&lt;br/&gt;if( abs(expressions.d) &amp;gt; 0.35 ) values.magnitude = "a moderate";&lt;br/&gt;if( abs(expressions.d) &amp;gt;= 0.65 ) values.magnitude = "a strong";&lt;br/&gt;if (expressions.d &amp;gt;= 0.0) values.preferred = item.targetALabel.1;&lt;br/&gt;if (expressions.d &amp;lt; 0.0) values.preferred = item.targetBLabel.1;&lt;br/&gt;if (expressions.d &amp;lt; 0.0) values.notpreferred= item.targetALabel.1;&lt;br/&gt;if (expressions.d &amp;gt;= 0.0) values.notpreferred= item.targetBLabel.1;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=summary]&lt;br/&gt;/ validresponse = (" ")&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text summary&amp;gt;&lt;br/&gt;/ items = ("Your IAT score (D) was &amp;lt;% expressions.d %&amp;gt;, which suggests &amp;lt;% values.magnitude %&amp;gt; automatic preference for &amp;lt;% values.preferred %&amp;gt; compared to &amp;lt;% values.notpreferred %&amp;gt;.~n~n~nPress the spacebar to complete this task.")&lt;br/&gt;/ size = (60%, 60%)&lt;br/&gt;/ hjustify = left&lt;br/&gt; &amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;!!!REMAINING CODE: Customize after careful consideration only!!!&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;DEFAULTS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;script requires Inquisit 6.1.0.0 or higher&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)&lt;br/&gt;/ screencolor = black&lt;br/&gt;/ txbgcolor = black&lt;br/&gt;/ txcolor = white&lt;br/&gt;/ minimumversion = "6.1.0.0"&lt;br/&gt;/ canvasaspectratio = (4, 3)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;DATA&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;Note: data file explanations under User Manual Information at the top&lt;br/&gt;&lt;br/&gt;***********************&lt;br/&gt;raw data file&lt;br/&gt;***********************&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = (build, computer.platform, date, time, subject, group, script.sessionid, blockcode, blocknum,&lt;br/&gt;trialcode, trialnum, values.conditionOrder,&lt;br/&gt;response, correct, latency,&lt;br/&gt;stimulusnumber, stimulusitem,&lt;br/&gt;expressions.da, expressions.db, expressions.d, expressions.percentcorrect,&lt;br/&gt;expressions.propRT300, expressions.excludeCriteriaMet)&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;****************&lt;br/&gt;summary data&lt;br/&gt;****************&lt;br/&gt;&lt;br/&gt;&amp;lt;summarydata&amp;gt;&lt;br/&gt;/ columns = (computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid, script.elapsedtime,&lt;br/&gt;script.completed, values.conditionOrder,&lt;br/&gt;expressions.da, expressions.db, expressions.d, expressions.percentcorrect, expressions.propRT300, expressions.excludeCriteriaMet)&lt;br/&gt;&amp;lt;/summarydata&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;VALUES: automatically updated&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;br/&gt;&lt;br/&gt;/ sum1a: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the first compatible block 1A&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ sum2a: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the first incompatible block 2A&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ sum1b: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the second compatible block 1B&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ sum2b: tracks the sum of the latencies to correct responses (latencies &amp;lt;= 10000ms) for the second incompatible block 2B&lt;br/&gt;Note: by design, all final trial responses are correct (regardless of accuracy of initial response)&lt;br/&gt;/ n1a: counts the number of trials in first compatible block 1A (except first one)&lt;br/&gt;/ n2a: counts the number of trials in first incompatible block 2A (except first one)&lt;br/&gt;/ n1b: counts the number of trials in second compatible block 1B&lt;br/&gt;/ n2b: counts the number of trials in second incompatible block 2B&lt;br/&gt;/ ss1a: tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the first compatible block&lt;br/&gt;/ ss2a tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the first incompatible block&lt;br/&gt;/ ss1b: tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the second compatible block&lt;br/&gt;/ ss2b: tracks the sum of the squared latencies to correct responses (latencies &amp;lt;= 10000ms) in the second incompatible block&lt;br/&gt;/ magnitude: stores the magnitude of the implicit preference: "little to no", "a slight", "a moderate", "a strong"&lt;br/&gt;/ preferred: stores the preferred target category&lt;br/&gt;/ notpreferred : stores the non preferred target category&lt;br/&gt;/ n_correct: counts all initial correct responses of all trials that count towards D score&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ sum1a = 0&lt;br/&gt;/ sum2a = 0&lt;br/&gt;/ sum1b = 0&lt;br/&gt;/ sum2b = 0&lt;br/&gt;/ n1a = 0&lt;br/&gt;/ n2a = 0&lt;br/&gt;/ n1b = 0&lt;br/&gt;/ n2b = 0&lt;br/&gt;/ ss1a = 0&lt;br/&gt;/ ss2a = 0&lt;br/&gt;/ ss1b = 0&lt;br/&gt;/ ss2b = 0&lt;br/&gt;/ magnitude = "unknown"&lt;br/&gt;/ preferred = "unknown"&lt;br/&gt;/ notpreferred = "unknown"&lt;br/&gt;/ n_correct = 0&lt;br/&gt;/progresswidth = 0&lt;br/&gt;/instructionIndex = 0&lt;br/&gt;/conditionOrder = ""&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EXPRESSIONS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;* 1 is compatible, 2 is incompatible&lt;br/&gt;* a is first block, b is second block&lt;br/&gt;&lt;br/&gt;/ m1a: mean latencies of correct responses in first compatible block&lt;br/&gt;/ m2a: mean latencies of correct responses in first incompatible block&lt;br/&gt;/ m1b: mean latencies of correct responses in second compatible block&lt;br/&gt;/ m2b: mean latencies of correct responses in second incompatible block&lt;br/&gt;/ sd1a: standard deviation of latencies of correct responses in first compatible block&lt;br/&gt;/ sd2a standard deviation of latencies of correct responses in first incompatible block&lt;br/&gt;/ sd1b: standard deviation of latencies of correct responses in second compatible block&lt;br/&gt;/ sd2b: standard deviation of latencies of correct responses in second incompatible block&lt;br/&gt;/ sda standarddeviation of latencies in first block&lt;br/&gt;/ sdb standarddeviation of latencies in second block&lt;br/&gt;/ da: D-score for first blocks&lt;br/&gt;/ db: D-score for second blocks&lt;br/&gt;/ d: overall D-score&lt;br/&gt;/ percentcorrect:&amp;nbsp;&amp;nbsp; calculates the overall percent correct score of initial responses of test trials of D-score qualifying latencies&lt;br/&gt;/progress: sets the length of the progress bar to %&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ m1a = values.sum1a / values.n1a&lt;br/&gt;/ m2a = values.sum2a / values.n2a&lt;br/&gt;/ m1b = values.sum1b / values.n1b&lt;br/&gt;/ m2b = values.sum2b / values.n2b&lt;br/&gt;/ sd1a = sqrt((values.ss1a - (values.n1a * (expressions.m1a * expressions.m1a))) / (values.n1a - 1))&lt;br/&gt;/ sd2a = sqrt((values.ss2a - (values.n2a * (expressions.m2a * expressions.m2a))) / (values.n2a - 1))&lt;br/&gt;/ sd1b = sqrt((values.ss1b - (values.n1b * (expressions.m1b * expressions.m1b))) / (values.n1b - 1))&lt;br/&gt;/ sd2b = sqrt((values.ss2b - (values.n2b * (expressions.m2b * expressions.m2b))) / (values.n2b - 1))&lt;br/&gt;/ sda = sqrt((((values.n1a - 1) * (expressions.sd1a * expressions.sd1a) + (values.n2a - 1) * (expressions.sd2a * expressions.sd2a)) + ((values.n1a + values.n2a) * ((expressions.m1a - expressions.m2a) * (expressions.m1a - expressions.m2a)) / 4) ) / (values.n1a + values.n2a - 1) )&lt;br/&gt;/ sdb = sqrt((((values.n1b - 1) * (expressions.sd1b * expressions.sd1b) + (values.n2b - 1) * (expressions.sd2b * expressions.sd2b)) + ((values.n1b + values.n2b) * ((expressions.m1b - expressions.m2b) * (expressions.m1b - expressions.m2b)) / 4) ) / (values.n1b + values.n2b - 1) )&lt;br/&gt;/ da = (expressions.m2a - expressions.m1a) / expressions.sda&lt;br/&gt;/ db = (expressions.m2b - expressions.m1b) / expressions.sdb&lt;br/&gt;/ d = (expressions.da + expressions.db) / 2&lt;br/&gt;/ percentcorrect = (values.n_correct/ (values.n1a + values.n1b + values.n2a + values.n2b)) * 100&lt;br/&gt;/progress = 1% * values.progresswidth&lt;br/&gt;/propRT300 = list.RT300.mean&lt;br/&gt;/excludeCriteriaMet = if (expressions.propRT300 &amp;gt; 0.1){&lt;br/&gt;1;&lt;br/&gt;} else {&lt;br/&gt;0;&lt;br/&gt;}&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;INSTRUCTIONS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text instructions&amp;gt;&lt;br/&gt;/ items = instructions&lt;br/&gt;/ position = (10%, 25%)&lt;br/&gt;/ halign = left&lt;br/&gt;/ valign = top&lt;br/&gt;/ hjustify = left&lt;br/&gt;/ vjustify = center&lt;br/&gt;/ size = (80%, 50%)&lt;br/&gt;/ select = values.instructionIndex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial instructions&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.progresswidth += 10;&lt;br/&gt;values.instructionIndex += 1;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [1=instructions, spacebar, progressbar, progressbar_fill]&lt;br/&gt;/ correctresponse = (" ")&lt;br/&gt;/ errormessage = false&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ showmousecursor = true&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial finish&amp;gt;&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ stimulusframes = [1 = finish, exit]&lt;br/&gt;/ validresponse = (" ")&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;STIMULI&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;shape progressbar&amp;gt;&lt;br/&gt;/shape = rectangle&lt;br/&gt;/ size = (70%, 2%)&lt;br/&gt;/ color = gray&lt;br/&gt;/ position = (15%, 95%)&lt;br/&gt;/ halign = left&lt;br/&gt;/ valign = top&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape progressbar_fill&amp;gt;&lt;br/&gt;/shape = rectangle&lt;br/&gt;/ size = (expressions.progress, 2%)&lt;br/&gt;/ color = green&lt;br/&gt;/ position = (15%, 95%)&lt;br/&gt;/ halign = left&lt;br/&gt;/ valign = top&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeA&amp;gt;&lt;br/&gt;/ items = attributeA&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeB&amp;gt;&lt;br/&gt;/ items = attributeB&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture targetB&amp;gt;&lt;br/&gt;/ items = targetB&lt;br/&gt;/ size = (40%, 40%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture targetA&amp;gt;&lt;br/&gt;/ items = targetA&lt;br/&gt;/ size = (40%, 40%)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text error&amp;gt;&lt;br/&gt;/ position = (50%, 75%)&lt;br/&gt;/ items = ("X")&lt;br/&gt;/ color = red&lt;br/&gt;/ fontstyle = ("Arial", 10%, true)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeAleft&amp;gt;&lt;br/&gt;/ items = attributeAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text attributeBright&amp;gt;&lt;br/&gt;/ items = attributeBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 5%)&lt;br/&gt;/ txcolor = green&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBleft&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBright&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBleftmixed&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetBrightmixed&amp;gt;&lt;br/&gt;/ items = targetBlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetAleft&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetAright&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 5%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetAleftmixed&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text targetArightmixed&amp;gt;&lt;br/&gt;/ items = targetAlabel&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 19%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&amp;lt;text orleft&amp;gt;&lt;br/&gt;/ items = ("or")&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = left&lt;br/&gt;/ position = (5%, 12%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text orright&amp;gt;&lt;br/&gt;/ items = ("or")&lt;br/&gt;/ valign = top&lt;br/&gt;/ halign = right&lt;br/&gt;/ position = (95%, 12%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;LISTS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Data Lists: used for descriptive statistics&lt;br/&gt;store correct latencies/accuracy data&lt;br/&gt;fill up during runtime&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;Note: list stores 1 for latencies &amp;lt; 300ms (0 otherwise)&lt;br/&gt;&amp;lt;list RT300&amp;gt;&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;TRIALS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial attributeA&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("E")&lt;br/&gt;/ stimulusframes = [1 = attributeA, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial attributeB&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("I")&lt;br/&gt;/ stimulusframes = [1 = attributeB, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetBleft&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("E")&lt;br/&gt;/ stimulusframes = [1 = targetB, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetBright&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("I")&lt;br/&gt;/ stimulusframes = [1 = targetB, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetAleft&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("E")&lt;br/&gt;/ stimulusframes = [1 = targetA, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial targetAright&amp;gt;&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ correctresponse = ("I")&lt;br/&gt;/ stimulusframes = [1 = targetA, errorReminder]&lt;br/&gt;/ posttrialpause = parameters.ISI&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;BLOCKS&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block attributepractice&amp;gt;&lt;br/&gt;/ bgstim = (attributeAleft, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-21 = random(attributeA, attributeB);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetcompatiblepractice&amp;gt;&lt;br/&gt;/ bgstim = (targetAleft, targetBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-21 = random(targetAleft, targetBright);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetincompatiblepractice&amp;gt;&lt;br/&gt;/ bgstim = (targetAright, targetBleft)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-21 = random(targetAright, targetBleft);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetcompatiblepracticeswitch&amp;gt;&lt;br/&gt;/ bgstim = (targetAleft, targetBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-41 = random(targetAleft, targetBright);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block targetincompatiblepracticeswitch&amp;gt;&lt;br/&gt;/ bgstim = (targetAright, targetBleft)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;2-41 = random(targetAright, targetBleft);&lt;br/&gt;]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block compatibletest1&amp;gt;&lt;br/&gt;/ bgstim = (targetAleftmixed, orleft, attributeAleft, targetBrightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;3,5,7,9,11,13,15,17,19,21= random(targetAleft, targetBright);&lt;br/&gt;2,4,6,8,10,12,14,16,18,20 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.compatibletest1.latency  &amp;lt;= 10000 &amp;amp;&amp;amp; block.compatibletest1.currenttrialnumber != 1 ) {&lt;br/&gt;values.sum1a += block.compatibletest1.latency;&lt;br/&gt;values.n1a += 1;&lt;br/&gt;values.ss1a += (block.compatibletest1.latency * block.compatibletest1.latency);&lt;br/&gt;values.n_correct += block.compatibletest1.correct;&lt;br/&gt;};&lt;br/&gt;if(block.compatibletest1.latency &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block compatibletest2&amp;gt;&lt;br/&gt;/ bgstim = (targetAleftmixed, orleft, attributeAleft, targetBrightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;  2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40 = random(targetAleft, targetBright);&lt;br/&gt;  1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.compatibletest2.latency  &amp;lt;= 10000) {&lt;br/&gt;values.sum1b += block.compatibletest2.latency;&lt;br/&gt;values.n1b += 1;&lt;br/&gt;values.ss1b += (block.compatibletest2.latency * block.compatibletest2.latency);&lt;br/&gt;values.n_correct += block.compatibletest2.correct;&lt;br/&gt;};&lt;br/&gt;if(block.compatibletest2.latency  &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block incompatibletest1&amp;gt;&lt;br/&gt;/ bgstim = (targetBleftmixed, orleft, attributeAleft, targetArightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;1=instructions;&lt;br/&gt;3,5,7,9,11,13,15,17,19,21 = random(targetBleft, targetAright);&lt;br/&gt;2,4,6,8,10,12,14,16,18,20 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.incompatibletest1.latency  &amp;lt;= 10000 &amp;amp;&amp;amp; block.incompatibletest1.currenttrialnumber != 1) {&lt;br/&gt;values.sum2a += block.incompatibletest1.latency;&lt;br/&gt;values.n2a += 1;&lt;br/&gt;values.ss2a += (block.incompatibletest1.latency * block.incompatibletest1.latency);&lt;br/&gt;values.n_correct += block.incompatibletest1.correct;&lt;br/&gt;};&lt;br/&gt;if(block.incompatibletest1.latency  &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block incompatibletest2&amp;gt;&lt;br/&gt;/ bgstim = (targetBleftmixed, orleft, attributeAleft, targetArightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [&lt;br/&gt;  2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40 = random(targetBleft, targetAright);&lt;br/&gt;  1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39 = random(attributeA, attributeB)]&lt;br/&gt;/ errormessage = true(error,200)&lt;br/&gt;/ responsemode = correct&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if(block.incompatibletest2.latency  &amp;lt;= 10000) {&lt;br/&gt;values.sum2b += block.incompatibletest2.latency;&lt;br/&gt;values.n2b += 1;&lt;br/&gt;values.ss2b += (block.incompatibletest2.latency * block.incompatibletest2.latency);&lt;br/&gt;values.n_correct += block.incompatibletest2.correct;&lt;br/&gt;};&lt;br/&gt;if(block.incompatibletest2.latency  &amp;lt; 300) {&lt;br/&gt;list.RT300.appenditem(1);&lt;br/&gt;} else {&lt;br/&gt;list.RT300.appenditem(0);&lt;br/&gt;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block compatibletestinstructions&amp;gt;&lt;br/&gt;/ bgstim = (targetAleftmixed, orleft, attributeAleft, targetBrightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [1=instructions]&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block incompatibletestinstructions&amp;gt;&lt;br/&gt;/ bgstim = (targetBleftmixed, orleft, attributeAleft, targetArightmixed, orright, attributeBright)&lt;br/&gt;/ trials = [1=instructions]&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block summary&amp;gt;&lt;br/&gt;/skip = [parameters.showsummaryfeedback == false]&lt;br/&gt;/ trials = [1=summary]&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block end&amp;gt;&lt;br/&gt;/ trials = [1 = finish]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EXPERIMENT&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;Groupassignment is done by groupnumber&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;values.conditionOrder = "c-ic";&lt;br/&gt;]&lt;br/&gt;/ preinstructions = (iatintro)&lt;br/&gt;/ groups = (1 of 2)&lt;br/&gt;/ blocks = [&lt;br/&gt;1=targetcompatiblepractice;&lt;br/&gt;2=attributepractice;&lt;br/&gt;3=compatibletest1;&lt;br/&gt;4=compatibletestinstructions;&lt;br/&gt;5=compatibletest2;&lt;br/&gt;6=targetincompatiblepracticeswitch;&lt;br/&gt;7=incompatibletest1;&lt;br/&gt;8=incompatibletestinstructions;&lt;br/&gt;9=incompatibletest2;&lt;br/&gt;10=summary;&lt;br/&gt;11 = end;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;values.conditionOrder = "ic-c";&lt;br/&gt;]&lt;br/&gt;/ preinstructions = (iatintro)&lt;br/&gt;/ groups = (2 of 2)&lt;br/&gt;/ blocks = [&lt;br/&gt;1=targetincompatiblepractice;&lt;br/&gt;2=attributepractice;&lt;br/&gt;3=incompatibletest1;&lt;br/&gt;4=incompatibletestinstructions;&lt;br/&gt;5=incompatibletest2;&lt;br/&gt;6=targetcompatiblepracticeswitch;&lt;br/&gt;7=compatibletest1;&lt;br/&gt;8=compatibletestinstructions;&lt;br/&gt;9=compatibletest2;&lt;br/&gt;10=summary;&lt;br/&gt;11 = end;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;***********************************************************************&lt;br/&gt;Test Monkey&lt;br/&gt;***********************************************************************&lt;br/&gt;&amp;lt;monkey&amp;gt;&lt;br/&gt;/ latencydistribution = normal(500, 100)&lt;br/&gt;/ percentcorrect = 90&lt;br/&gt;&amp;lt;/monkey&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;End of File&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="32393"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You'll have to recalculate from the raw data.</description><pubDate>Wed, 27 Oct 2021 13:47:21 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>