Return to the Self Referential Processing Task page
___________________________________________________________________________________________________________________	

								*SELF REFERENTIAL PROCESSING*
___________________________________________________________________________________________________________________	

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 02-18-2016
last updated:  03-13-2020 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 03-13-2020 Millisecond Software
___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements the Self-Referential Processing Task, a learning paradigm to study the impact
of self-related vs. other-related information on simple perceptual matching tasks.

Reference:

Sui, J., He, X., & Humphreys, G.W. (2012). Perceptual Effects of Social Salience: Evidence From Self-Prioritization
Effects on Perceptual Matching. Journal of Experimental Psychology: Human Perception and Performance, 
Vol. 38, No. 5, 1105–1117 (Experiment 1)

___________________________________________________________________________________________________________________
TASK DESCRIPTION
___________________________________________________________________________________________________________________	

Participants are given 3 -shape associations (e.g. "Circle is yourself") with shapes "circle", "square", 
"triangle" and s "You", "Friend"*, "Stranger". 	
In forced-choice matching trials, they then have to decide quickly whether a random pairing of shape and 
(e.g. Circle paired with  'Friend') is a match or not.

*by default, this script collects the actual name of a friend. This setting can be changed under
section Editable Parameters

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 15 minutes to complete

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

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

build:										The specific Inquisit version used (the 'build') that was run
computer.platform:							the platform the script was run on (win/mac/ios/android)
date, time, 								date and time script was run 
subject, group, 							with the current subject/groupnumber
script.sessionid:							with the current session id

blockcode, blocknum:						the name and number of the current block (built-in Inquisit variable)
trialcode, trialnum: 						the name and number of the currently recorded trial (built-in Inquisit variable)
											Note: trialnum is a built-in Inquisit variable; it counts all trials run; even those
											that do not store data to the data file such as feedback trials. Thus, trialnum 
											may not reflect the number of main trials run per block.
										
values.selfShape:							stores the shape name assigned to 'self'
values.friendShape:							stores the shape name assigned to 'friend'
values.strangerShape:						stores the shape name assigned to 'stranger'

values.friendName: 							the name used for the Friend matches
									
values.phase:								"practice", "test"
values.matchCondition:						"match" vs. "mismatch"
values.shapeCategory:						"self", "friend", "stranger", 
values.shapeImage:							stores the currently presented shape image
values.text:								stores the currently presented text 
values.responseWindow:						stores the duration (in ms) of the current responsewindow
response:									the participant's response (scancode of response button)
correct:									the correctness of the response (1 = correct; 0 = incorrect)
latency: 									the response latency (in ms); measured from OFFSET of shape/s

values.iti:									intertrial interval in ms


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

computer.platform:							the platform the script was run on (win/mac/ios/android)
script.startdate:							date script was run
script.starttime:							time script was started
script.subjectid:							assigned subject id number
script.groupid:								assigned group id number
script.sessionid:							assigned session id number
script.elapsedtime:							time it took to run script (in ms); measured from onset to offset of script
script.completed:							0 = script was not completed (prematurely aborted); 
											1 = script was completed (all conditions run)
									
values.selfShape:							stores the shape name assigned to 'self'
values.friendShape:							stores the shape name assigned to 'friend'
values.strangerShape:						stores the shape name assigned to 'stranger'

values.friendName: 							the name used for the Friend matches									
																		
