User Manual: Inquisit Comprehensive Affect Testing System - Complete Battery (CATS-R)


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*START script*
								*Mouse or Touch Input*							
___________________________________________________________________________________________________________________	

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 09-29-2020
last updated:  04-18-2024 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 04-18-2024 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements the START script to run the 
Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc

___________________________________________________________________________________________________________________
TEST SET UP	
___________________________________________________________________________________________________________________

The Comprehensive Affective Testing System - Reduced (CATS-R) consists of 13 subtests:

subtest1: Identity Discrimination
subtest2: Affect Discrimination
subtest3: Nonemotional Prosody Discrimination
subtest4: Emotional Prosody Discrimination
subtest5: Name Affect
subtest6: Name Emotional Prosody
subtest7: Match Affect
subtest8: Select Affect
subtest9: Conflicting Prosody - Attend to Prosody
subtest10: Conflicting Prosody - Attend to Meaning
subtest11: Match Emotional Prosody to Emotional Face
subtest12: Match Emotional Face to Emotional Prosody
subtest 13: 3 Faces Test

This START script is a batch script that automatically runs

(1) cats_demographics.iqjs: this script collects demographic information

(2) the number of subtests selected in the order specified:
catsr_subtest1.iqjs - catsr_subtest13.iqjs
NOTE: edit the order and/or selection of subtests to run below under the batch-element

(3) catsr_summary.iqjs: the final script alerts the user that the end has been reached and calculates
all summary variables. See script "catsr_summary.iqjs" for a data glossary.

Note: the individual subtests cats_subtest1.iqjs to cats_subtest13.iqjs can be run as single scripts as well.

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




___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*Demographic Informationt*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 10-14-2020
last updated:  04-18-2024 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 04-18-2024 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script is part of Millisecond Software's implementation of the
'Comprehensive Affective Testing System - Reduced (CATS-R)' Task.

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD

Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc

___________________________________________________________________________________________________________________
SCRIPT OVERVIEW	
___________________________________________________________________________________________________________________	

This script collects demographic information and allows users to customize the sequence of the 13 tests. 
If needed, a predetermined default sequence can be forced to run instead. 
See settings of Editable Parameters.

___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_demographics.iqdat'

date, time:							date and time script was run with the current group/subjectnumber 
subject, group, session:	  		 with the current subject/groupnumber/session id
build:								the Inquisit build 

q*_response:						response given (in assigned values)
									
q*_latency:							how much time (in ms) the participant spent on the surveyPage with this particular 
									question (the last time this particular surveyPage was visited)


(2) Summary data file: 'catsr_demographics_summary.iqdat' (Inquisit Lab: one data file per participant)

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)	
									
gender:								the entered gender of the participant 
age:								the entered age of the participant		
handedness:							left;right;ambidextrous

taskOrder:							the order in which the subtests should be run
		
nrSelectedTasks:					the number of subtests to run 
1Task - 13Task: 					stores the number of the selected subtest for task1 to task 13

t1 - t13;							store the selected tasks

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



___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*Subtest1: Identity Discrimination*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest1 'Identity Discrimination' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

Subtest1: Identity Discrimination

Participants are presented with 2 faces of either the same actor or different actors.
They have to decide whether the faces are of the same person of whether the faces are of different people.
Participants work through 12 trials.
(Note: faces of the same people are always the exact same image)
___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete

___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest1_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
session:							with the current session id

subTest:							"subtest1"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		

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. 
										
trialCount:							trial counter																				
subTest1TestItem:					the index of the selected image 
testItem:							the presented image

correctResponse:					the dedicated correct response: 
									1 = same
									2 = different									
									
selectedResponse:					'same' or 'different'

 
correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest1"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order										
									

t1RawScore:					the number of correct responses in subtest2	
t1RawScoreCorrected:			the number of correct responses in subtest2, corrected
								(Note: in this subtest raw scores do not get corrected for gender)
								
t1ZScore:						the z-score for the corrected T1_rawscore
								(Note: in this script the overall mean and standard deviation are used)
									
t1PropCorrect:					proportion correct responses in subtest1
t1RT:							mean response time (in ms) in subtest1; measured from onset of image until 'nextButton' is pressed									
t1CorrRT:						mean response time (in ms) of CORRECT responses in subtest2; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions

							
* 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 Testblock of 12 trials
- 6 trials with identical faces
- 6 trials different faces
The order of the images is predetermined.

