Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com), Millisecond
Created: September 19, 2012
Last Modified: August 06, 2026 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements the original Flanker Test procedure by Eriksen & Eriksen (1974). The Flanker test is an inhibition test to assess the ability to suppress inappropriate responses evoked by task irrelevant information.
Eriksen, B.A. & Eriksen, C.W (1974) Effects of noise letters upon the identification of a target letter in a nonsearch task. Perception & Psychophysics, 16, 143-149.
30+ minutes
The Eriksen Flanker Test is a simple categorization task of 4 target letters (H, K, S, C) into "angular" vs. "curved" categories. Participants are asked to press "Q" if it's H or K, press "P" if it's S or C. Target letters can appear alone ("no-noise") or be flanked by noise letters ("noise") that can either be close together or far apart.
target letters: H, K (angular), S, C (curved)
Instructions are not original and can be edited in script flankertask_instructions_inc.iqjs
File Name: flankertest_summary*.iqdat
| Name | Description |
|---|---|
| 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 |
| 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 |
| completed | 0 = Test was not completed 1 = Test was completed |
| propErrorNoise1-propErrorNoise5 | Error proportion, separately for each noise condition |
| propErrorSpacing1-propErrorSpacing3 | Error proportion, separately for each spacing condition |
| propErrorNoNoiseM | Error proportion of nonoise trials tested in a mixed (M) design |
| propErrorNoNoiseB | Error proportion of nonoise trials tested in a blocked (B) design |
| meanRTNoise1-meanRTNoise5 | Mean latency of correct responses, separately for each noise conditions |
| meanRTSpacing1-meanRTSpacing3 | Mean latency of correct responses, separately for each spacing condition |
| meanRTNoNoiseM | Mean latency of correct responses to nonoise trials tested in mixed (M) design |
| meanRTNoNoiseB | Mean latency of correct responses to nonoise trials tested in blocked (B) design |
Speed-Accuracy Trade Off: Linear Integrated Speed-Accuracy Score, Lisas ("Error-Corrected Processing Speed"); Only Calculated For The Noise Categories In Mixed Trials |
|
| sdRTPooled | The pooled standard deviation of correct response times across all MIXED test trials |
| errorSDPooled | The pooled standard deviation of error rates across all MIXED test trials |
| lisasNoise0 | LISAS score for Noise1 trials ("Baseline", no flankers in Mixed Trials) |
| lisasNoise1 | LISAS score for Noise1 trials |
| lisasNoise2 | LISAS score for Noise2 trials |
| lisasNoise3 | LISAS score for Noise3 trials (Response Conflict) |
| lisasNoise4 | LISAS score for Noise4 trials |
| lisasNoise5 | LISAS score for Noise5 trials |
Bias Scores For Noise: Based On Lisas Differences With Baseline Condition (No Noise Condition In Mixed Trials) |
|
| flankerBiasNoise1 | Flanker Bias Score based on LISAS: Difference in LISAS scores ("error-corrected processing speed") from Noise1 and Noise0 Trials (lisasNoise1 - lisasNoise0) => positive difference, "error-corrected processing speed" was faster for Noise0 than for Noise1 ones => a positive difference supports that processing Noise1 trials required more cognitive effort, time, or accuracy sacrifices than processing Noise0 trials it's no unreasonable to expect to see a negative difference for this pairing, as it's likely that the identical flankers help with response decision. |
| flankerBiasNoise2 | Flanker Bias Score based on LISAS: Difference in LISAS scores ("error-corrected processing speed") from Noise2 and Noise0 Trials (lisasNoise2 - lisasNoise0) => positive difference, "error-corrected processing speed" was faster for Noise0 than for Noise2 ones => a positive difference supports that processing Noise2 trials required more cognitive effort, time, or accuracy sacrifices than processing Noise0 trials |
| flankerBiasNoise3 | Flanker Bias Score based on LISAS: Difference in LISAS scores ("error-corrected processing speed") from Noise3 (Response Conflict!) and Noise0 Trials (lisasNoise3 - lisasNoise0) => positive difference, "error-corrected processing speed" was faster for Noise0 than for Noise3 ones => a positive difference supports that processing Noise3 trials required more cognitive effort, time, or accuracy sacrifices than processing Noise0 trials |
| flankerBiasNoise4 | Flanker Bias Score based on LISAS: Difference in LISAS scores ("error-corrected processing speed") from Noise4 and Noise0 Trials (lisasNoise4 - lisasNoise0) => positive difference, "error-corrected processing speed" was faster for Noise0 than for Noise4 ones => a positive difference supports that processing Noise4 trials required more cognitive effort, time, or accuracy sacrifices than processing Noise0 trials |
| flankerBiasNoise5 | Flanker Bias Score based on LISAS: Difference in LISAS scores ("error-corrected processing speed") from Noise5 and Noise0 Trials (lisasNoise5 - lisasNoise0) => positive difference, "error-corrected processing speed" was faster for Noise0 than for Noise5 ones => a positive difference supports that processing Noise5 trials required more cognitive effort, time, or accuracy sacrifices than processing Noise0 trials |
File Name: flankertest_raw*.iqdat
| Name | Description |
|---|---|
| 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 |
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| 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. |
| trialCount | Counts the number of trials |
| responseCondition | Counterbalanced response key condition |
| noiseCondition | Stores the current noise condition (1-5) 1) noise equal to target: all 6 noise letters = target letter (e.g, HHHHHHH) 2) noise similar to target: all 6 noise letters = the other letter in the target category (e.g. KKKHKKK) 3) noise other target set: all 6 noise letters = one of the letters of the opposite target category (e.g. SSSHSSS) choice of letter of opposite target category is balanced across experiment 4)noise similar to target: noise = 3 letters that have similar characteristics (e.g. NWZHNWZ) position of the three letters balanced across experiment 5) noise dissimilar to the target: noise = 3 letters with dissimilar characteristics (e.g. QJGHQJG) position of the three letters balanced across experiment |
| spacingCondition | Stores the current spacing condition (1-3) |
| trialType | Contains all trialinformation Example: "K53B" -> target K, condition 5, spacing 3, B=refers to one of three possible rotations of the noise stimuli in condition 5 |
| stimulusItem.1-stimulusItem.7 | The presented stimuli |
| response | The participant's response (scancode of response buttons) 16 = Q (left) 25 = P (right) |
| correct | Accuracy of response: 1 = correct response; 0 = otherwise |
| latency | The response latency (in ms); measured from onset of stimuli |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
Sizing Parameters |
||
| fontHeightMM | Fontheight in mm | 5 |
| fixedDistanceMM | The distance of the target stimuli from the fixation cross in mm | 10 |
| spacing1MM | The distance between stimuli in spacing condition 1 in mm | 3 |
| spacing2MM | The distance between stimuli in spacing condition 2 in mm | 10 |
| spacing3MM | The distance between stimuli in spacing condition 3 in mm | 20 |
Timing Parameters |
||
| trialTimeout | The max. trial duration (in ms) | 1000 |
| trialDelay | The delay (in ms) of the trial after pressing the spacebar | 0 |
Design Parameters |
||
| maxPracticeBlocks | Determines how many practice blocks should be run equivalent to one experimental session) | 3 |
Response Keys |
||
| leftKey | The assigned left key (on a QWERTY keyboard) | "Q" |
| rightKey | The assigned right key (on a QWERTY keyboard) | "P" |