original PASAT.iqjs Coder: Jeffrey Q. Ouyang
edited for PASAT-C by: Katja Borchert (katjab@millisecond.com), Millisecond
Last Modified: January 10, 2025 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements the PASAT-C, a modified computerized version of the Paced Auditory Serial Addition Test (Lejuez et al, 2003). The PASAT-C is used as a Distress Tolerance Test.
Main Differences to PASAT.iqjs (by Millisecond): - digits are presented visually - the total score is onscreen the entire time - Level 3 presents an 'escape' button - aversive errorsound feedback - levels are time-based not trialnumber based (difference to earlier versions of this script)
20 minutes
Participants are presented one digit (here: 1-9) at a time. After each new digit is presented, participants are asked to click a response box that corresponds to the running total of the last 2 presented digits (response boxes are presented in a circle). Participants work through 3 levels. Each level increases the speed of digit presentation. The last level (3) provides an escape button from the task.
By design in this script: once participants start with level 1 the pacing is automatic and not under participants' control (with the exception of the provided quitbutton during level3).
digits sampled in this script: 1-9 (response boxes 1-18); digits are randomly sampled for each trial
aversive sound feedback was generated in Audacity (short noise burst for 100ms)
It can be exchanged under section EDITABLE CODE -> Editable Stimuli
instructions are not original to Lejuez et al (2003) and can be edited under section
Editable Instructions/INSTRUCTIONS.
Most instructions are provided by Millisecond as htm pages and can be edited by changing
the provided html files.
To edit html-files: open the respective documents in simple Text Editors such as TextEdit (Mac)
or Notepad (Windows).
by design, once the test round begins, the pacing of the task is not under
participant's control anymore (automatic transitions from level to level)
File Name: pasatc_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 |
| totalCorrect | The sum of all correct responses across levels (excluding practice) |
| level1Correct | Number of correct responses in level 1 |
| level2Correct | Number of correct responses in level 2 |
| level3Correct | Number of correct responses in level 3 |
| quit | 0 = participant did NOT quit level 3 1 = participant did quit level 3 |
| quitTime | Stores the measured duration of block 3 (in ms) at time of "quitbutton" press |
| level1DurationActual | Time (in ms) the script actually spent on level1 |
| level2DurationActual | Time (in ms) the script actually spent on level2 |
| level3DurationActual | Time (in ms) the script actually spent on level3 |
| countLevel1 | The number of level1 trials run |
| countLevel2 | The number of level2 trials run |
| countLevel3 | The number of level3 trials run |
File Name: pasatc_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. |
| currentLevel | The currently tested level |
| currentDigit | The currently presented digit |
| digitPresentationTime | The digit presentation time (in ms) |
| currentSum | The current correct sum |
| response | The participant's response |
| correct | The correctness of the response (1 = correct; 0 = incorrect) |
| latency | The response latency (in ms) |
| totalCorrect | The sum of all correct responses across levels (excluding practice) |
| level1Correct | Number of correct responses in level 1 |
| level2Correct | Number of correct responses in level 2 |
| level3Correct | Number of correct responses in level 3 |
| quit | 0 = participant did NOT quit level 3 1 = participant did quit level 3 |
| quitTime | Stores the measured duration of block 3 at time of "quitbutton" press |
| countLevel1 | The number of level1 trials run |
| countLevel2 | The number of level2 trials run |
| countLevel3 | The number of level3 trials run |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
Design |
||
| practiceTrials | Number of practice trials to run | 11 |
| runExplicitTransitionBtwLevel1AndLevel2 | True: the script explicitly stops between level1 and level2 false: level1 automatically flows into level2 without warning (see Lejuez et al, 2003, p.290) | false |
Color Parameters |
||
| canvasColor | Display color of the actively used portion of the screen (the 'canvas') | black |
| screenColor | Color of the screen not used by the canvas ('inactive screen') | black |
| defaultTextColor | Default color of textitems | white |
Sizing Parameters |
||
| circleProportion | Proportion of canvas height used for the circle radius of response buttons | 0.4 |
Timing Parameters |
||
| level1Duration | Level1 duration (in ms) | 180000 |
| level2Duration | Level2 duration (in ms) | 300000 |
| level3Duration | Level3 duration (in ms) | 600000 |
| interTrialIntervalPractice | Interval (ms) between spoken digits during practice phase (soa - stimulus onset asynchrony) | 4000 |
| digitPresentationTime1 | Interval (ms) between spoken digits during level 1 | 3000 |
| digitPresentationTime2 | Interval (ms) between spoken digits during level 2 | 2000 |
| digitPresentationTime3 | Interval (ms) between spoken digits during level 3 | 1500 |
| levelInstructionsDuration | Duration (ms) of the instructions | 30000 |
| timerDuration | Sets the timer duration in ms | 15000 |