Return to the Affective Priming Procedure with Pictures page
___________________________________________________________________________________________________________________	

						AFFECTIVE PRIMING - TEMPLATE with prime pictures and word targets
___________________________________________________________________________________________________________________	

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 06-09-2015
last updated:  01-15-2020 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 01-15-2020 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements a simple Affective Priming procedure with supraliminal picture primes and word targets.
In general, priming procedures are simple response-timed binary categorization tasks of items from two target
categories  (e.g. positive vs. negative adjectives). Priming Procedures are based on the assumption that 
people respond faster if the target category was already 'mentally activated' by briefly presenting items 
(called 'primes') that are closely connected in one's mind. Thus, a person should be faster to quickly categorize
the target word 'good' as 'positive' after the brief presentation of the prime word/image of 'ice-cream' (assuming
good and ice-cream are associated in one's mind) than after the brief presentation of the prime word/image 'war' 
(assuming good and war are not closely associated in one's mind).
If the primes are presented with a temporal duration that can be consciously processed, the primes are
called 'supraliminal'. 

The implemented procedure is not based on any particular published paradigm.

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________
Participants are asked to categorize affective target words into pleasant and unpleasant categories.
For baseline measures, a baseline supraliminal prime '***' precedes the target words.
For test measures, supraliminal picture primes precede the target words.  

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

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

(1) Raw data file: 'affectivepriming_pictures_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.primecategory:			Unpleasant vs Pleasant
values.targetcategory:			Unpleasant vs Pleasant
values.primeitemnumber:			stores the itemnumber of the currently presented prime
values.prime:						stores the presented prime
values.targetitemnumber:		stores the itemnumber of the currently presented target
values.target:					stores the presented target


response:							scancode of the pressed response button (Example:)
										18 = E = left
										23 = I = right
										57 = spacebar
									
values.responseCategory:		the interpretation of the key-response: "pleasant" or "unpleasant"									
									
correct:							accuracy of response: 1 = correct response; 0 = otherwise
latency: 							the response latency (in ms); measured from: onset of target



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

expressions.propcorrect:		overall proportion correct (across baseline and test)
expressions.meanRT:				overall mean correct response time in ms (across baseline and test)

expressions.propcorrect_base:		proportion correct baseline trials
expressions.meanRT_base:			mean latency (ms) of correct baseline trials
expressions.propcorrect_U_base:	proportion correct Unpleasant baseline trials
expressions.meanRT_U_base:			mean latency (ms) of correct Unpleasant baseline trials
expressions.propcorrect_P_base:	proportion correct Pleasant baseline trials
expressions.meanRT_P_base:			mean latency (ms) of correct Pleasant baseline trials

expressions.propcorrect_test:			proportion correct test trials
expressions.meanRT_test:				mean latency (ms) of correct test trials
expressions.propcorrect_UU_test:		proportion correct test trials that pair Unpleasant primes with Unpleasant targets
expressions.meanRT_UU_test:			mean latency (in ms) of correct test trials that pair Unpleasant primes with Unpleasant targets
expressions.propcorrect_UP_test:		proportion correct test trials that pair Unpleasant primes with Pleasant targets
expressions.meanRT_UP_test:			mean latency (in ms) of correct test trials that pair Unpleasant primes with Pleasant targets
expressions.propcorrect_PU_test:		proportion correct test trials that pair Pleasant primes with Unpleasant targets
expressions.meanRT_PU_test:			mean latency (in ms) of correct test trials that pair Pleasant primes with Unpleasant targets
expressions.propcorrect_PP_test:		proportion correct test trials that pair Pleasant primes with Pleasant targets
expressions.meanRT_PP_test:			mean latency (in ms) of correct test trials that pair Pleasant primes with Pleasant targets


___________________________________________________________________________________________________________________	
EXPERIMENTAL SET-UP 
___________________________________________________________________________________________________________________	
2 affective primes (pleasant vs unpleasant: here flowers vs. insect pics) x 2 affective targets (pleasant vs unpleasant), tested within subjects

1. baseline ("practice"): 48 trials (all 48 targets) are tested with a baseline prime (***); targets are selected at random
2. test: 48 trials (all 48 targets); targets are selected at random
	- all 48 words occur once as prime and once as target

Trialsequence:		
Prime (200ms, editable) -> prime-target ISI (100ms, editable) 
-> Targets (until response; latency measured from onset of target)->ITI (2500ms)

___________________________________________________________________________________________________________________	
STIMULI
___________________________________________________________________________________________________________________
Words are taken from:
Draine, S.C, & Greenwald, A.G. (1998). Replicable Unconscious Semantic Priming. Journal of Experimental Psychology: 
General, 127, 286-303.
pictures collected from the internet as well as the Inquisit AMP.iqx- they are used as placeholders
Insects - > unpleasant primes
Flowers -> pleasant primes
edit under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________
generic instructions; 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:

/baselineprime:				the symbols used for the baseline "prime"
/baselineprimeheight:			the height of the baseline prime in % of canvas height (default: 5%)
/primesize:						the size of the prime pictures in % of canvas height (default: 30%)
/targetheight:				the size of the targets in % of canvas height (default: 5%)

/primeduration:				the duration of the primes in ms (default: 200ms)
/PT_ISI:							the duration of the prime-target interstimulus interval (default: 100ms)
/ITI:								the intertrial interval (default: 2500ms)

/responsekeyleft:			the left response key (default: E)
/responsekeyright:			the right response key (default: I)