Return to the Cognitive Flexibility Scale (CFS) page
							
___________________________________________________________________________________________________________________	

									*Cognitive Flexibility Scale (CFS)*
___________________________________________________________________________________________________________________	

Script Author: David Nitz (dave@millisecond.com) for Millisecond Software, LLC
Date: 05-05-2020
last updated: 05-05-2020 by D. Nitz (dave@millisecond.com) for Millisecond Software LLC

Script Copyright © this implementation 05-05-2020 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	
This script implements a computerized adaptation of the short form of the Cognitive Flexibility Scale (CFS) 
as described in:

Martin, M. M. & Rubin, R.B. (1995). A new measure of cognitive flexibility. Psychological Reports, 76, 623-626.

___________________________________________________________________________________________________________________
OVERVIEW
___________________________________________________________________________________________________________________	
											  
The CFS is a 12-item scale designed to assess cognitive flexibility.

Participants are asked to answer 12 6-point Likert-type questions with the following anchors:
"Strongly Agree", "Agree", "Slightly Agree", "Slightly Disagree", "Disagree" and "Strongly Disagree".

Scoring: To score the scale, simply sum up the response values of the 12 items.

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

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

(1) Raw data file: 'cfs_survey*.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)
									Scale: strongly agree (6) - strongly disagree (1)
									R = automatically reversed scored questions
									
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: 'cfs_summary*.iqdat' (a separate file for each participant)

computer.platform:					the platform the script was run on (win/mac/ios/android)
inquisit.build:						the version/build of Inquisit
script.startdate:					date script was run
script.starttime:					time script was started
script.subjectid:					assigned subject id number
script.groupid:						assigned group id number
script.sessionid:					assigned session id number
script.elapsedtime:					time it took to run script (in ms); measured from onset to offset of script
script.completed:					0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
expressions.cfs_sum					sum of responses to the 12 6-point questions


___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
can be edited under section Editable Parameters.
The original instructions are:
"The following statements deal with your beliefs and feelings about your own behavior. Read each statement 
and respond by circling  the number that best represents your agreement with each statement."

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

/pageinstructions:			the instructions that appear at the top of each surveypage