Participants can select button 'same' or 'different'. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, nothing happens in this script as the images are still on screen.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________		

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*Subtest2: AFFECT DISCRIMINATION*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________	
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest2 'AFFECT DISCRIMINATION' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________	
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

Subtest2: AFFECT DISCRIMINATION

Participants are presented 12 pairs of vertically stacked faces and have to decide whether the faces
are of the same person of whether the faces are of different people.
The two faces always come from the same actor but the emotion the actor is showing may or may not be
the same (i.e., Happy, Sad, Angry, Frightened, Surprised, Disgusted, or Neutral)

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

___________________________________________________________________________________________________________________		
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest2_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
session:							with the current session id

subTest:							"subtest2"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		


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. 
										
trialCount:							trial counter																				
subTest2TestItem:					the index of the selected image 
testItem:							the presented image

correctResponse:					the dedicated correct response: 
									1 = same
									2 = different									
									
selectedResponse:					'same' or 'different'


correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									

subTest:							"subtest2"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t2RawScore:					the number of correct responses in subtest2	
t2RawScoreCorrected:			the number of correct responses in subtest2, corrected
								(Note: in this subtest rawscores get corrected for males over 39 by adding +1 to the rawscore)
								
t2ZScore:						the z-score for the corrected T2_rawscore	
								(Note: z-scores get calculated using the overall mean and standard deviation)
									
t2PropCorrect:					proportion correct responses in subtest2
t2RT:							mean response time (in ms) in subtest2; measured from onset of image until 'nextButton' is pressed									
t2CorrRT:						mean response time (in ms) of CORRECT responses in subtest2; measured from onset of image until 'nextButton' is pressed							
	
+ results from individual questions
	
* 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 Testblock of 12 trials
- 6 trials with identical faces
- 6 trials different faces
The order of the images is predetermined.

Participants can select button 'same' or 'different'. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, nothing happens in this script as the images are still on screen.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________	
STIMULI
___________________________________________________________________________________________________________________	
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________		
INSTRUCTIONS 
___________________________________________________________________________________________________________________		
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*Subtest3: Nonemotional Prosody Discrimination*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest3 'Nonemotional Prosody Discrimination' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest3: Nonemotional Prosody Discrimination

Participants are presented two sentences, one after the other, spoken by the same actor 
and have to decide whether the statements are the same or different.
The sentences are either both declarative statements (same), or both questions (same),
or one of each (different).
Participants work through 6 trials.

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest3_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
session:							with the current session id

subTest:							"subtest3"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male;Other
taskOrder:							the selected task order	

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. 
										
trialCount:							trial counter																				
subTest3TestItem:					the index of the selected image 
testItem:							the presented audio file

correctResponse:					the dedicated correct response: 
									1 = same
									2 = different									
									
selectedResponse:					'same' or 'different'

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest3"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t3RawScore:					the number of correct responses in subtest3	
t3RawScoreCorrected:			the number of correct responses in subtest3, corrected
								(Note: in this subtest rawscores do not get corrected for gender)
								
t3ZScore:						the z-score for the corrected T3_rawscore
								(Note: z-scores get calculated using the overall mean and standard deviation)								
									
t3PropCorrect:					proportion correct responses in subtest3
t3RT:							mean response time (in ms) in subtest3; measured from onset of image until 'nextButton' is pressed									
t3CorrRT:						mean response time (in ms) of CORRECT responses in subtest3; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 6 trials
- 3 trials with identical sentences
- 3 trials different sentences
The order of the statements is predetermined.

Participants can select button 'same' or 'different'. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest4: Emotional Prosody Discrimination*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest4 'Emotional Prosody Discrimination' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest4: Emotional Prosody Discrimination

Participants are presented two sentences, one after the other, spoken by the same actor 
and have to decide whether the emotions in the statements are the same or different.
The sentences are the same but either spoken with the same emotion or a different one.
The emotions used are: happiness, anger, sadness, fear, neutral.
Participants work through 6 trials.

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest4_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
session:							with the current session id

subTest:							subtest4

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order	

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. 
										
trialCount:							trial counter																				
subTest4TestItem:					the index of the selected image 
testItem:							the presented audio file

