Return to the Global Local Task (Children) page
						
										Global Local Task for Children
										(keyboard version)
SCRIPT INFO

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 05-17-2017
last updated: 11-03-2017 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC

Script Copyright © 11-03-2017 Millisecond Software


BACKGROUND INFO 

											*Purpose*
This script implements a child friendly Global-Local-Task based on:

Sjöwall, D., Roth, L., Lindqvist, S., & Thorell, L. B. (2013). Multiple deficits in ADHD: 
executive dysfunction, delay aversion, reaction time variability and emotional deficits. 
Journal of Child Psychology and Psychiatry, 54, 619–627.


											  *Task*
Participants see Navon figures made up of an overall shape (circle vs. square) and detail shapes (circle vs. square).
They work through 3 different rounds: (a) pay attention to global shape; (b) pay attention to local shape
(c) a mixed design (measures shifting).



DATA FILE INFORMATION: 
The default data stored in the data files are:

(1) Raw data file: 'globallocaltask_children_raw*.iqdat' (a separate file for each participant)*

build:							Inquisit build
computer.platform:				the platform the script was run on
date, time, subject, group:		date and time script was run with the current subject/groupnumber 
blockcode, blocknum:			the name and number of the current block
trialcode, trialnum: 			the name and number of the currently recorded trial
									(Note: not all trials that are run might record data; by default data is collected unless /recorddata = false is set for a particular trial/block) 
/countTrials:					counts overall test trials (starttrial excluded from count)
/countGlobal:					counts global test trials (starttrial excluded from count)
/countLocal:					counts local test trials (starttrial excluded from count)									
/task:							stores the task from the current task: "global" vs. "local"									
/prevtask:						stores the task from the previous task: "global" vs. "local"
/globalForm:					the global form of the current stim: "square" vs. "circle"									
/localForm:						the local form of the current stim: "square" vs. "circle"										
/selectStim:					the itemnumber of the currently selected stimulus
stimulusitem:					the selected image
/correctResponse:				the correct response for the current task: "square" vs. "circle"
response:						the participant's response (scancode of response key: 18-> E; 23 -> I)
/response:						"circle" vs. "square" (selected shape)
correct:						accuracy of response: 1 = correct response; 0 = otherwise
latency: 						the response latency (in ms); measured from: onset of stim


(2) Summary data file: 'globallocaltask_children_summary*.iqdat' (a separate file for each participant)*

script.startdate:				date script was run
script.starttime:				time script was started
script.subjectid:				subject id number
script.groupid:					group id number
script.elapsedtime:				time it took to run script (in ms)
computer.platform:				the platform the script was run on
/completed:						0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)

/ACC_global:					proportion correct across all global test trials (block.global only)
/meanRT_global:					mean correct latency (in ms) of all global test trials (block.global only)
/ACC_local:						proportion correct across all local test trials (block.local only)
/meanRT_local:					mean correct latency (in ms) of all local test trials (block.local only)
/ACC_shift:						proportion correct of all mixed, shift trials (block.mixed only)
/meanRT_shift:					mean correct latency (in ms) of all mixed, shift trials (block.mixed only)
/ACC_nonshift:					proportion correct of all mixed, nonshift trials (block.mixed only)
/meanRT_nonshift:				mean correct latency (in ms) of all mixed, nonshift trials (block.mixed only)
/shiftCost:						estimates the shift cost by subtracting the mean correct latency on shift trials from those of nonshift trials	
	
* separate data files: to change to one data file for all participants (on Inquisit Lab only), go to section
"DATA" and follow further instructions


EXPERIMENTAL SET-UP

1. Block*: global task
- 10 practice trials (don't count toward summary statistics)
- 20 test trials (test trials are indistinguishable from practice trials)
- smiley feedback provided
- each of the two test stimuli is selected equally often during the test trials (order is randomized)

2. Block*: local task
- 10 practice trials (don't count toward summary statistics)
- 20 test trials (test trials are indistinguishable from practice trials)
- smiley feedback provided
- each of the two test stimuli is selected equally often during the test trials  (order is randomized)

Note: order of global/local tasks is randomized.

3. Block: mixed (assesses shifting costs)
- 11 practice trials (1 starttrial + 10 shift/nonshift trials) - don't count toward summary statistics
	- the starttrial selects the first task randomly
- 40 test trials: 20 shift + 20 nonshift trials (order is randomized)
- smiley feedback provided
- each of the two test stimuli is selected equally often during the test trials  (order is randomized)

Trial Sequence:
stimulus -> until response -> Feedback (500ms) -> ITI (500ms)


INSTRUCTIONS
provided by Millisecond Software - can be edited under section Editable Instructions
The instructions are presented in slide format. Slides can easily be customized in PowerPoint.


STIMULI
provided by Millisecond Software:
Sizing can be controlled via an editable parameter

EDITABLE CODE:
check below for (relatively) easily editable parameters, stimuli, instructions etc. 
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code to further customize your experiment.

The parameters you can change are:

/taskReminderDuration:			duration of the reminder that reminds participants what to pay attention to for the global/local block (default: 2000ms)
/feedbackDuration:				duration (in ms) of feedback smiley (default: 500ms)
/ITI:							intertrial interval (in ms) (default: 500ms)
/readyDuration:					duration (in ms) of the 'get ready' trial (default: 5000ms)

/stimSize:						sizing of the stims proportional to the canvas height (default: 50%)

Response keys: see 'Tools -> Keyboard Scancodes'
If the settings are changed, the instruction slides will need to be adapted accordingly.
The actual script code itself will adapt automatically to the new settings.
/responsekeyleft:				the scancode of the left response key (here: 18)
/responsekeyleft_label:			the label of the left response key (here: 'E')
/responsekeyright:				the scancode of the right response key (here: 23)
/responsekeyright_label:		the label of the left response key (here: 'I')
Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Security Statement | Employment