Return to the Cognitive Flexibility Inventory (CFI) page
							
___________________________________________________________________________________________________________________	

									Cognitive Flexibility Inventory (CFI)
___________________________________________________________________________________________________________________	
							
							
Script Author: David Nitz (dave@millisecond.com) for Millisecond Software, LLC
Date: 05-05-2020
last updated: 05-07-2020 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC

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

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________
This script implements a computerized version of the short form of the Cognitive Flexibility Inventory (CFI) 
as described in:

Dennis J. P., Vander Wal J. S. (2010). The cognitive flexibility inventory: instrument development and estimates 
of reliability and validity. Cognitive Therapy Research, 34, 241–253.

___________________________________________________________________________________________________________________
OVERVIEW
___________________________________________________________________________________________________________________	

											  
The cognitive flexibility inventory (CFI) was developed to be a brief self-report measure of the type of cognitive 
flexibility necessary  for individuals to successfully challenge and replace maladaptive thoughts with more 
balanced and adaptive thinking.

Participants are asked to answer 20 7-point Likert-type questions with the following anchors:
"Strongly disagree", "Disagree", "Somewhat disagree", "Neutral", "Somewhat agree", "Agree" and "Strongly agree".

Scoring: 
- Add up the scores for the items for the Alternatives scale (items 1, 3, 5, 6, 8, 10, 12, 13, 14, 16, 18, 19, and 20) 
- Add up the scores for the Control scale (items 2, 4, 7, 9, 11, 15, and 17). 

Items 2, 4, 7, 9, 11, & 17 are reverse-scored. 
Higher scores on both scales are indicative of greater flexibility.

- A total score for the CFI is calculated by summing up all items.

There are currently no established cutoff scores for high, moderate, and low flexibility for the CFI total score or the subscale scores

___________________________________________________________________________________________________________________	
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: 'cfi_survey*.iqdat' 

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

q*_response:					response given (in assigned values)
									Scale: 1 (strongly disagree) - 7 (strongly agree)
									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: 'cfi_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.cfi_alternatives		sum of responses for the 13 items comprising the Alternatives sub-scale
expressions.cfi_control				sum of responses for the 7 items comprising the Control sub-scale
expressions.cfi_total				sum of responses to all 20 7-point questions

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
can be edited under section Editable Parameters.
The original instructions are:
"Please use the scale below to indicate the extent to which you agree or disagree with the following statements."

___________________________________________________________________________________________________________________	
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