Script Author: original Inquisit script written by Barkby et al (2012)
Last Modified: January 07, 2025 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements a Stimulus Response Compatibility Task (SRCT); a reaction time task used to measure the speed of automatic approach/avoidance tendencies towards particular item categories.
The implemented procedure is described in:
Barkby, H., Dickson, J.M., Roper, L., & Field, M. (2012). To Approach or Avoid Alcohol? Automatic and Self- Reported Motivational Tendencies in Alcohol Dependence. Alcoholism: Clinical and Experimental Research, 36, 361-368.
Millisecond LLC thanks Dr. Matt Field for generously providing the original scripts as well as the original stimuli!
15 minutes
Participants are presented with either an alcohol-related picture or a control picture. Depending on instructions, they are asked to press the arrow keys of the numeric key pad (default, can be changed under EDITABLE VALUES) so as to move a manikin, that is either presented above (top) or below (bottom) the picture, towards (or away) from the alcohol related pictures and away (towards) the control pictures.
Experiment runs 3 main blocks (block.main_approach_alc, block.main_avoid_alc, block.main_left_alc/block.main_right_alc).
The order of the 3 main blocks is counterbalanced across participants.
Furthermore, half the participants in each counterbalanced condition run block.main_right_alc, the other half
run block.main_left_alc.
=> 6 experimental conditions, assignment by groupnumber (default, can be changed under EXPERIMENT)
Blocks:
1. block.main_approach_alc: move the manikin towards alcohol related pictures and away from control pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
2. block.main_avoid_alc: move the manikin away from alcohol related pictures and towards control pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
3a. block.main_left_alc: move the manikin to the left for alcholo related pictures and to the right for control pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
3b. block.main_right_alc: move the manikin to the right for alcholo related pictures and to the left for control pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
Each main block has 8 practice trials and 2 x 28 experimental trials (= 2 subblocks). For each subblock of each main block (e.g. block.main_approach_alc)
the type of trial is randomly sampled from the four corresponding trials (e.g. trial.AlcApproach_ManikinTop, trial.AlcApproach_ManikinBottom, trial.CtrlAvoid_ManikinBottom, trial.CtrlAvoid_ManikinTop)
without replacement => 14 alcohol images and 14 control images are shown, 7 of each with the manikin on top and 7 with the manikin on the bottom.
Over the course of the 2 x 28 trials (= 2 subblocks), each picture appears twice (once in the first subblock, once in the second subblock),
once with the manikin on top and once with the manikin on the bottom.
Trials:
• A blank screen is shown for 1000ms, followed by the alcholol-related or control picture with a manikin on top or on the bottom
• a correct response is followed by showing a video of the manikin moving in the correct direction (duration: 1000ms)
• an incorrect response is followed by a red "X" in the middle of the screen (duration: 1000ms)
14 alcohol related and 14 control pictures.
!!! The stimuli are culturally specific and may not work for a study outside the intended culture.
To use your own images go to Editable Stimuli-> item.alcoholPics and item.controlPics
and substitute your own.
Instructions are the originals. To edit go to section Editable Instructions.
File Name: srct_summary*.iqdat
| Name | Description |
|---|---|
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| 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 |
| expCondition | 6 experimental conditions; subject assignment by groupnumber Experiment runs 3 main blocks (block.main_approach_alc, block.main_avoid_alc, block.main_left_alc/block.main_right_alc). The order of the 3 main blocks is counterbalanced across participants. Furthermore, half the participants in each counterbalanced condition run block.main_right_alc, the other half run block.main_left_alc => 6 conditions |
| propCorrTotal | Overall proportion correct (test trials only) |
| meanRTTotal | Overall mean latency (in ms) of correct test trials |
| propCorrAlcApproach | Proportion correct Alcohol Approach test trials |
| meanRTAlcApproach | Mean latency (in ms) of correct Alcohol Approach test trials |
| propCorrAlcAvoid | Proportion correct Alcohol Avoid test trials |
| meanRTAlcAvoid | Mean latency (in ms) of correct Alcohol Avoid test trials |
| propCorrCtrlApproach | Proportion correct Control Approach test trials |
| meanRTCtrlApproach | Mean latency (in ms) of correct Control Approach test trials |
| propCorrCtrlAvoid | Proportion correct Control Avoid test trials |
| meanRTCtrlAvoid | Mean latency (in ms) of correct Control Avoid test trials |
| propCorrAlcLeft | Proportion correct Alcohol Left test trials |
| meanRTAlcLeft | Mean latency (in ms) of correct Alcohol Left test trials |
| propCorrAlcRight | Proportion correct Alcohol Right test trials |
| meanRTAlcRight | Mean latency (in ms) of correct Alcohol Right test trials |
| propCorrCtrlLeft | Proportion correct Control Left test trials |
| meanRTCtrlLeft | Mean latency (in ms) of correct Control Left test trials |
| propCorrCtrlRight | Proportion correct Control Right test trials |
| meanRTCtrlRight | Mean latency (in ms) of correct Control Right test trials |
File Name: srct_raw*.iqdat
| Name | Description |
|---|---|
| build | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| blockCode | Name of the current block |
| blockNum | Number of the current block |
| trialCode | Name of the current trial |
| trialNum | Number of the current trial |
| responseKeyUp | Default scancode for the up-key (key "Y") |
| responseKeyDown | Default scancode for the down-key (key "B") |
| responseKeyLeft | Default scancode for the left-key (key "F") |
| responseKeyRight | Default scancode for the right-key (key "J") |
| expCondition | 6 experimental conditions; subject assignment by groupnumber Experiment runs 3 main blocks (block.main_approach_alc, block.main_avoid_alc, block.main_left_alc/block.main_right_alc). The order of the 3 main blocks is counterbalanced across participants. Furthermore, half the participants in each counterbalanced condition run block.main_right_alc, the other half run block.main_left_alc => 6 conditions |
| stimulus | Contains the name of the picture image |
| corrResponse | Stores the correct scancode response code |
| response | The participant's response (scancode of response button) 21 = Y 48 = B 33 = F 36 = J |
| correct | The correctness of the response (1 = correct; 0 = incorrect) |
| latency | The response latency (in ms) |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
| responseKeyUp: | Default label for the up key (used in instructions) | "Y" |
| responseKeyDown: | Default label for the down key (used in instructions) | "B" |
| responseKeyLeft: | Default label for the left key (used in instructions) | "F" |
| responseKeyRight: | Default label for the right key (used in instructions) | "J" |