Professional Documents
Culture Documents
IN PSYCHOLOGY
Bachelor Psychology 2020-2021
Coordinators and instructors
Coordinators
(Introduction) 2
Welcome!
(Introduction) 4
Experimental Psychology
1) Lectures
Theories on cognitive processes in the brain
Lecturer: Prof. Jean Vroomen
Test = Exam
(Introduction) 5
Why Experimental Skills?
In this course you will acquire the tools and skills that
are necessary to study and describe the cognitive
functions of healthy individuals and patients.
(Introduction) 6
Learning objectives?
(Introduction) 7
Procedure of Experimental skills
(Introduction) 9
Procedure of Experimental skills
Questions by students
• Every year we receive many questions from students on
issues with Opensesame and Excel.
• 90% of the questions are due to:
– Not reading the instructions properly
– Not executing the instructions properly
– Not being careful or being imprecise in following the
instructions (being sloppy, typos, etc)
– Forgetting how to do things that were explained in the
previous tutorials
(Introduction) 10
Procedure of Experimental skills
Questions by students
• This means that if you are stuck or you get an error
message, 90% of the times you can easily fix this
yourself:
– Go back a few steps: re-read the instructions and do it
again
– Watch out for spelling mistakes
– Go back to previous tutorials when you have forgotten the
necessary steps
(Introduction) 11
Procedure of Experimental skills
Questions by students
• For most common issues, mistakes or error messages we
have made a Frequently Asked Questions List (FAQs). This
can be found on Canvas.
• Consult these FAQs first before contacting us.
• If you want to ask our help you must fill out a form in
which you explain the issue. This form is called
HelpMePlease and can be found on Canvas.
• Upload HelpMePlease with your question via Discussions
on Canvas (as an attachment).
• We will NOT respond to emails!
(Introduction) 12
Procedure of Experimental skills
Questions by students
• We will address your questions during an
online session that will be held once a week.
(Introduction) 13
Report
Answer the questions that are asked throughout the tutorials.
In tutorial 5/6: Run your own experiment on 5 subjects .
Perform data analysis on the gathered data.
Describe the methods and results of your study in a (short)
research report.
Grade = pass/fail.
16
OpenSesame
Toolbar: Save, Run
17
OpenSesame
OpenSesame Items
18
OpenSesame
Timeline/
structure
19
OpenSesame
20
OpenSesame
Help
21
General Tips & Advice
(Introduction) 22
TO DO
23
Tutorial 1
24
Simple Reaction time Task (SRT)
Start
Instruction
Stimulus
(Tutorial 1) 28
SRT Experiment
What are we going to do today?
I. Create a new experiment
II. Enter Instructions
III. Create the trial structure
IV. Draw a stimulus
V. Define the response
VI. Add an ITI
VII. Log (register) the RT
VIII. Insert the End of the experiment
IX. Create a formula in Excel
X. Import data in Excel and calculate the average RT
(Tutorial 1) 29
Preparations
2) Start OpenSesame
Start OpenSesame
OpenSesame
(Tutorial 1) 30
I. Create a new experiment
1)
1) OpenSesame may show a ‘Get
Started’ Screen upon opening the
application.
(Tutorial 1) 31
2) Multiple options are displayed:
2) a)
a) Start a new experiment: create a
new experiment. There are 4 types
of templates (i.e. the basic structure b)
of an experiment): a simple one
(default) and 3 more advanced ones.
(Tutorial 1) 32
4) The Overview window shows the 4)
basic experiment structure.
5)
a) ‘Resolution‘: The default setting is
1024 pixels wide and 768 pixels
high. 1024 x 768 pixels is the screen
resolution during the administration c)
of the experiment.
(Tutorial 1) 33
6) We start off with a new (empty)
experiment. First, unnecessary items 6)
are removed. Because we do not
need the 'getting_started' notepad
(Instructions), we remove it. Right
click the ‘getting_started‘-item.
Then click ‘Permanently delete all
linked copies’.
7)
(Tutorial 1) 34
9) The next step is saving the 9)
experiment (do this regularly while
building your experiment!).
10)
10)
(Tutorial 1) 35
II. Enter Instructions 1)
(Tutorial 1) 36
3) The experiment should start with a
task Instruction. So we need to add
3)
an item that allows us to put text in
it (i.e. a ‘sketchpad’ item).
4) The ‘sketchpad'-item
(new_sketchpad) is added to the
experiment (visible in the Overview-
window).
4)
(Tutorial 1) 37
5) We are going to rename item 5)
‘new_sketchpad' to 'Instruction'.
(Tutorial 1) 38
8)
8) The ‘Draw textline element’ has a
number of adjustable properties,
including: font, letter size, text color
etc. These allow you to change the
appearance of the text. These
should be set before you enter any
text.
(Tutorial 1) 39
9)
9) Place the cursor anywhere on the
(black) canvas. We can later adjust
the location of the text, so location
is not important right now.
(Tutorial 1) 40
11)
11) Let’s change the location of the text
on the canvas.
Select the pointer.
(Tutorial 1) 42
18) Click the ‘Break’ item. 18)
We want a black screen that is
displayed for 2 seconds. We will use
the ‘Duration’ property to achieve
this.
b)
(Tutorial 1) 43
III. Creating the Trial structure 1)
1) Now click the 'experiment‘ item in
the Overview-window.
(Tutorial 1) 44
4) Using the loop item, we want to
repeat a trial an x number of times 4)
(in this case, 20 times, but again,
setting repetitions to 20 will be done
later in the tutorial). A trial is a
sequence of events. In OS, a trial is
therefore referred to as a ‘sequence
item’
6)
6) Rename the item from
'new_sequence' to 'Trial' (using the
right mouse button – ‘Rename’ –
type ‘Trial’)
Note it is Trial not Trail (a commonly
made mistake)
(Tutorial 1) 45
7) Click the ‘Loop’-item. 7) 8)
8) In the Loop-item type an ‘1’ in the cell
under the blue text ‘empty_column’ (in
your OS version it might also be called
‘new_column_1’) and press Enter. This
denotes that we only have 1 unique
trial (which we will repeat for 20 times,
later in the tutorial).
(Tutorial 1) 46
4) Rename the item ‘new sketchpad' 4)
to 'Stimulus_On‘. Then the click
'Stimulus_On’ item.
(Tutorial 1) 47
7) Step 7-13 involves drawing a white
circle on the canvas. 7)
Click the circle icon.
Tick 'Fill'. a) b) c)
8)
The circle we are about to draw is
now filled with the selected color
(white).
(Tutorial 1) 48
How to draw a circle: Click on the location 9)
on the canvas where you want the center
of your circle to be. After this, hold down
the left mouse button and move the
mouse to the left or right (by doing this,
you increase the circle’s radius). 3
(Tutorial 1) 49
12) In case of any mistake while 12)
drawing, you can delete the stimulus
by right clicking it and clicking
‘delete’. It is also possible to just
press ‘delete’ on your keyboard.
(Tutorial 1) 50
Practice with drawing, moving and a)
deleting a stimulus
(Tutorial 1) 51
14) Now we add a black screen to the 14)
trial, so the created stimulus
disappears from the screen after
100 ms leaving a black screen. This
screen is made using an empty
sketchpad (i.e. without a stimulus).
16)
(Tutorial 1) 52
17) The only purpose of the
'Stimulus_Off‘ item is to ‘remove’ 17)
the visual stimulus with a black
screen. (read NOTE 3 carefully).
When you set the ‘Duration’ at 0 ms, the screen (black screen in this case)
is displayed, but OpenSesame immediately continues to the next item of
V. Defining a response the Overview-window (in this case the keyboard_response item).
(Tutorial 1) 53
2) Add a new ‘keyboard_response’ 2)
item (right click etc.) to the Trial
item.
(Tutorial 1) 54
4) The property window of ‘Answer' 4)
has three parameters that we can
set. We will be using the ‘m’ key on
the keyboard as a response.
(Tutorial 1) 55
VI. Add ITI 1)
(Tutorial 1) 57
VII. Logging RT
1)
1) In this step, we are going to add the
final item of our trial. This item
enables us to save the subject’s
answers (reaction time) in a file: the
‘logger’ item.
(Tutorial 1) 58
3) Rename ‘new_logger’ into ‘Logger’.
Click ‘Logger’ in the overview 3)
window.
At the top of this window, you see:
‘Log all variables.’ If this is checked,
OS determines what is saved to the
log file.
However, we want to control this
ourselves. In this experiment, we
only want to save the reaction time.
Therefore, make sure that the ‘Log
all variables’ option is not checked.
4)
4) We want to save the reaction time
(OS calls this ‘response_time’) that is
collected by the item ‘Answer’. Click
the ‘Add custom variable’ button. A
window appears in which we can
type the variable that we want to be
logged. We want to save the
response_time collected by the item
Answer (response_time_Answer).
5) Type ‘response_time_Answer’ 5)
(exactly like this) and click the OK
button.
(Tutorial 1) 59
6) The logger now saves the RT that is 6)
collected by the Answer item during
each trial .
(Tutorial 1) 60
8) A major drawback of entering the
variables to be saved by typing them 9)
is that you have to know the exact
name of the variable.
There is an alternative way to store
the variables in the logger.
Beware however, that this
alternative method does not always
work in OS since this feature is still
rather buggy.
(Tutorial 1) 61
11 a)
11) a) The two most important columns
in the Variable inspector are
‘Variable’ and ‘Source(s)’.
(Tutorial 1) 62
13)
13) Click ‘Logger’ in the overview
window.
(Tutorial 1) 63
VIII. End of the experiment
1)
1) Now we have almost finished
programming our experiment.
However, we want to make sure the
experiment ends with a conclusion
screen to inform the subject the
experiment is done.
(Tutorial 1) 64
3)
3) Rename the ‘sketchpad’ item into
End_Experiment.
(Tutorial 1) 65
5) Save the experiment (CTRL+S). 5)
6) Let’s run the experiment. Click 'run'.
(Tutorial 1) 67
You can abort the experiment while it is
running by pressing the <Esc>-key. 9)
(Tutorial 1) 68
12) In the property window of the ‘Loop'
item, a number of options are 12)
shown. For now, we will only discuss
the ‘repeat’ option (the other
options are discussed in another
tutorial).
b)
a) If you haven’t done this already
(see page 46), type ‘1’ in the upper
Only after you press Enter, the number of
most left cell (first row, first repetitions of the trial will be adjusted and the
column). This denotes that we only summary will be updated.
have 1 (unique) trial.
(Tutorial 1) 69
On some computers (with a monitor with
a high resolution), it might be that when
running the experiment, the experiment
does not fully cover the screen. See the
FAQs for a solution for this problem.
(Tutorial 1) 70
IX. Excel
1) We are now going to process our NOTE 5: Excel is a so-called spreadsheet program. A spreadsheet
data (calculate the mean RT) from program is comparable to a very extensive calculator. You can add,
multiply, divide, etc. Also more intricate (statistical) calculations, like
the experiment in Excel
standard deviation, are possible. Furthermore, Excel allows you to
(read note 5).
create graphs (e.g. line or bar graph etc).
2) Start Excel 2)
(Tutorial 1) 71
3) Select ‘Blank workbook’
3)
(Tutorial 1) 72
4) The elements of the Excel program
are shown with their names. The 4) Title bar
rectangles in the grid are called cells. Toolbar ‘fast access’ System menu
5) Type Cell B1
in cell B1 the number 3 (and press 5)
Enter),
in cell B2: the number 5,
in cell B3: the number 2,
in cell B4: the number 7,
in cell B5: the number 8.
(Tutorial 1) 73
6) We want the sum of these numbers
to be displayed in cell B6. Instead of 7)
just typing ‘=3+5+2 +7+8’, we are
going to refer to the cells that
contain the numbers. Every
function/formula starts with an ‘=‘
symbol (if you forget to enter ‘= ‘,
Excel does not recognize your input
as a formula, but instead considers it
to be just regular text).
NOTE 7: In Excel, formulas are not applied to the numbers
7) Select cell B6 and type ‘= B1 + B2 + themselves, but to the cells that contain the numbers. The number
in the cell in question is then used in the formula. An example: we
B3 + B4 + B5’. Then press Enter.
want to add up cells B1 and B2. Cell B1 contains the number 3, cell
Notice that the outcome (25) B2 contains the number 5. The formula = B1 + B2. Excel
appears immediately. You might automatically enters the values of the cells (i.e. the numbers) into
think: “this could be done faster the formula: = 3 + 5 (= 8)
using a calculator”. That might be
true for this example. However, the
main advantage of Excel’s formula
function is that outcome of the
formula (in this case the sum) is
automatically recalculated whenever
a cell’s value is changed. Read note
7.
8)
(Tutorial 1) 74
9) Notice how the sum automatically
changes from 25 to 31. 9)
10) Excel’s main advantage is that, once you
have defined your formula, the
outcome is automatically recalculated
whenever the value of the cells
included in the formula is changed.
SUM(B1:B5) = B1 + B2 + B3 + B4 + B5.
Imagine having not 5 but 100 numbers,
the SUM function (in cell B101) then
becomes: =SUM(B1:B100).
(Tutorial 1) 76
X. Inspect your data
1)
Now that we have learned how to
calculate an average of a number of
values in Excel, let’s import the reaction
times of our experiment into Excel and
calculate the mean reaction time.
(Tutorial 1) 77
We are now going to calculate the
average RT in Excel. 3)
3) We want the average RT to not be all
the way at the bottom of the
column, but somewhere on top, so
we can instantly see it without
having to scroll down.
a)
Type in cell D1: ‘Average RT‘
(Tutorial 1) 78
5) We want the average RT to be 5)
displayed in Cell E1.
(Tutorial 1) 79
7) As shown here, Excel does not 7)
automatically enter the correct cells
this time. The reason for this is that
we do not want to calculate the
mean in a cell that is located
directly below the column that
contains the values. Instead, we now
have to manually enter de cells we
want to use for the AVERAGE
function.
(Tutorial 1) 80
9) Save your file as an Excel 9)
Workbook, name it: SimpleRT-2.xlsx
and store it in the folder ‘Tutorial 1’
located on your drive.
(Tutorial 1) 81
Report question 1.1
(Tutorial 1) 82
Report question 1.2
(Tutorial 1) 83
Congratulations! You have now built your first
experiment in OpenSesame!
(Tutorial 1) 84
Tutorial 2
85
Priming Experiment
(Tutorial 2) 86
What is priming?
(Tutorial 2) 87
Priming Experiment (PE)
• In a Priming Experiment (PE), two words are presented (first the prime,
then the target), with a short interval in between the two.
• The PRIME is a word with no task involved, the subject just looks at it.
• The target can be a non-word or an existing word. The existing word can
be ‘related’ or ‘unrelated’ to the prime.
eg: PRIME-target
CHICKEN-rolp target = non-word
CHICKEN-egg target = existing word; related to prime
CHICKEN-hat target = existing word; unrelated to prime
• The subject’s task is to decide as quickly as possible whether the target is
a word or a non-word (two-alternative forced-choice RT task).
• The expectation is that subjects respond faster to related words compared
to unrelated words = PRIMING EFFECT.
(Tutorial 2) 88
Priming Experiment (PE)
3 Categories:
Associated
word
Not-associated
word
Non-word Priming Effect:
(Black screen)
Not-associated
= Slower RT
Target egg hat rolp
Subjects’ TASK =
(Tutorial 2)
word/non-word? 89
Why this specific task?
Why ‘word’ vs ‘non-word’ instead of ‘related’ vs ‘unrelated’?
1. We don’t want subjects to use the same button for every correct
answer during the entire experiment
(Tutorial 2) 90
Overview Priming-Experiment
Experiment-Structure Trial-Structure What is happening?
Prime-stimulus
Instruction-text Prime_On (200 ms) CHICKEN
Target-stimulus
Target_On egg
(0 ms)
'z' = non-word
Answer 'm' = word
(12 trials)
ITI (3000 +/- 1000 ms)
CHICKEN
Trial 1
Trial 2 BLACK
Trial 3
BIG
OpenSesame OpenSesame
• Stimulus is a geometrical figure. • Stimulus is text.
• Same stimulus during each trial • Different stimulus for each trial
(Stimulus is fixed) (Stimulus is variable)
• ‘Single-choice’ task • Two-choice alternative task
(stimulus detection: 1 button). (word or non-word: 2 buttons).
Excel Excel
• Average RT for single stimulus. • Average RT separately for associated
and not-associated words:
Conditional average.
(Tutorial 2) 93
Priming Experiment
What are we going to do today?
I. Build the experiment’s structure
II. Modify Content, Instruction, Break, End
III. Build the Trial-structure
IV. Modify the Content of the Trial-Structure
V. Create a Variable-scheme
VI. Insert variable references
VII. Define datafile
VIII. Calculate average RT in Excel
IX. Assignment
(Tutorial 2) 94
I. Build the experiment’s structure
1. When you launch OpenSesame, the 1)
program asks how you’d like to get
started (template or existing
experiment).
Double click 'Default template'.
(Tutorial 2) 95
Adjust background color:
In our experiment, white words will be
projected on a black background. The
‘general properties’ in the item ‘New
experiment’ are set correctly, so we do
not have to change anything.
Back-end is xpyriment.
(Tutorial 2) 96
3) First, clear the experiment.
3)
Remove the ‘getting_started’-item using
[Shift+Del] or:
(Tutorial 2) 97
Now we are going to build the main Experiment-Structure:
structure of the experiment
Instruction-text
The Experiment-structure consists of:
- Instruction-text
- Break (1000 ms) Break (1000 ms)
- Trial-loop
- End-text (1000 ms)
Trial-loop:
X number of trials
End-text
(1000 ms)
(Tutorial 2) 98
4) First, create the Instruction, Break, a)
Loop and End items.
c)
(Tutorial 2) 99
5) Verify that your Overview-window is 5)
identical to the one displayed here.
(Tutorial 2) 100
II. Adjust the Instruction, Break, End item 1)
content
Instruction
1) Now we are going to add some text
to the instruction item.
Select the ‘Instruction’-item in the
Overview-window.
(Tutorial 2) 101
Break 2)
2) Now let’s adjust the Break item
(black screen) . Click the ‘Break’-
item in the Overview-window. Set
‘Duration’ to 1000 (the break screen
will now be displayed for 1000 ms =
1 sec). Do you remember why we
insert this break here?
3)
Loop
3) We are going to adjust the loop item
later on.
(Tutorial 2) 102
End
4)
4) First, we are going to modify the
End-item. Select the ‘End’-item in
the Overview-window.
a) Set the ‘Duration’ to 1000
b) Enter the following text (without
the quotation marks):
a)
“This is the end of the experiment”
b)
(Tutorial 2) 103
a)
5) In the ‘Loop’-item, a new ‘sequence’
has to be added.
(Tutorial 2) 104
III. Building the trial structure
(Save the experiment. Shortcut : Ctrl+s)
(Tutorial 2) 105
2) Rename the items into the names 2)
displayed on the right.
Verify that all the required items are
included in your trial-sequence, in
the same order as the example on
the right
(Tutorial 2) 106
IV. Adjust the Trial-Structure content
We will now adjust the content
of the following items:
• ‘Prime_On’
• ‘Prime_Off’
• ‘Interval’
• ‘Target_On’
• ‘Answer’
• ‘Target_Off’
• ‘ITI’
Prime_On
1) Select the ‘Prime_On’ item in the
Overview-window
(Tutorial 2) 107
2) Now let’s add the actual text.
c)
(Tutorial 2) 108
Prime_Off NOTE 1:
3) Next up is adjusting the duration of A new sketchpad’s ‘Duration’ has ‘keypress’ as its default setting.
the ‘Prime_Off’-item. This means that the experiment does not continue unless the subject
presses a button on the keyboard.
We want the Prime_Off item to be
visible for a very short amount of A ‘Duration’ of 0 ms means that the screen (black screen in our
time (a black screen just to close off experiment) is visible, but OpenSesame immediately continues to the
the Prime_On stimulus) so that the next item in the overview window.
experiment immediately moves onto
the next item in the Overview-
window (which is the Interval-item).
a) Change ‘Duration’ to 0.
(Tutorial 2) 109
Interval
4) Next up is setting the ‘Interval’-item 4)
after the Prime.
We want a 300-ms interval between
the offset of the prime and
appearance of the target.
e) d)
(Tutorial 2) 110
Target_On
5) Now we adjust the 'Target_On‘- 5) a)
item.
Select the ‘Target_On’-item in the
Overview-window.
c)
a) Set the ‘Duration’ to '0' b)
This way, OpenSesame immediately
moves on to the next item in the
trial structure (which in this case is
the ‘Answer’ item).
Note that the keyboard response
item Answer just waits for the
subject to enter a key. Answer does
not show anything on screen, so the d)
target will remain visible while the
program waits for an answer.
'm' or 'z'.
NOTE 3: If subjects are allowed to use multiple keys to select their response,
insert the specific keys in the ‘Allowed responses’ box and separate
them using a semicolon (‘;’).
(Tutorial 2) 112
Target_Off
7) As soon as the subject presses a key, 7)
we want a black screen to appear
(so the target-word will disappear)
Set the ‘Target_Off’- item ‘Duration’
to 0. As mentioned earlier, by doing
this, the previous screen with the
target will be substituted by a black
screen and OpenSesame will
immediately move on to the next
item in the Overview window.
(Tutorial 2) 113
9) Save the experiment (NOTE 4) and
run het experiment to verify that 9)
your experiment is working (insert a
random subject number): NOTE 4: ALWAYS save your experiment before running it. If you do not
a) Click ‘Save’ (of Crtl +s ) save before running, recent changes might not be applied.
b) Click ‘Run’. Pay attention! If you run
the experiment in the Cube building
at the university, the experiment
may ‘freeze’ the first time (solution:
press <Esc> and then 'q') or only
show the instruction and final text
(see page 67 for the solution of this
bug)!
(Tutorial 2) 114
V. Create a Variable-scheme NOTE 5: Variables can change in value during an experiment.
4 variables are used in this
experiment: e.g.: The Prime-word in this experiment will be different in
- Prime (x different words) every trial. Therefore, ‘Prime’ is a variable. Its value (i.e. the
- Target (x different words/non- word) can vary during the experiment; CHICKEN, BLACK, etc.
words)
In OpenSesame, you can define the value of a specific
- CorrectAnswer (m or z)
variable for each trial in the ‘Loop’- item.
- Category (related [i.e. prime and
target are related]; unrelated [i.e. In the ‘loop’-item, variables names are displayed at the top
prime and target are unrelated]; of the columns while their specific value for each trial is
nonword) displayed in the rows below(Column 1 = Variable 1, row 1 =
specific value for each Variable during trial 1 etc.).
Within the scheme’s ‘Loop’-item,
the different variables and possible
values of these variables can be
entered.
Carefully read NOTE 5 (also see
FAQs). 1)
b) Type ‘Prime’
(Tutorial 2) 115
2) In the same way, create the variables
'Target’, 'CorrectAnswer’ and 2 a)
'Category' (see NOTE 6).
(Tutorial 2) 117
VI. Insert variable references
NOTE 7:
Next, we are going to add references The ‘loop’ scheme defines which Prime and Target are
presented, what the correct answer is for each trial and to what
to the variables in the experiment, to category each trial belongs to.
let OpenSesame ‘know’ which prime - e.g.: For a specific trial, the Prime is ‘CHICKEN’, the target is
and target it has to present during ‘egg’, the CorrectAnswer ‘m’, and the category is ‘Related’.
each trial and what the correct answer
is. References to variables can be placed in sketchpad items by
placing the variable name between brackets.
- e.g.: a reference to the variable 'Prime' will be [Prime]
In other words: in order to be able to
present different words during each Each time OpenSesame encounters a variable name enclosed in
trial, the words that are currently brackets during the experiment in the sketchpad OS looks up the
value for that specific variable for the current trial in the ‘loop’
shown in the Prime and the Target
scheme. The value from the loop scheme is inserted in the
item (i.e. CHICKEN and egg), have to reference in the sketchpad.
become ‘variable’. - e.g.: if [Prime] is entered in the sketchpad and CHICKEN is the
value for the variable Prime for that particular trial, OpenSesame
fills in CHICKEN. As a result, the word CHICKEN is shown on the
The values of Prime and Target are screen.
taken from the variables in the (‘loop’)
scheme. REMEMBER: OpenSesame is case sensitive!
- e.g.: the reference [prime] will cause an error if the variable
name in the ‘loop’ scheme is ‘Prime’.
Carefully read NOTE 7.
(Tutorial 2) 118
1) a)
1) Select the ‘Prime-On’ item in the
Overview-window
c)
d)
(Tutorial 2) 119
2) Use the same method in order to 2)
make the target (egg) variable.
(Tutorial 2) 120
Now we are going to enter the references
to the correct answer. 3)
(Tutorial 2) 121
NOTE 8 part2:
Watch this short clip
about the registration of Prime Target OpenSesame reads the value
of the variable ‘Correct answer’
(in)correct answers. CHICKEN egg from the Loop scheme :
For this trial = ‘m’ (target is a
word)
correct = 1 correct = 0
(Tutorial 2) 122
Save the experiment and run a
number of test trials to verify that
the experiment runs without
causing any errors (stop the
experiment by using <ESC>).
(Tutorial 2) 123
VII. Defining a data file
The ‘logger’-item defines which variables are saved 1)
in the datafile. (see also FAQs)
a)
Open the ‘Logger’-item.
a) Firstly, uncheck ‘Log all variables’.
b) Open the ‘Variable inspector’-window
by clicking the […] icon in the task bar. A list of
variables that can be saved in the datafile is
shown.
b)
We want OS to save the following variables
(and their values for each trial):
3)
3) Enter a subject number: 1, and click
OK.
(Tutorial 2) 125
VIII. Calculate the mean RT in Excel
1)
After completing the experiment, we are
going to calculate the average RT for each
category (‘Related’, ‘Unrelated’ and
‘NonWord’).
(Tutorial 2) 127
5) The next window requires you to 5)
instruct how columns are separated
in your data file.
In this case, it is by a comma.
a) Check ‘Comma’ and make sure all
the other boxes are unchecked.
b) Now click ‘Next’. a)
b)
(Tutorial 2) 128
6) The next window allows you to 6)
define the data-format (e.g. text or
numeric). We will leave this as is.
Click ‘Finish’.
(Tutorial 2) 129
7) Your data are now imported into 7)
Excel. You can see the 7 variables
that we entered in the ‘logger’-item
in OpenSesame.
2. ‘Category’
Related, Unrelated and NonWord
3. ‘correct ‘
A ‘1’ means that the subject’s
response was correct.
A ‘0’ means that the subject’s
!
response was incorrect.
Always save a datafile as
TIP: You can adjust the column width of Excel Workbook (.xlsx) if
all columns to their content at once by you use formulas to
selecting everything (button above ‘1’ or
next to ‘A’) and then double clicking the
analyze the data. If you
demarcation line between A and B. forget to do this (and save
it as a .csv file instead),
ATTENTION! Save your datafile as an your formulas will NOT be
Excel Workbook
(‘Save as’ ‘Save as type’: Excel
saved! (this happens a lot
Workbook) each year)
(Tutorial 2) 130
8) Type the text as shown on the right 8)
in cells J1-J4 and K1:
9) Click in cell K2
a) Open the ‘Formulas’ tab.
b) Then click the icon ‘More
Functions’.
b)
(Tutorial 2) 131
10) Select ‘Statistical’ and then select
‘AVERAGEIFS’. 10)
11)
11) Now this window appears.
(Tutorial 2) 132
12) The Average_range refers to the
range of cells containing the NOTE 9: In tutorial 1 we selected the cells containing the RTs by
numbers you want to know the a combination of the column name and row number, for
average of (in this case all the RT’s in example G2:G13. A simpler notation is G:G. This selects the
column G): entire column G. Excel is ‘smart’ enough to exclude to the
empty cells (row 14 and below) and the first cell (G1)
Fill out column ‘G:G’ by selecting
containing the variable name response_time_Answer. Only
the whole column; clicking “G” on
top. First read NOTE 9. cells containing numbers are included in the formula.
12)
13) Criteria_range1 are the cells that
contain the criterium-variable
‘Category’. Fill in ‘A:A’ (by clicking
the “A” at the top of Column A).
(Tutorial 2) 135
We have used the RTs for trials in which
the person gave a correct response as 19)
well as those in which the subject’s
answer was incorrect (‘correct’= 0). In an
experiment like this, you shouldn’t
include RTs from incorrect trials in your
calculations, because the subject
probably wasn’t paying attention during
these trials.
(Tutorial 2) 136
22) Enter the AVERAGEIFS-function like
you did before, but now add a second 22)
criterion:
Criteria_range2: E:E
Criteria2: 1
‘Unrelated’ in cell L3
‘NonWord’ in cell L4
24)
(Tutorial 2) 137
25) Calculate the Priming effect in cell L6
using the following function: 25)
“Unrelated” (cell L3)
minus “Related” (cell L2).
(Tutorial 2) 138
Report question 2.4
Repetition example:
prime = cat; target = cat
(Tutorial 2) 139
Tutorial 3
Flanker experiment
140
THE ERIKSEN FLANKER EXPERIMENT
• In tutorial 3, you will design an experiment based on a general description of the method. In
contrast to previous tutorials, this tutorial does not include a step-by-step guide explaining every
single step in OpenSesame and Excel. Instead, you will have to build upon the knowledge and skills
you acquired from previous tutorials.
• The Eriksen Flanker task is a two-alternative forced-choice reaction time (RT) task in which subjects
must correctly identify a centrally presented target stimulus that is flanked by two or more
distracting stimuli. The target is either ‘>’ or ‘<’. The distractors can either be Neutral (--<--),
Congruent (<<<<<) or Incongruent (>><>>) (distractors depicted in red just for illustration
purposes).
distractor target
• Subjects have to respond with their left hand if a target ‘<’ is presented and with their right hand if
the target is ‘>’. RT’s for targets flanked by incongruent distractors are expected to be slower
compared to RT’s for targets flanked by congruent distractors because incongruent distractors are
assumed to interfere with the correct response because incongruent distractors automatically
activate motor-responses in the opposing hand. Additional time is needed to resolve this ‘response-
conflict’, which in turn leads to slower RTs.
• Watch this short video clip about the Flanker Experiment (Note that we used an old version of OS
for demonstrating the Flanker experiment in the video. Two things in the video are bit different
compared to your Flanker experiment: the instruction text and the fixation point (there used to be
a separate fixation item, now the fixation is part of the sketchpad))
(Tutorial 3) 141
Design
(Tutorial 3)
Example of an Incongruent Target-Distractor trial 142
Method information
Stimuli:
• Target-Distractor stimuli (6 possible combinations):
--<-- (= Neutral condition)
-->-- (= Neutral condition)
<<<<< (= Congruent condition)
>>>>> (= Congruent condition)
>><>> (= Incongruent condition)
<<><< (= Incongruent condition)
• Stimulus-color: White on a black background
• Stimulus-location: At the center of the screen
• Stimulus-dimensions: Fontsize 30 px.
• Stimulus-duration: 0 (to ensure OpenSesame
immediately continues to the next
item, in this case the ‘Answer-item’).
(Tutorial 3) 143
Method information
Design:
Three variables in the loop-scheme:
• Stimulus (with six rows: the six Target-Distractor stimuli
combinations: zie vorige pagina)
– Use the ‘-‘, ‘<’ and ‘>’ keys on your keyboard to the
insert the stimulus combinations in the loop-scheme
(e.g. >><>>) see also red instruction on next page
• CorrectAnswer (‘z’ if target is ‘<’; ‘m’ if target is ‘>’)
• Congruency (Congruent, Incongruent, or Neutral)
(Tutorial 3) 144
Method information
Trial-procedure:
1. Each trial starts with a fixation dot at the center of the screen for a duration of 750
ms. Use in the sketchpad as the fixation dot.
2. Then, the Target-Distractor stimulus is shown for 0 ms (use the text-icon of the
sketchpad). Consult the FAQs if do not understand why here the duration is 0 ms.
Before placing the text, you need to uncheck ‘HTML’ (otherwise the stimuli won’t
be shown correctly).
3. The next item is the Answer-item (fill out all input fields correclty) .
4. Then, the screen turns black (sketchpad: duration is 0).
5. Next, there is an ITI between 2 to 4 sec (advanced delay item).
6. Log the variables.
(Tutorial 3) 145
Method information
• Subject instructions:
– Decide, as quickly as possible whether you see a < or > in the center of
the stimulus (press ‘z’ if target is <; press ‘m’ if target is >).
The < will not be correctly displayed (because of HTML code) in the intro
text. Change < in < (including the ‘ ; ‘). For the instruction only, HTML
button should be checked. So the instruction could look like this:
Decide, as quickly as possible whether you see a < or > in the center
of the stimulus (Press z if target is < Press m if target is >).
• Analysis:
– Reaction time (RT) for each Congruency condition (Neutral, Congruent,
Incongruent). Use only the correct trials for calculating the average RT
per condition.
(Tutorial 3) 146
Things to consider (common issues)
(Tutorial 3) 147
Things to consider (common issues)
• For the Logger item: what variables should be saved in order to perform
the analysis in Excel?
– At least save the Congruency variable that you made in the loop scheme (better save
all three loop scheme variables!): Congruency
– The reaction time of the keyboard response item Answer: response_time_Answer
– The variable ‘correct’ (understand what ‘correct’ represents and why you need it, see
tutorial 2): correct
• Did you also made a sketchpad item at the end of the experiment in
which the end of the experiment is declared?
(Tutorial 3) 149
Assignment
(Tutorial 3) 150
Tutorial 4
151
Practice session and Data analysis
What will we be doing in this tutorial?
I. Subject info
II. Practice block
III. Average RT of a group of subjects
IV. Average accuracy of a group of subjects
V. Figures/graphs
(Tutorial 4) 152
The flanker experiment we’ve made in tutorial 3 can be readily used for
gathering data. Still, in tutorial 4 we are going to add some extra elements that
are often used in experiments.
Practice session
Almost all experiments start with a practice session. This consists of a couple of
trials to acquaint the subject with the task. We will be building such a practice
session today.
(Tutorial 4) 153
I. Subject data
1)
We want subjects to enter some
demographic info at the start:
subject number, gender, age,
hand preference and date of the
experiment. We use the
form_text_input item for this.
(Tutorial 4) 154
Now let’s place ‘Subject’ in front of 2)
the ‘Instructions’.
(Tutorial 4) 155
3) Click the Subject item,
- In the ‘Form title’ section, enter:
3) 4)
‘Question 1’
- In the ‘Response variabele’
section, enter: ‘response_Subject’
(this is the name of the variable
under which the subjects answer
to the question will be saved).
- In the ‘Your Question’-window
enther this text: ‘Subject number:’
This is what the subject sees. The
subject can enter the subject
number and this is then stored in 5)
‘response_Subject’.
(Tutorial 4) 156
6) Logger: The answers entered by
the subject will now be saved in 6)
the variables:
- response_Subject
- response_Gender
- response_Age
- response_Handedness
- response_Date
(Tutorial 4) 157
II. Creating a practice session
We want our subjects to be able to practice 1)
the task before actually starting the
experiment. Therefore, we create a short
version of the existing experiment as a
practice session
(Tutorial 4) 158
Data analysis
(Tutorial 4) 159
We will be merging these 5 files first.
Then we perform the calculations on
2)
the merged datafile.
OpenSesame has a handy tool that lets
you merge multiple datafiles of
different subjects: Datamerger.exe.
(Tutorial 4) 160
5) In ‘Source folder’, select the
location of the files that you want 5a)
to merge. (a) Click ‘Select’ and
browse to the Data folder and (b)
click on ‘Select Folder’. (Note: you
select ‘the folder’ in which the
files can be found using ‘Select
Folder’ but you do NOT see the
data files themselves!
Note: 7)
- Use the “.xlsx” extention in order
to easily import the data into Excel
later.
- In the output data file, do NOT
choose the Data folder that
contain your 5 separate files, but
the ‘Tutorial 4’ folder!
(Tutorial 4) 161
8)
8) Click ‘Merge’ to start the
merging. (Remember we do not
see the actual 5 data sets).
(Tutorial 4) 162
10)
10) In Explorer, navigate to the
‘Tutorial 4’-folder on your drive
( + e) and see that a new file
has been added; the merged
datafile. Double click the
Flanker_subjects1-5.xlsx file.
(Tutorial 4) 163
a)
12)
a) We want to calculate the mean 12)
reaction times for congruent,
neutral and incongruent stimuli b)
(first per subject, and
subsequently across subjects)
Create the following headers in
Excel.
i. RT in cell R1
ii. Subject in cell Q2
iii. Congruent in cell R2
iv. Neutral in cell S2
v. Incongruent in cell T2
(Tutorial 4) 164
Again, we’ll be using the
AVERAGIFS function just as you
14)
ALL RT’s used for the average in column K
did earlier for data of one subject
for the Flanker experiment (see
also data analysis of the Priming Only correct responses in column J
experiment). We add a new
criterium: subject number, Only congruent trials in column H
because we want the average RT
for only subject 1.
! Subject numbers in column F
Subject 1 (number 1 in cell Q3)
(Tutorial 4) 165
15) Average RT for subject 1 is 15)
calculated. Check whether the
result is 492.7 ms.
Now we have to do the same for the NOTE 1: A handy Excel feature is that we can drag a formula to
other subjects. If you test a large other cells, applying the same formula to multiple different
number of subjects, don’t try to cells. Later, we are now going to drag the formula for subject
manually enter the AVERAGEIFS 1 (R3) to other subjects (in cells R4, R5, R6, and R7).
function for each subject separately. When you drag the formula from R3 to R4, the cell
We instruct Excel to do this references in the formula are automatically updated in a
automatically by dragging the formula similar way(i.e. increase the reference to the row with 1):
to the other subjects.
Carefully read Note 1 and watch this
short video clip. Cel R3:
Cel R4:
(Tutorial 4) 167
Now let’s do the same for the Neutral
trials. 18)
(Tutorial 4) 168
21) Next up is creating a figure of the 21)
average RT of congruent and
incongruent trials per subject (in
one figure). Select the cells like
done here (R2-T7). Make sure that
you do it exactly like this, otherwise
the graph will be displayed
incorrectly.
21)
22) Choose 2-D Column (Insert 2-D
Column).
When in the figure the data are not grouped per subject
(as shown here) check FAQs for a solution. 169
(Tutorial 4)
Now let’s calculate the average across
all subjects for the congruent, neutral
25)
and incongruent condition separately.
(Tutorial 4) 170
28) The formula from R10 can also be 28)
dragged to S10 and T10 in order
to calculate the overall average
for the neutral and incongruent
condition. Drag formula from cell
R10 to T10. (If you drag a formula
from left to right the references to
columns are increased in the
formula). Result
(Tutorial 4) 171
30) Select a 2-D Column via ‘Insert’;
‘Column’. 30)
You can adjust the figure by using the
‘Layout’ icons on the right of the figure
(visible as soon as you click the figure).
(Tutorial 4) 172
35) The different conditions are
better defined if the bars are in 35)
different colors. We will make the
Incongruent bar red. Click on the
Incongruent bar and do this again
after 2 seconds until you see that
only the incongruent bar has
been selected.
(Tutorial 4) 173
37) Make the Congruent bar green in 37)
the same way. We also drew a y-
RT all subjects
axis (find out for yourself how to
700
do this).
600
500
400
RT(ms)
300
200
100
0
Congruent Neutral Incongruent
Congruency
38)
38) Save the file by using ‘Save as’.
Choose a relevant filename and
select at ‘Save as type’: Excel
Workbook (*.xlsx).
(Tutorial 4) 174
IV. Outliers 1)
(Tutorial 4) 175
4) The figure shows the RTs as dots 4) response_time_Answer
for all trials. You immediately see
that this dataset contains 3 7000
outliers. 6000
5000
Read Note 2.
4000
3000
2000
1000
0
0 100 200 300 400 500
(Tutorial 4) 178
V. Average accuracy per subject and
Example: The participant below gave 1 incorrect response in
across subjects
the Congruent condition (1x a 0 in the column “Correct”),
and 3 incorrect responses in the Incongruent condition.
A participant’s accuracy (ACC) (3x a 0 in the column “Correct”)
indicates how many trials the
participant has answered correctly
(proportion correct). The ACC is always Subject Congruency Correct Accuracy
1 Congruent 1 Congruent 0,90
a number between 0 (all answers
1 Congruent 1 Incongruent 0,70
incorrect) and 1 (all correct). For 1 Congruent 1
example an ACC of .91 indicates that a 1 Congruent 1
participant answered correctly on 91% 1 Congruent 1
of the trials. 1 Congruent 1
1 Congruent 1
1 Congruent 1
The average accuracy can be 1 Congruent 0
calculated by the AVERAGEIFS function 1 Congruent 1
by calculating the average of the 1 Incongruent 1
1 Incongruent 0
‘correct’-column (in this column 0
1 Incongruent 1
means for that particular trial that the 1 Incongruent 0
answer was incorrect) and 1 means 1 Incongruent 1
that the answer was correct. For 1 Incongruent 0
example, if we calculate the ACC over 1 Incongruent 1
10 trials in which 2 answers were 1 Incongruent 1
1 Incongruent 1
wrong (2x a “0”) and 8 were correct
1 Incongruent 1
(8x a “1”), the ACC will be 0.8.
See the example on the right. The Accuracy (=the average over the column “Correct”) is .9
for the Congruent condition (=90% of the trials is correct, 9
out of 10 trials correct) and .7 for the Incongruent condition
(= 70% of the trials correct, 7 out of 10 trials correct).
(Tutorial 4) 179
1)
We’re going to calculate the accuracy
(ACC) per subject and then the overall
accuracy of our group of subjects.
(Tutorial 4) 180
3) Have Excel also calculate the ACC for
3)
the rest of the subjects. Drag the
formula from cell V3 to the other
subjects (and check the numbers).
(Tutorial 4) 181
6) Click cell T10 and drag the 6)
AVERAGE formula to cell X10.
Excel calculates the average
accuracy of all subjects. Again,
check the numbers. Delete the
content of cell U10 (#DIV/0!)
(Tutorial 4) 182
7) Create a graph of the average 7)
ACC (accuracy) per subject (select Chart Title
cells V2 to X7: headers + 800
700
averages). 600
500
400
300
0
1 2 3 4 5
Subject
(Tutorial 4) 183
9) Create a figure of the overall
accuracy of the group of subjects
9)
(=overall accuracy). Select the cell
with the headers and the Chart Title
averages across the subjects and 1.02
create a bar chart. 1
0.98
0.96
0.94
0.92
0.9
0.88
0.86
0.84
0.82
0.8
Congruent Neutral Incongruent
10) Again, adjust the graph.
10)
Accuracy all subjects
1
Proportion correct
0,75
0,5
11) Save the Excel file.
0,25
0
Congruent Neutral Incongruent
(Tutorial 4) 184
Report question 4.1
(Tutorial 4) 185
Intermission
(Tutorial 4) 186
CHECK! Design Flanker Experiment
Subject info (5x)
Logger Logger-item
LOOP scheme:
• 3 variables (columns): Stimulus, Congruency and CorrectAnswer
• 6 possible Target-Distractor combinations (6 cycles = 6 rows)
• Every unique Target-Distractor combination has to be repeated 15 times
(i.e. 6 × 15 = 90 randomized trials in total).
(Tutorial 4) 187
Loopscheme and variables
Loopscheme Sketchpad Presented to subject
(Tutorial 4) 188
Loopscheme and variables
Loopscheme Sketchpad Presented to subject
--<--
(Tutorial 4) 189
Loopscheme and variables
Loopscheme Sketchpad Presented to subject
-->--
(Tutorial 4) 190
Loopscheme and variables
Loopscheme Sketchpad Presented to subject
<<<<<
(Tutorial 4) 191
Accuracy
Loopscheme
1. In the Loopscheme: a variable indicating the correct answer for each trial
(Tutorial 4) 192
Accuracy
Loopscheme
1. In the Loopscheme: a variable indicating the correct answer for each trial
2. In the ‘Correct response’ field of the Keyboard Response item: a reference to the
variable in the loop scheme containing the correct answer
(Tutorial 4) 193
Accuracy
Note that the variable CorrectAnswer in the keyboard response item
is identical to the variable CorrectAnswer you have defined in the loop scheme.
Do not forget the brackets [ ]
Loopscheme
1. In the Loopscheme: a variable indicating the correct answer for each trial
2. In the ‘Correct response’ field of the Keyboard Response item: a reference to the
variable in the loop scheme containing the correct answer
(Tutorial 4) 194
Accuracy
Loopscheme logger
1. In the Loopscheme: a variable indicating the correct answer for each trial
2. In the ‘Correct response’ field of the Keyboard Response item: a reference to the
variable in the loop scheme containing the correct answer
3. In the Logger-item: add the ‘correct’ variable of the Keyboard Response item (here
renamed to Answer) to log whether the response for each trial was correct (=1) or
incorrect (=0)
(Tutorial 4) 195
Accuracy
<<><<
(Tutorial 4) 196
Accuracy
<<><<
(Tutorial 4) 197
Accuracy
OpenSesame compares the
subject’s response with the correct
<<><< response in the loopscheme
(Tutorial 4) 198
Accuracy
OpenSesame compares the
subject’s response with the correct
<<><< response in the loopscheme
(Tutorial 4) 199
Accuracy
OpenSesame compares the
subject’s response with the correct
<<><< response in the loopscheme
(Tutorial 4) 200
Accuracy
OpenSesame compares the
subject’s response with the correct
<<><< response in the loopscheme
correct = 1 correct = 0
(Tutorial 4) 201
Tutorial 5
VARIATIONS ON THE
ERIKSEN FLANKER EXPERIMENT
202
VARIATIONS ON THE ERIKSEN FLANKER
EXPERIMENT
• In tutorial 5, you will design a variation on the Eriksen
Flanker Experiment that you programmed in tutorial 3
You choose one of two variations. The first one is
easier than the second variation. You can reuse the
Flanker experiment of tutorial 3 (the version with the
demographics at the start of the experiment).
(Tutorial 5) 203
Two possible variations on the Flanker
Experiment
1. * Does the Flanker effect decrease if the distance between the target and
distractors increases?
<<><< vs << > << vs << > <<
2. ** Does the Flanker effect depend on the timing between the distractor and
target?
*= easy ** = more challenging
0 ms 50 ms 100 ms
(Tutorial 5) 204
Instructions for distance variation
Does the Flanker effect decrease if the distance between the target and distractors increases?
• Add new stimuli under the variable Stimulus in the loop-scheme (you will end up with 3
(congruent, neutral, incongruent) x 2 (target pointing left, target pointing right) x 3 (distance
1, 2, 3) = 18 unique trials.
• Example of incongruent target-distractor stimuli with three different distances (no space; 1
space; 2 spaces between target and distractors):
<<><<
<< > <<
<< > <<
• Create a new variable in the loop-scheme (e.g. ‘DistanceDistractors’) with three possible
values (1, 2, or 3 for the three distances). We need this variable for data analysis in Excel. So if
there is no distance between target and distractors DistanceDistractors will have value 1, if
there is one space between target and distractors DistanceDistractors will have value 2,
etc….. Do not forget to add the variable DistanceDistractors to the logger!
(Tutorial 5) 205
Instructions for timing variation
Does the Flanker effect depend on the timing of the distractor and target?
• Vary the amount of time between the distractors and the target; present the
distractors slightly earlier than the target.
1) DistractorStimulus:
-- -- or << << or >> >>
Note: a space is inserted where normally the target is located!
2) SOA:
0 or 50 or 100
• The SOA (Stimulus Onset Asynchrony) represents the time in milliseconds between
the start of the distractor stimulus and the target+distractor stimulus.
• You will end up with 3 (congruent, neutral, incongruent) x 2 (target pointing left,
target pointing right) x 3 (SOA 0, 50, 100) = 18 unique trials
(Tutorial 5) 206
Instructions for timing variation
(Tutorial 5) 207
General instructions
Please keep the following points in mind when programming the experiment:
(Tutorial 5) 208
General instructions
Please keep the following points in mind when programming the experiment:
• Before you run the experiment on your first subject, run the entire experiment
once (i.e. on yourself) and calculate the average RT and ACC for each condition
(only include correct trials, without outliers). Note: Only proceed with testing if
this initial data analysis is in order!
• When you have completed data collection from 5 subjects, merge your data files
using the data merger (see tutorial 4). Note: Make sure your merged data file does
not include data from practice blocks!
(Tutorial 5) 209
General instructions
Please keep the following points in mind when programming the experiment:
• After you ran the experiment on 5 subjects you end up with 10 data
files:
• 5 practice session data files
• 5 experimental data files
• Make a back-up of all data files and make sure that only the 5
experimental data files are in one (data) folder (which should not
contain any other files because then the process of merging the data
will fail)
• Do not open these csv files in Excel and do not save these individual
files in Excel (because if you do, the data cannot be merged by the
datamerger)
(Tutorial 5) 210
Tutorial 6
211
To do List
4
Note! Make sure you save the merged
file as an excel workbook in Excel right 5
away to prevent losing all your formulas!
6
(Tutorial 6) 213
Data analysis
1. Create a scatter plot of all RTs (select the entire RT
column/insert/scatter plot). Look for outliers.
2. Determine the upper and lower bound for outliers based on the
scatterplot of all RTs. Check also FAQs.
3. Calculate the average RT (correct trials only) and average ACC for
each condition for each subject (without outliers!)
4. Calculate the average RT (correct trials only) and average ACC for
each condition across all subjects (without outliers!)
(Tutorial 6) 214
Data analysis
Organize your Excel as follows (for the timing experiment it is SOA 0; SOA 50 and SOA
100 instead of Distance 1; Distance 2; Distance 3):
Note that we have an extra variable compared to the original Flanker Experiment in
tutorials 3 and 4: either Distance or SOA. So, you must include this in your
AVERAGEIFS function. Example for the distance experiment in upper left cell (P4):
distance 1, congruent condition, subject 1:
Distance = 1; Congruency = Congruent, Correct = 1, Subject = O4 (for this example
Excel file), RT > 150, RT < 2000 (your upper limit can be different, depending on the
outliers in the scatter plot)
(Tutorial 6) 215
Research report own experiment
Contents (4 chapters):
1. Introduction (research question, expectations)
2. Methods (participants, stimuli, procedure)
3. Results
4. Discussion/Conclusions (results vs expectations)
(Tutorial 6) 216
Research report own experiment
Procedure
b) Describe what a typical trial looked like (stimulus
duration, ITI, etc). Describe all items in the trial-
sequence in chronological order (e.g. “Each trial
began with the presentation of a fixation dot for 750
ms, next… etc…”)
c) Describe the design. What was varied (describe the
conditions)?
d) How many trials for each condition and in total were
presented to each subject?
(Tutorial 6) 217
Research report own experiment - 7 figures
<< > <<
Figure 1: example of some stimuli
Make a nice figure showing some of the different conditions so
that we know what congruent, neutral and incongruent stimuli
are and what the different distances are (for the SOA experiment
see tutorial 5 for an example)
(Tutorial 6) 218
Research report own experiment - 7 figures
Results (see tutorial 4)
Figure 3 (scatterplot): Scatterplot including all the RT’s: used for outlier detection
Figure 4 (bar chart): Average RT for each condition for each participant.
Figure 5 (bar chart): Average ACC for each condition for each participant
Figure 6 (bar chart): Average RT for each condition across all participants
Figure 7 (bar chart): Average ACC for each condition across all participants
Figure 4*
*When in figures 4 and 5 the data are not grouped per subject Figure 6
(Tutorial 6) (as shown here) check FAQs for a solution. 219
Hand in 3 files
(Tutorial 6) 220
Grading of the report
221
Grading of the report
222
Grading of the report
600
INCORRECT
• What are major 500
figures? 300
600 INCORRECT
500
400
figures 100
0
Distance 1 Distance 2 Distance 3
223
Grading of the report
INCORRECT
• What are major
errors in the
figures?
– Not specified
what the bars
(conditions)
represent
INCORRECT
– No legend, no x-
axis title, no y-axis
title
224
Experimental Skills
Direct Links OpenSesame:
Duration 0
Insert variable references
Logger item
Accuracy explanation concept
Accuracy in OpenSesame (variable correct)
Merging data (DataMerger)
225