Return to the Eating Disorder Inventory page
___________________________________________________________________________________________________________________	

									EATING DISORDER INVENTORY (EDI)
___________________________________________________________________________________________________________________

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

Script Copyright © 01-06-2020 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________
This script implements the Eating Disorder Inventory (EDI) as described in:

Garner, D.M., Olmstead, M.P., & Poliviy, J. (1983). Development and Validation of a Multidimensional
Eating Disorder Inventory for Anorexia Nervosa and Bulimia. Int'l Journal of Eating Disorder,
2, 15-34.

___________________________________________________________________________________________________________________
OVERVIEW
___________________________________________________________________________________________________________________
The EDI contains the following 8 subscales/subtests (64 questions total):
1. Drive for Thinness (7 questions)
2. Bulimia (10 questions)
3. Body Dissatisfaction (7 questions)
4. Ineffectiveness (9 questions)
5. Perfectionism (10 questions)
6. Interpersonal Distrust (8 questions)
7. Interoceptive Awareness (6 questions)
8. Maturity Fears (7 questions)


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

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

(1) Raw data file: 'edi.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 selected response options)	
									Note: corresponding values (0-3) are assigned at the end of the survey and are used to calculate summary variables
										
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: 'edi_summary*.iqdat' (a separate file for each participant)

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

Note: The scoring of responses is done as described by Garner et al (1983): the most "anorexic" response
scores a 3, the one below it scores a 2, the next a 1 and the rest a 0.
								
totalscore:						the total score across subscales (range: 0-192)

Subscale Scores with z-scores and p-values
By default, the z-scores are calculated using the mean and standard deviations (calculated based on reported standard errors) 
for the Female control sample (N=577) published in Garner et al (1983), table 3.
If gender is known to be male, then the appropriate statistics are used instead.

Note: p-values report the z-score percentile values.


1. subtest1 (Drive for Thinness):			7 questions, range: 0-21
	with z-score1 and p-value1  Female: mean = 5.0 (5.28), Male: mean = 1.6 (3.09)

2. subtest2 (Bulimia):						10 questions, range: 0-30
	with z-score2 and p-value2  Female: mean = 2.0 (3.36), Male: mean = 1.0 (1.8)
	
3. subtest3 (Body Dissatisfaction):		7 questions, range: 0-21
	with z-score3 and p-value3  Female: mean = 10.2 (7.69), Male: mean = 3.9 (5.02)
	
4. subtest4 (Ineffectiveness):				9 questions, range: 0-27
	with z-score4 and p-value4  Female: mean = 2.0 (3.60), Male: mean = 1.6 (3.09)
	
5. subtest5 (Perfectionism):			 	10 questions, range 0-30
	with z-score5 and p-value5  Female: mean = 5.2 (3.84), Male: mean = 6.2 (3.87)
	
6. subtest6 (Interpersonal Distrust):		8 questions, range 0-24
	with z-score6 and p-value6  Female: mean = 2.2 (2.88), Male: mean = 3.1 (3.09)
	
7. subtest7 (Interoceptive Awareness):		6 questions, range 0-18
	with z-score7 and p-value7  Female: mean = 2.9 (11.29), Male: mean = 1.4 (5.02)
	
8. subtest8 (Maturity Fears):				7 questions, range 0-21	
	with z-score8 and p-value8  Female: mean = 2.5 (7.92), Male: mean = 2.7 (5.67)
	
as well as:	
textbox.Age.response, dropdown.gender.response, textbox.Weight.response, textbox.Height.response	
	
	


___________________________________________________________________________________________________________________
QUESTIONNAIRE SET-UP
___________________________________________________________________________________________________________________
The EDI contains the following 8 subscales/subtests (64 questions total):
1. Drive for Thinness (7 questions)
2. Bulimia (10 questions)
3. Body Dissatisfaction (7 questions)
4. Ineffectiveness (9 questions)
5. Perfectionism (10 questions)
6. Interpersonal Distrust (8 questions)
7. Interoceptive Awareness (6 questions)
8. Maturity Fears (7 questions)	

The script runs the survey and saves the raw data in the file EDI.dat.
Summary data (such as totalscore, scores on subscales etc) is saved in the data file EDI_summarydata.dat.

Demographic questions such as age, gender, weight and height are optional.
By default, they are run.

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

/runDemographicQuestions			true: survey runs demographics questions at the beginning (default)
								false: survey only runs the actual EDI questions