Return to the Scrambled Sentences Task page
						
									SCRAMBLED SENTENCES TASK
SCRIPT INFO

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 04-07-2016
last updated: 08-15-2016 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC

Script Copyright © 08-15-2016 Millisecond Software

Millisecond Software thanks Timo Brockmeyer for collaborating on this script!


BACKGROUND INFO 

											*Purpose*
This script implements a simple computerized Scrambled Sentences Task based on:

Hedlund, S., & Rude, S. S. (1995). Evidence of latent depressive schemas
in formerly depressed individuals. Journal of Abnormal Psychology,
104, 517–525.

Wenzlaff, R. M., & Bates, D. E. (1998). Unmasking a cognitive vulnerability
to depression: How lapses in mental control reveal depressive
thinking. Journal of Personality and Social Psychology, 75, 1559–1571

Everaert, J., Duyck, W., & Koster, E. H. W. (2014). Attention, interpretation, and memory
biases in subclinical depression: A proof-of-principle test of the combined
cognitive biases hypothesis. Emotion, 14(2), 331–340

Sanchez, A. et al (2015). Life is . . . great! Emotional attention during instructed and
uninstructed ambiguity resolution in relation to depressive symptoms.
Biological Psychology, 109 (2015), 67–72.

The Scrambled Sentences Task can be used to study Interpretation Bias.


											  *Task*
Participants are given scrambled sentences (e.g. "born winner am loser a I") with 6 words and are asked to unscramble them
using 5 of the 6 given words by entering corresponding numbers (e.g. 1 = 'born', 6 = 'I').
Half the scrambled sentences are "Emotional" ('winner' vs. 'loser') half the scrambled sentence are neutral in regard to emotion.
A cognitive load test is run for half the participants (based on groupid).
 

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

(1) Raw data file: 'ScrambledSentencesTask_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) 
/sentenceCondition:				0 = demo; 1 = Emotional; 2 = Control
/CL_Condition:					cognitive load condition: 1 = runs cognitive load task; 2 = does not run cognitive load task
/scrambledSentence:				the currently presented scrambled sentence
/positiveSolution:				stores the positive (pseudopositive for control) solution for the currently scrambled sentence
/negativeSolution:				stores the negative solution (pseudonegative for control) for the currently scrambled sentence 
/numericSentence:				stores the cumulative numeric response
/sentenceResponse:				the entered unscrambled sentence (as translated from the numericSentence)
/responseCategory:				the emotional category of the response: "positive", "negative", "neutral" (for correct responses), "other" (for incorrect responses)
/numericResponse:					helper variable: stores the current numeric response based on scancode of response button
/cumulativeRT:					stores the cumulative latencies (in ms) of selecting the numbers of the current cumulative numeric response

(2) Summary data file: 			'ScrambledSentencesTask_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)


/propCorrectSolutions:			proportion correct solutions (correct = either the 'positive'/control1 or the 'negative'/control2 solution)
/meanRT_Solutions:				mean latency (in ms) of entering the 5 digits for a correct solution 

/propCorrectSolutions_E:		proportion correct solutions in condition 1 (Emotional)
/meanRT_E:						mean latency (in ms) of entering the 5 digits for a correct solution in condition 1 (Emotional)
/propNegSolutions:				proportion negative solutions (based on correct solutions entered) in condition 1 (Emotional)
/propPosSolutions:				proportion positive solutions (based on correct solutions entered) in condition 1 (Emotional)
/meanRT_Neg:					mean latency (in ms) of entering the 5 digits for negative solutions in condition 1 (Emotional)
/meanRT_Pos:					mean latency (in ms) of entering the 5 digits for positive solutions in condition 1 (Emotional)

/propCorrectSolutions_C:		proportion correct solutions in condition 2 (Control)
/meanRT_C:						mean latency (in ms) of entering the 5 digits for a correct solution in condition 2 (Control)

/CL_Condition:					cognitive load condition: 1 = runs cognitive load task; 2 = does not run cognitive load task
/CLcorrect:						1 = cognitive load task correct; 0 = cognitive load task incorrect; N/A = if no cognitive load condition was run


EXPERIMENTAL SET-UP
This script runs
1) 5 practice sentences (neutral)
2) 1 Testblock of 40 statements: 20 Emotional Statements, 20 Neutral Statements (order is randomly determined with constraint that max.3 of the same trial type can run consecutively)

Each trial starts with a fixation cross presented center left for 2000ms (default) before it appears and 
the scrambled sentence (each word in its own box) is presented for max. 10000ms (default).
Participants need to unscramble the sentences and click on the words in the order they should appear.
Digits appear above each word to indicate the selected word order.
Responses cannot be corrected.

Cognitive Load (CL): This script runs a cognitive load task for participants with odd numbered groupids
- presents a 6-digit number of 7000ms (can be edited) at start of test
- digit recall at end of test

STIMULI
5 practice sentences
20 emotional statements (taken from Wentzlaff & Bates, 1998*). * slightly altered to avoid ambiguous sentence structures as much as possible
	constraints on the order of the scrambled words:
	* half the scrambled sentences present the positive word before the negative
	* target words never start or end a scrambled sentence
	* target words do not appear directly next to each other in the scrambled sentences
20 neutral statements (provided by Millisecond Software as demo sentences only) (same constraints as for the Emotional sentences)
edit all stimuli under section Editable Stimuli


INSTRUCTIONS
Instructions are not original to any study- they are based on Wentzlaff & Bates (1998) and
can be edited under section Editable Instructions

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:

/wordSize:						the size of the word stimuli in canvas height percentages (default: 1.8%)
/digitSize::					the size of the cognitive load digits in canvas height percentages (default: 5%)

/fixationDuration:				duration (in ms) fixation cross is presented by itself (default: 2000ms)
/maxAssemblyTime:				the max. duration (in ms) allowed to assembly each sentence (default: 10000ms)
/iti:							intertrial interval (in ms) = blank screen between trials before next fixation cross is presented (default: 7000ms)
/CL_digitDuration:				Cognitive Load digit presentation duration (in ms) (default: 7000ms)

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Security Statement | Employment