Last Modified: August 05, 2026 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements a version of the classic Stroop Task with keyboard input. The classic Stroop paradigm demonstrates the interference of word meaning on the naming of the color in which the words are written as measured by reaction time/accuracy differences to color-meaning congruent and color-meaning incongruent combinations.
Stroop, J, R. (1935). Studies of interference in serial verbal reactions. Journal of Experimental Psychology, 18, 643-662.
2 minutes
Participants are given color words written in color and are asked to indicate the color of the word (not its meaning) by key press as fast as they can without making too many errors. Congruent trials: color word and the color it is presented in are the same Incongruent trials: color word and the color it is presented in are not the same Control trials: colored rectangles
congruent/incongruent: color words
control: rectangle shapes
see "stroopwithcontrolkeyboard_instructions_inc.iqjs"
Instructions are not original to the task. They are provided by Millisecond.
See "stroopwithcontrolkeyboard_instructions_inc.iqjs"
File Name: stroopwithcontrolkeyboard_summary*.iqdat
| Name | Description |
|---|---|
| startDate | Date the session was run |
| startTime | Time the session was run |
| subjectId | Participant ID |
| groupId | Group number |
| sessionId | Session number |
| elapsedTime | Session duration in ms |
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| computer.touch | 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities |
| computer.hasKeyboard | 0 = no external keyboard detected; 1 = external keyboard detected |
| completed | 0 = Test was not completed 1 = Test was completed |
| propCorrect | Overall proportion correct of all trials |
| meanRT | Overall mean latency (in ms) of all correct trials |
| propCorrectCongruent | Proportion correct of congruent trials |
| propCorrectIncongruent | Proportion correct of all incongruent trials |
| propCorrectControl | Proportion correct of all control trials |
| meanRTCorrCongruent | Mean latency of all correct congruent trials (in ms) |
| meanRTCorrIncongruent | Mean latency of all correct incongruent trials (in ms) |
| meanRTCorrControl | Mean latency of all correct control trials (in ms) |
Speed-Accuracy Trade Off: Linear Integrated Speed-Accuracy Score, Lisas ("Error-Corrected Processing Speed") |
|
| lisasC | LISAS score for congruent trials |
| lisasI | LISAS score for incongruent trial performance |
| lisasCtrl | LISAS score for control trial performance |
| sdRT | Pooled standard deviation of correct responses (across all test trials) |
| sdError | Pooled error standard deviation (across all test trials) |
Stroop Effects |
|
| stroopAccuracy | Difference in proportion corrects for (Congruent-Incongruent) => positive difference: participants were more accurate categorizing congruent stims than incongruent ones |
| stroopLatency | Difference in meanCorrRT for (Incongruent - Congruent) => positive difference: participants were on average faster correctly categorizing congruent stims than incongruent ones |
| stroopInhibitionAccuracy | Difference in proportion corrects for (Control - Incongruent) => positive difference: participants were more accurate categorizing control stims than incongruent ones (this performance difference ~ cost of inhibiting the dominant response) |
| stroopInhibitionLatency | Difference in meanCorrRT for (Incongruent - Control) => positive difference: participants were on average faster correctly categorizing control stims than incongruent ones (this latency difference ~ cost of inhibiting the dominant response) |
| stroopLISAS | Difference in LISAS scores ("error-corrected processing speed") from Incongruent and Congruent Trials => positive difference, "error-corrected processing speed" was faster for congruent than for incongruent ones => the participant experienced cognitive interference from the conflicting information in incongruent trials => a positive difference supports that processing incongruent trials required more cognitive effort, time, or accuracy sacrifices than processing congruent trials |
File Name: stroopwithcontrolkeyboard_raw*.iqdat
| Name | Description |
|---|---|
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| build | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| computer.touch | 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities |
| computer.hasKeyboard | 0 = no external keyboard detected; 1 = external keyboard detected |
| blockcode | The name the current block (built-in Inquisit variable) |
| blocknum | The number of the current block (built-in Inquisit variable) |
| trialcode | The name of the currently recorded trial (built-in Inquisit variable) |
| trialnum | The number of the currently recorded trial (built-in Inquisit variable) trialnum is a built-in Inquisit variable; it counts all trials run even those that do not store data to the data file. |
| congruency | 1 = congruent (color of word and meaning of word are the same) 2 = incongruent (color of word and meaning of word are different) 3 = control (rectangles) |
| stimulusItem | The presented words |
| response | The participant's response (scancode of response button) 32 = D (red) 33 = F (green) 36 = J (blue) 37 = K (black) |
| responseText | The label of the response key |
| responseCategory | The interpreted key response "red" "green" "blue" "green" |
| correct | The correctness of the response (1 = correct; 0 = incorrect) |
| latency | The response latency (in ms); measured from onset of word |
| congruentCorrect | Number of correct congruent responses |
| incongruentCorrect | Number of correct incongruent responses |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
Response Keys: On Qwerty Keyboards They Are Adjacent Keys |
||
| keyRed | The red response button | "D" |
| keyGreen | The green response button | "F" |
| keyBlue | The blue response button | "J" |
| keyBlack | The black response button | "K" |