expressions.propCorrect_overall:			overall proportion correct across all test trials
expressions.meanRT_overall:					overall mean latency (in ms) of correct responses across all test trials
expressions.SD_overall:						overall standard deviation (in ms) of correct response latencies across all test trials
expressions.propCorrect_SelfMatch:			proportion correct across all self (shape)-matched test trials
expressions.meanRT_SelfMatch:				mean latency (in ms) of all correct responses to all self-matched test trials
expressions.propCorrect_FriendMatch:		proportion correct across all friend-matched test trials
expressions.meanRT_FriendMatch:				mean latency (in ms) of all correct responses to all friend-matched test trials
expressions.propCorrect_StrangerMatch:		proportion correct across all stranger-matched test trials
expressions.meanRT_StrangerMatch:			mean latency (in ms) of all correct responses to all stranger-matched test trials
expressions.propCorrect_SelfMisMatch:		proportion correct across all self-MisMatched test trials
expressions.meanRT_SelfMisMatch:			mean latency (in ms) of all correct responses to all self-MisMatched test trials
expressions.propCorrect_FriendMisMatch:		proportion correct across all friend-MisMatched test trials
expressions.meanRT_FriendMisMatch:			mean latency (in ms) of all correct responses to all friend-MisMatched test trials
expressions.propCorrect_StrangerMisMatch:	proportion correct across all stranger-MisMatched test trials
expressions.meanRT_StrangerMisMatch:		mean latency (in ms) of all correct responses to all stranger-MisMatched test trials

___________________________________________________________________________________________________________________	
EXPERIMENTAL SET-UP 
___________________________________________________________________________________________________________________	
	
1 Practice Block: 12 trials (present all possible combinations)
3 Test Blocks: each block runs 120 trials in 6 conditions (order of trials is randomly determined):
	Self-shape Trials:
		self-match: 20 trials
		self-mismatch (=> self-friend: 10 trials, self-stranger: 10 trials)	
	Friend-shape Trials:	
		friend-match:20
		friend-mismatch:20
	Stranger-shape Trials	
		stranger-match:20
		stranger-mismatch:20

	
Trialsequence: fixation (500ms) -> stim presentation (100ms) -> random ResponseWindow (800-1200ms) -> Feedback (500ms)	-> optional ITI
At the end of each block, participants receive accuracy feedback and can take a break (unless it's the last block, then they are done)
By default, the fixation cross is presented in the center; the shape is presented above the fixation cross and the  below the
fixation cross. Distances/sizes can be edited under Editable Parameters.
	
Assignment of  to Shape:
The assignment of  to shape is counterbalanced by group number. This script runs
3 different combinations - each  gets associated with each shape once.	
		
___________________________________________________________________________________________________________________	
STIMULI
___________________________________________________________________________________________________________________	
see section Editable Stimuli
all stimuli are white presented on a gray background
Note: the sizes/vertical positions of the shapes/s can be adjusted under Editable Parameters

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
Instructions are not original to the task. They are provided by Millisecond Software
as htm/html pages and can be edited by changing the provided htm/html files.
To edit htm/html-files: open the respective documents in simple Text Editors such as TextEdit (Mac)
or Notepad (Windows).

Note: in order for the instructions to reflect alternative parameter settings,
some of the conditionalized code used in the htm files can be found in the script itself.

___________________________________________________________________________________________________________________	
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:

/collectFriendName:				true (1): the script provides a textbox to enter the name of an actual friend;
								this name is then used for the friend-shape pairings (default)
								false (0): the script does not collect the name of an actual friend and uses
								the generic "FRIEND"  for the friend-shape pairings 

/picturesize:					the size of the shape pics in canvas percentage (default: 30%)
/size:							the size of the s in canvas height percentages (default: 5%)
/fixationsize:					the size of the fixation cross in canvas height percentages (default: 5%)
/fixation_y:					the y-coordinate (in screen percentages) of the fixation cross (default: 50%)
/shape_y:						the y-coordinate (in screen percentages) of the shape (default: 35%)			
/_y:							the y-coordinate (in screen percentages) of the  (default: 65%)

/responsekey_left:				the left responsekey (default: A)
/responsekey_right:				the right responsekey (default: L)

/fixationDuration:				the duration (in ms) of the fixation cross at the beginning of a block (default: 500)
/stimPresentation:				the duration (in ms) of the shape/ presentation (default: 100ms)
/iti:							intertrial interval in ms (default: 0ms)