correctResponse:					the dedicated correct response: 
									1 = same
									2 = different									
									
selectedResponse:					'same' or 'different'

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest4"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t4RawScore:					the number of correct responses in subtest4	
t4RawScoreCorrected:			the number of correct responses in subtest4, corrected
								(Note: in this subtest rawscores do not get corrected)
								
t4ZScore:						the z-score for the corrected T4_rawscore	
								(z-scores get calculated based on Age Means:
								age < 40 = age group 20-39
								41 < age < 60 = age group 40-59
								60 > age = age group 60-79
								(if no age is provided the population mean and standard deviation is used)
									
t4PropCorrect:					proportion correct responses in subtest4
t4RT:							mean response time (in ms) in subtest4; measured from onset of image until 'nextButton' is pressed									
t4CorrRT:						mean response time (in ms) of CORRECT responses in subtest4; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 6 trials
- 3 trials with identical sentences
- 3 trials different sentences
The order of the statements is predetermined.

Participants can select button 'same' or 'different'. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________		

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest5: AFFECT DISCRIMINATION*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________	
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest5 'AFFECT DISCRIMINATION' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________	
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest5: AFFECT DISCRIMINATION

Participants are presented one face at a time (6 altogether) and have to identify the emotion of the face
(i.e., Happy, Sad, Angry, frightened, Surprised, Disgusted, or Neutral)

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

___________________________________________________________________________________________________________________		
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest5_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
session:							with the current session id

subTest:							"subtest5"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		

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. 
										
trialCount:							trial counter																				
subTest5TestItem:					the index of the selected image 
testItem:							the presented image

correctResponse:					the dedicated correct response: 
									1 = happy
									2 = sad
									3 = angry
									4 = neutral
									5 = frightened
									6 = surprised
									7 = disgusted									
									
selectedResponse:					happy, sad, angry, neutral, frightened, surprised, disgusted

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest5"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t5RawScore:					the number of correct responses in subtest5	
t5RawScoreCorrected:			the number of correct responses in subtest5, corrected
								(Note: in this subtest rawscores get corrected for Male Participants over the age of 59 by +1 to rawscore)
								
t5ZScore:						the z-score for the corrected T5_rawscore	
								(z-scores get calculated based on overall Mean and standard deviation)
									
t5PropCorrect:					proportion correct responses in subtest5
t5RT:							mean response time (in ms) in subtest5; measured from onset of image until 'nextButton' is pressed									
t5CorrRT:						mean response time (in ms) of CORRECT responses in subtest5; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions
							
* 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 Testblock of 12 trials
- 6 trials with emotions: happy, sad, angry, frightenend, surprised, disgusted (no neutral face presented)
The order of the images is predetermined.

Participants can select from 7 emotion buttons. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, nothing happens in this script as the images are still on screen.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________	
STIMULI
___________________________________________________________________________________________________________________	
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________		
INSTRUCTIONS 
___________________________________________________________________________________________________________________		
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest6: NAME EMOTIONAL PROSODY*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest6 'NAME EMOTIONAL PROSODY' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest6: NAME EMOTIONAL PROSODY

Participants are presented with 12 sentences, one after the other, spoken by the same actor 
and have to categorize the expressed emotion into the categories:
Happy, Sad, Angry, Neutral, Frightened

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest6_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
session:							with the current session id

subTest:							"subtest6"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		

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. 
										
trialCount:							trial counter																				
subTest6TestItem:					the index of the selected image 
testItem:							the presented audio file

correctResponse:					the dedicated correct response: 
									1 = happy
									2 = sad
									3 = angry
									4 = neutral
									5 = frightened
									
selectedResponse:					happy, sad, angry, neutral, frightened

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest6"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t6RawScore:					the number of correct responses in subtest6	
t6RawScoreCorrected:			the number of correct responses in subtest6, corrected
								(Note: in this subtest rawscores do not get corrected for gender)
								
t6ZScore:						the z-score for the corrected T6_rawscore	
								(z-scores get calculated based on Age Means:
								age < 40 = age group 20-39
								41 < age < 60 = age group 40-59
								60 > age = age group 60-79
								(if no age is provided the population mean and standard deviation is used)
									
t6PropCorrect:					proportion correct responses in subtest6
t6RT:							mean response time (in ms) in subtest6; measured from onset of image until 'nextButton' is pressed									
t6CorrRT:						mean response time (in ms) of CORRECT responses in subtest6; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 12 trials
- 3 trials with happy emotion
- 3 trials with sad emotion
- 3 trials with frightened emotion
- 3 trials with angry emotion
The order of the statements is predetermined.

Participants can select from 5 emotion buttons. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest7: NAME EMOTIONAL PROSODY*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software
___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest7 'NAME EMOTIONAL PROSODY' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest7: NAME EMOTIONAL PROSODY

Participants are presented with 12 sentences, one after the other, spoken by the same actor 
and have to categorize the expressed emotion into the categories:
Happy, Sad, Angry, Neutral, Frightened

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest7_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
session:							with the current session id

subTest:							"subtest7"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		

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. 
										
trialCount:							trial counter																				
subTest7TestItem:					the index of the selected image 
testItem:							the presented audio file
correctResponse:					the dedicated correct response (= correct image from left (1) to right (5))
selectedResponse:					1-5 
correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest7"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t7RawScore:					the number of correct responses in subtest7	
t7RawScoreCorrected:			the number of correct responses in subtest7, corrected
								(Note: in this subtest rawscores get corrected for Males over 59 by +1 to rawscore)
								
t7ZScore:						the z-score for the corrected T7_rawscore	
								(z-scores get calculated based on Age Means:
								age < 40 = age group 20-39
								41 < age < 60 = age group 40-59
								60 > age = age group 60-79
								(if no age is provided the population mean and standard deviation is used)
									
t7PropCorrect:					proportion correct responses in subtest7
t7RT:							mean response time (in ms) in subtest7; measured from onset of image until 'nextButton' is pressed									
t7CorrRT:						mean response time (in ms) of CORRECT responses in subtest7; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 12 trials
- 3 trials with happy emotion
- 3 trials with sad emotion
- 3 trials with frightened emotion
- 3 trials with angry emotion
The order of the statements is predetermined.

Participants can select the response faces. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest8: SELECT AFFECT*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software
___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest8 'SELECT AFFECT' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest8: SELECT AFFECT

Participants are presented with 5 faces (all from the same actor) and are asked to identify a face 
with a specific emotion. (6 trials)
___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest8_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
session:							with the current session id

subTest:							"subtest8"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order	

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. 
										
trialCount:							trial counter
subTest8Instructions:				trial instructions																					
subTest8TestItem:					the index of the selected image 
testItem:							the presented audio file
correctResponse:					the dedicated correct response (= correct image from left (1) to right (5))
selectedResponse:					1-5 
correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest8"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t8RawScore:					the number of correct responses in subtest8	
t8RawScoreCorrected:			the number of correct responses in subtest8, corrected
								(Note: in this subtest rawscores do not get corrected for gender)
								
t8ZScore:						the z-score for the corrected T8_rawscore
								(Note: z-scores get calculated using the overall mean and standard deviation)								
									
t8PropCorrect:					proportion correct responses in subtest8
t8RT:							mean response time (in ms) in subtest8; measured from onset of image until 'nextButton' is pressed									
t8CorrRT:						mean response time (in ms) of CORRECT responses in subtest8; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 6 trials
- emotions tested; happy, sad, angry, frightened, surprised, disgusted
The order of the statements is predetermined.

Participants can select any of the 5 face options. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest9: CONFLICTING PROSODY—ATTEND TO PROSODY*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest9 'CONFLICTING PROSODY—ATTEND TO PROSODY' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest9: CONFLICTING PROSODY—ATTEND TO PROSODY

Participants listen to 12 sentences spoken in either a happy, sad or neutral voice
and have to identify the emotion ignoring the content of the sentence (which might conflict with the emotion)
___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest9_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
session:							with the current session id

subTest:							"subtest9"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		

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. 
										
trialCount:							trial counter																				
subTest9TestItem:					the index of the selected image 
testItem:							the presented audio file

correctResponse:					the dedicated correct response: 
									1 = happy
									2 = sad
									4 = neutral
									
selectedResponse:					happy, sad, neutral

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest9"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t9RawScore:					the number of correct responses in subtest9	
t9RawScoreCorrected:			the number of correct responses in subtest9, corrected
								(Note: in this subtest rawscores do not get corrected for gender)
								
t9ZScore:						the z-score for the corrected T9_rawscore	
								(z-scores get calculated based on Age Means:
								age < 40 = age group 20-39
								41 < age < 60 = age group 40-59
								60 > age = age group 60-79
								(if no age is provided the population mean and standard deviation is used)
									
t9PropCorrect:					proportion correct responses in subtest9
t9RT:							mean response time (in ms) in subtest9; measured from onset of image until 'nextButton' is pressed									
t9CorrRT:						mean response time (in ms) of CORRECT responses in subtest9; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 12 trials
- 5 happy sounding sentences
- 5 sad sounding sentences
- 2 neutral sounding sentences
The order of the statements is predetermined.

Participants can select from 3 emotion buttons. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest10: CONFLICTING PROSODY—ATTEND TO MEANING*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest10 'CONFLICTING PROSODY—ATTEND TO MEANING' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest10: CONFLICTING PROSODY—ATTEND TO MEANING

Participants listen to 12 sentences spoken in either a happy, sad or neutral voice
and have to identify the affective meaning of the sentence content ignoring
the emotion with which the sentence is communicated.
___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest10_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
session:							with the current session id

subTest:							"subtest10"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		

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. 
										
trialCount:							trial counter																				
subTest10TestItem:					the index of the selected image 
testItem:							the presented audio file

correctResponse:					the dedicated correct response: 
									1 = happy
									2 = sad
									4 = neutral
									
selectedResponse:					happy, sad, neutral

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest10"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t10RawScore:					the number of correct responses in subtest10	
t10RawScoreCorrected:			the number of correct responses in subtest10, corrected
								(Note: in this subtest rawscores get corrected for Male Participants over the age of 59 by +2 to rawscore)
								
t10ZScore:						the z-score for the corrected T10_rawscore	
								(z-scores get calculated based on overall Mean and standard deviation)
									
t10PropCorrect:				proportion correct responses in subtest10
t10RT:							mean response time (in ms) in subtest10; measured from onset of image until 'nextButton' is pressed									
t10CorrRT:						mean response time (in ms) of CORRECT responses in subtest10; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 12 trials
- 6 sentences with a happy* meaning
- 6 sentences with a sad meaning
The order of the statements is predetermined.

Participants can select from 3 emotion buttons. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

* The original CATS-R scores the meaning of sentence 'the movie was uplifting' (T10_9) as 'neutral'.
Millisecond's version scores the meaning of this sentence as 'happy' instead.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest11: MATCH EMOTIONAL PROSODY TO EMOTIONAL FACE*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest11 'MATCH EMOTIONAL PROSODY TO EMOTIONAL FACE' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest11: MATCH EMOTIONAL PROSODY TO EMOTIONAL FACE

Participants are asked to select the facial expression (5 choices) that reflects the
emotion of a person reading a neutral sentence. (12 trials)

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest11_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
session:							with the current session id

subTest:							"subtest11"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order	

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. 
										
trialCount:							trial counter																				
subTest11TestItem:					the index of the selected image 
testItem:							the presented audio file
correctResponse:					the dedicated correct response (= correct image from left (1) to right (5))
selectedResponse:					1-5 
correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest11"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t11RawScore:					the number of correct responses in subtest11	
t11RawScoreCorrected:			the number of correct responses in subtest11, corrected
								(Note: in this subtest rawscores do not get corrected)
								
t11ZScore:						the z-score for the corrected T11_rawscore	
								(z-scores get calculated based on Age Means:
								age < 40 = age group 20-39
								41 < age < 60 = age group 40-59
								60 > age = age group 60-79
								(if no age is provided the population mean and standard deviation is used)
									
t11PropCorrect:					proportion correct responses in subtest11
t11RT:							mean response time (in ms) in subtest11; measured from onset of image until 'nextButton' is pressed									
t11CorrRT:						mean response time (in ms) of CORRECT responses in subtest11; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 12 trials
- emotions tested; happy (3), sad (3*), angry (3), frightened (3*)
The order of the statements is predetermined.

Participants can select any of the 5 face options. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

*Note: The Inquisit script runs a different soundfile for subtest 11 question 4 (T11_4) than the original CATS-R.
The original CATS-R plays soundfile 
"subtest11_fourth namep8 the dog ran to the door frightened.wav" but scores selection of a sad face as
correct. Millisecond decided to replace the sentence with 'subtest11_fourth_theshirtwasnew_sad.wav' to keep the
frequency distribution of correct sad, angry, happy, frightened selections equal.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest12: MATCH EMOTIONAL FACE TO EMOTIONAL PROSODY*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest12 'MATCH EMOTIONAL FACE TO EMOTIONAL PROSODY' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest12: MATCH EMOTIONAL FACE TO EMOTIONAL PROSODY

Participants see a face expressing a certain emotion and are given 3 oral sentences read in 3 different emotions.
They have to decide which sentence (first, second, third) corresponds to the facial expression of the face.
___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest12_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
session:							with the current session id

subTest:							"subtest12"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order		

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. 
										
trialCount:							trial counter																				
subTest12TestItem:					the index of the selected image 
testItemAudio:						the presented audio file
testItemVisual:					the presented pic

correctResponse:					the dedicated correct response: 
									1 = first sentence
									2 = second sentence
									3 = third sentence
									
selectedResponse:					1-3 (the selected emotion) 

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest12"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								Female; Male; Other
taskOrder:							the selected task order								
																	
									
t12RawScore:					the number of correct responses in subtest12	
t12RawScoreCorrected:			the number of correct responses in subtest12, corrected
								(Note: in this subtest rawscores do not get corrected)
								
t12ZScore:						the z-score for the corrected T12_rawscore	
								(z-scores get calculated based on Age Means:
								age < 40 = age group 20-39
								41 < age < 60 = age group 40-59
								60 > age = age group 60-79
								(if no age is provided the population mean and standard deviation is used)
									
t12PropCorrect:				proportion correct responses in subtest12
t12RT:							mean response time (in ms) in subtest12; measured from onset of image until 'nextButton' is pressed									
t12CorrRT:						mean response time (in ms) of CORRECT responses in subtest12; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 12 trials
- 3 happy faces
- 3 angry faces
- 3 sad faces
- 3 neutral faces
The order of the statements is predetermined.

Participants can select from 3 emotion buttons. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*subtest13: THREE FACES TEST*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements subtest13 'THREE FACES TEST' of 
the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc


___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

subtest13: THREE FACES TEST

Participants are presented 3 faces (different actors of the same gender); two of which 
depict the same emotion. Participants are asked to select the two faces that show the same emotion.
(24 trials)

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete
___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_subtest13_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
session:							with the current session id

subTest:							"subtest13"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								1 = female; 2 = male; 999 = other
taskOrder:							the selected task order	

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. 
										
trialCount:							trial counter																				
subTest13TestItem:					the index of the selected image 
testItem:							the presented image

correctResponse:					the dedicated correct response (= correct image from left (1) to right (3))
									Example:23 => image2 and image3 are the correct selections
									
selectedResponse:					12, 13, 23 

correct:							accuracy of response: 1 = correct response; 0 = otherwise					 
rt:									cumulative response latency: measured from onset of image until 'nextButton' is pressed


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

inquisit.version:					Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectId:							assigned subject id number
groupId:							assigned group id number
sessionId:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
subTest:							"subtest13"									

//if the subtest is run via a batch script that collects gender/age/taskOrder information:									
age:								the age of the participant 								
gender:								1 = female; 2 = male; 999 = other
taskOrder:							the selected task order								
																	
									
t13RawScore:					the number of correct responses in subtest13	
t13RawScoreCorrected:			the number of correct responses in subtest13, corrected
								(Note: in this subtest rawscores get corrected for Males under 40 and for Males over 59 by +2 to rawscore)
								
t13ZScore:						the z-score for the corrected T13_rawscore	
								(z-scores get calculated based on Age Means:
								age < 40 = age group 20-39
								41 < age < 60 = age group 40-59
								60 > age = age group 60-79
								(if no age is provided the population mean and standard deviation is used)
									
t13PropCorrect:					proportion correct responses in subtest13
t13RT:							mean response time (in ms) in subtest13; measured from onset of image until 'nextButton' is pressed									
t13CorrRT:						mean response time (in ms) of CORRECT responses in subtest13; measured from onset of image until 'nextButton' is pressed							

+ results from individual questions							
* 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 Testblock of 24 trials
- XXX
The order of the statements is predetermined.

Participants can select any of the 5 face options. Responses can be changed until 'next' is pressed.
If button 'repeat' is pressed, the statements get repeated.

Note: By setting parameters.showadvanceButton to true, a '?'-button appears in the upper right corner.
If pressed, the next scheduled test item is skipped.

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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:


___________________________________________________________________________________________________________________	

								*Comprehensive Affective Testing System - Reduced (CATS-R)*
								*Summary Data file*
								*Mouse or Touch Input*
___________________________________________________________________________________________________________________	

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

Script Copyright © 04-06-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements a helper script that collects relevant performance metrics from all the 
subtests of the Comprehensive Affective Testing System - Reduced (CATS-R).

The CATS and CATS-R were created by:
Sarah G. Schaffer, PhD
Karen B. Froming, PhD
Amanda L. Gregory, PhD
C. Michael Levy, PhD
Paul Ekman, PhD


Reference for Means and Standard Deviations used to calculate z-scores:

Emotion Processing: The Comprehensive Affective Testing System. User Manual.
Published 2006 by Psychology Software Inc

___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________		
The fields in the data files are:

(1) Raw data file: 'catsr_summary_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
session:							with the current session id

version:							"abbreviated" (CATS-R)
age:								the entered age of the participant 
gender:								the entered gender of the participant 
handedness:							the entered handedness of the participant 
diagnosis:							the entered diagnoses of the participant (if any) 
taskOrder:							the order in which the selected subsets were run 

zscoreFlag:							0 = z-score calculations are not flagged
									1 = z-score calculations are flagged:
										a) if no gender was provided, the z-scores use 'female' as default for score corrections
										b) the script generally tries to use the nearest age group for z-score calculations when z-scores are age dependent
										However, if the age of a participant is below 20 or above 79, the participant's age falls outside of the age-normed groups,
										so z-scores are flagged in this script as a caution.

//Validity Scales:	2 scales are computed based on 36 easy and comparable items
V1:									V1 = T5_2 + T5_4 + T6_6 + T6_8 + T7_2 + T7_3 + T7_4 + T9_6 + T9_8 + T11_12 + T12_1 + T12_3 + T12_4 + T12_10 + T13_3 + T13_4 + T13_10 + T13_18
V2: 								V2 = T6_4 + T6_9 + T7_5 + T7_11 + T7_12 + T8_2 + T8_6 + T9_10 + T9_11 + T11_8 + T12_5 + T12_7 + T12_9 + T12_12 + T13_8 + T13_17 + T13_22 + T13_24

V1plusV2:							the total of V1 and V2	(V1 + V2)
V1plusV2_Zscore:					zscore of V1plusV2 
V1plusV2_cumulativePercent:			the cumulative percentage
									Note: once the total surpasses Q25, the script only reports ">= 25%"

V1minusV2:							the absolute difference of |V1 - V2| 
V1minusV2_baserate:					the rate which which this difference was seen in the normative sample
									Note: the maximum reported base rate is 16%


//Quotients
quotients,
ARQ:								Affect Recognition Quotient Score based on the uncorrected raw scores:  
									/ARQ = T2_rawscore + T5_rawscore + T7_rawscore + T8_rawscore + T13_rawscore
									
ARQ_corrected:						ARQ score based on the corrected raw scores 
ARQ_Zscore:							the calculated zscore for the corrected ARQ score

PRQ:								Prosody Recognition Quotient based on the uncorrected raw scores:
									/PRQ = T4_rawscore + T6_rawscore + T9_rawscore
 
PRQ_corrected:						PRQ score based on the corrected raw scores 
PRQ_Zscore:							the calculated zscore for the corrected PRQ score

ERQ:								Emotion Recognition Quotient based on the uncorrected raw scores:
									/ERQ = T2_rawscore + T4_rawscore + T5_rawscore + T6_rawscore + T7_rawscore + T8_rawscore + T9_rawscore + T10_rawscore + T11_rawscore + T12_rawscore + T13_rawscore
 
ERQ_corrected:						ERQ score based on the corrected raw scores of all emotional subtests (excludes subtest1 and subtest3)
ERQ_Zscore:							the calculated zscore for the corrected ERQ score

//Subscales
subscales,
SimpleFacialScale_raw:				the sum of (Subtest2 + Subtest5) raw total score
SimpleFacialScale_corrected:		the sum of (Subtest2 + Subtest5) corrected total score 
SimpleFacialScale_Zscore:			the calculated zscore for the corrected score 

ComplexFacialScale_raw:				the sum of (Subtest7 + Subtest8 + subtest13) raw total score
ComplexFacialScale_corrected: 		the sum of the corrected total scores for these scales
ComplexFacialScale_Zscore:			the calculated zscore for the corrected score 
		
ProsodyScale_raw:					the sum of (Subtest4 + Subtest6 + subtest9) raw total score
ProsodyScale_corrected: 			the sum of the corrected total scores for these scales
ProsodyScale_Zscore:				the calculated zscore for the corrected score 

LexicalScale_raw: 					the sum of (Subtest10) raw total score*
LexicalScale_corrected: 			the sum of the corrected total scores for these scales 
LexicalScale_Zscore:				the calculated zscore for the corrected score 

CrossModalScale_raw: 				the sum of (Subtest10 + subtest12) raw total score*
CrossModalScale_corrected: 			the sum of the corrected total scores for these scales 
CrossModalScale_Zscore:				the calculated zscore for the corrected score 

*Note: subtest10 raw score
The Inquisit CATS-R corrected an existing scoring problem for T10_9 (subtest10) in the original CATS-R.
For more detailed info check out script catsr_subtest10.iqjs.
No corrections were made to the normative data (reported mean and standard deviation).

//Subtests
values.subtests, 
T1_rawscore:							the sum of all scores in subtest1 
T1_rawscore_corrected:					the gender-corrected total score in subtest1 (Note: if gender corrected, then the correction applies to males) 
T1_Zscore:								the zscore of the gender-corrected total score in subtest1
(same for all 13 subtests)

Note1: the following subtest total scores are getting gender corrected:
subtest2: males 40+ get an additional point
subtest5: males 60+ get an additional point
subtest7: males 60+ get an additional point
subtest10: males 60+ get two additional points
subtest13: males 39 and younger get two additional points, males 60+ get two additional points

Note2:
The Inquisit CATS-R corrected scoring problems for T10_9 (subtest10) as well as T11_4 (subtest11).
For more detailed info check out scripts catsr_subtest10.iqjs/catsr_subtest11.iqjs.
No corrections were made to the normative data (reported means and standard deviations).


//Discrete Emotion Scales
values.discreteEmotionScales,
Happy:									sum of responses to Happy items: /Happy = T5_2 + T8_2 + T7_3 + T7_12 + T13_10 + T13_18 +  T13_22 + T13_24								 
Happy_Zscore:							the corresponding zscore

Surprised:								sum of responses to Surprised items: /Surprised = T5_4 + T8_6 + T7_4 + T7_5 + T13_1 + T13_14 + T13_19 + T13_20
Surprised_Zscore:						the corresponding z-score

Angry:									sum of responses to Angry items: /Angry = T5_6 + T8_4 + T7_1 + T7_7 + T13_2 + T13_5 + T13_11 + T13_16 
Angry_Zscore:							the corresponding z-score

Sad: 									sum of responses to Sad items: /Sad = T5_1 + T8_5 + T7_6 + T7_9 + T13_3 + T13_4 + T13_8 + T13_17
Sad_Zscore:								the corresponding z-score

Fearful_corr: 							sum of responses to Fearful items (+ 1 bonus points if Male) /Fearful_corr = T5_3 + T8_3 + T7_2 + T7_11 + T13_6 + T13_12 + T13_13 + T13_15 + (gender == "Male")
Fearful_Zscore:							the corresponding z-score

Disgusted_corr:							sum of responses to Disgusted items (+ 1 bonus points if Male) /Disgusted_corr = T5_5 + T8_1 + T7_8 + T7_10 + T13_7 + T13_9 + T13_21 + T13_23 + (gender == "Male" 
Disgusted_Zscore:						the corresponding z-scores

//the following data columns store all individual scores collected
values.individualScores,
T1_1:									subtest1, problem1: 1 = correct response; 0 = error
...
T13_24:									subtest13, problem24: 1 = correct response; 0 = error