Lab 2: Sternberg (1966) How we search our memory

Slides:



Advertisements
Similar presentations
C81MPR Practical Methods (Lab 2) Jonathan Stirk & Danielle Ropar.
Advertisements

Whats New in Office 2010?. Major Changes in Office 2010 The Office Ribbon, which first made its appearance in Office 2007, now appears in all Office 2010.
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Copyright 2003 Peter McDevitt 1 Microsoft Excel 2002 Lecture 3 – A Professional Looking Worksheet.
Right-click on the colored box and remove it.
Automating Tasks With Macros
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Control processes The kinds of mental processes carried out on a memory 3 main types –Encoding processes –Retention processes –Retrieval processes.
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
Chapter 3 Working with Symbols and Interactivity.
Introduction to LabVIEW
1 iSee Player Tutorial Using the Forest Biomass Accumulation Model as an Example ( Tutorial Developed by: (
Lab 9 – User Forms Design. User Forms What are user forms? –Known as dialog boxes –Major ways for getting user input An example of using user forms: Monthly.
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
MICROSOFT WORD GETTING STARTED WITH WORD. CONTENTS 1.STARTING THE PROGRAMSTARTING THE PROGRAM 2.BASIC TEXT EDITINGBASIC TEXT EDITING 3.SAVING A DOCUMENTSAVING.
Analysing your data PsychoPy saves several data files for different uses: A Microsoft Excel (spreadsheet) file that you can use for most analyses A ‘psydat’
Spreadsheets in Finance and Forecasting Presentation 9 Macros.
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
1. Chapter 4 Customizing Paragraphs 3 More Paragraph Changes Highlight a paragraph in Word by applying borders and shading. Sort paragraphs to control.
Building the experiment in PsychoPy
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
First year practicals Lab 5: Mental Rotation.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Click on the running man to start the experiment (this will take longer than the Stroop task you ran last week)
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
Introduction to: Python and OpenSesame FOR PROS. OpenSesame In OpenSesame you can add Python in-line codes which enables complex experiment. We will go.
© Ms. Masihi.  A Web page contains text and images that convey specific information to viewers.  To create a new web page, open Dreamweaver and select.
Photoshop CS6 – Nelson Unit 3: Photoshop CS6. Objectives Define photo editing software Start Photoshop and view the workspace Use the Zoom tool and the.
Excel Tutorial 8 Developing an Excel Application
June 17, 2009 Office 2007 Tips & Tricks.
Tutorial 4 – Desktop Publishing a Newsletter
Creating a Presentation
Computer Literacy BASICS
Getting Started with Adobe Photoshop CS6
Creating, formatting, and editing graphs using Google Sheets
Customizing the Toolbar
Shelly Cashman: Microsoft Word 2016
Introduction to Microsoft Access
IMPORTANT If you haven’t yet completed the task in which you measured your digit ratio and completed the BART task, then please stop reading This set of.
3.01 Apply Controls Associated With Visual Studio Form
Accsess 2013 Creating Database.
3.01 Apply Controls Associated With Visual Studio Form
Tutorial 1 – Creating a Document
An Introduction to Computers and Visual Basic
Reports: Pivot Table ©2015 SchoolCity, Inc. All rights reserved.
Microsoft Excel 2003 Illustrated Complete
Microsoft Excel 2003 Illustrated Complete
Chapter 2/Module 2: Computer and managing files
Learning to program with Logo
CERNER MILLENNIUM Letters & Faxing
MODULE 7 Microsoft Access 2010
Tutorial 3 – Querying a Database
ITEC 1001 Test 5 Review.
Benchmark Series Microsoft Word 2016 Level 1
SAMPLE PRESENTATION Company Name presents PowerPoint Basics
DREAMWEAVER MX 2004 Chapter 3 Working with Tables
Unit 11 – PowerPoint Interaction
Inserting Pictures and Symbols in Word documents
Word offers a number of features to help you streamline the formatting of documents. In this chapter, you will learn how to use predesigned building blocks.
Introduction to TouchDevelop
Working with Symbols and Interactivity
KIDS IEP & DATA MANAGEMENT TRAINING
An Introduction to Computers and Visual Basic
Using Templates and Library Items
European Computer Driving Licence
Guidelines for Microsoft® Office 2013
Welcome To Microsoft Word 2016
Microsoft Excel 2007 – Level 2
Presentation transcript:

Lab 2: Sternberg (1966) How we search our memory First year practicals Lab 2: Sternberg (1966) How we search our memory

Objectives of this class In this class you will learn about; The key components of an experiment in PsychoPy’s Builder view Sternberg’s study of short-term memory

PsychoPy basics There are two PsychoPy ways to create experiments in PsychoPy; you can write scripts in the Coder view that control the presentation of your stimuli you can create an experiment visually in Builder view and use that either to run the experiment or to generate a script that you can then modify in Coder

PsychoPy Builder The builder view shows how an experiment runs. It has Components that make up Routines that are combined in a Flow NB. This screenshot was taken under OS X running PsychoPy 1.62. The app will probably look slightly different on your machine.

PsychoPy Routines Routines control the precise timing between Components (e.g. stimuli). The Routine shown here has a text stimulus and records a keyboard response. This is all that’s needed for a single trial in the Stroop task. Experiments can have many Routines,

PsychoPy Flow The Flow in PsychoPy determines the way Routines will be combined and/or repeated. The Flow can contain loops controlling how a Routine (e.g. a trial) is repeated, both in terms of how many repeats are made and how things change from one trial to the next Experiments can have many Routines,

PsychoPy controls The top bar of PsychoPy shows some basic controls. Most buttons and entry boxes in PsychoPy will give you a ‘tooltip’ if you hover the mouse over them. Most dialog boxes have a help button too that will take you to more information online. Experiments can have many Routines,

PsychoPy Components The Components in PsychoPy are things like stimuli and response devices (e.g. keyboard) that make up the experiment. When you click on the icons on the right a Component will be added to the current Routine. They each bring up a dialog so you can configure them…

Patch Component This allows you to present a patch of something; a picture, or a piece of ‘texture’ The image setting allows you to specify an image file to use or will present a sinusoidal ‘grating’ otherwise The mask allows you to set a shape that the image will be seen ‘through’ e.g. a circle or a Gaussian window The sinusoidal ‘grating’ default is because PsychoPy was originally designed by a vision scientist, and they use that sort of thing all the time!

Common settings Many of the settings are used by lots of Components (including the Patch): start time (seconds) – the time after the start of the Routine that the stimulus will first appear duration (seconds) – the length of time it will last. If blank then the Component will go on indefinitely units – this determines how the size and position are specified (see the online doc for further info) pos – the position on the screen in the given units. [0,0] is the centre of the screen size – the size of the stimulus ori (degrees) – most visual stimuli can be rotated on the screen

Keyboard Component Receive input from the keyboard Also has a startTime and duration (e.g. you may not want the subject to respond before the stimulus appears) If allowedKeys is blank any key can be used You can choose what you want to store about the keys and whether you want the Routine to end when a key is pressed Response time (if needed) is taken from the startTime NB. If you want to storeCorrect (i.e. store whether the subject pressed the correct key) you need to tell PsychoPy what the ‘correct’ key is

Text Component For displaying text on the screen letterHeight is used here instead of size For color you can give a named colour from this list or you can specify a ‘hex’ value (e.g. #EE3A8C for a strong pink) or many other ways You don’t need to set the colorSpace if using names or hex values ‘This list’ refers to the X11 color names wikipedia entry: http://en.wikipedia.org/wiki/X11_color_names Only need to set color space if using these: RGB e.g. $[-1,1,-1] RGB256 e.g. $[0,255,0] DKL and LMS are special spaces requiring a calibrated monitor

Code Component The code component is a little more advanced It allows us to create custom variables that can be used by other components These can be set at different points in the experiment and used by components with settings starting “$” e.g. we could set some text to appear at pos=$stimLoc and the code shown here will make it random on each repeat of the Routine NB the Code Component must be HIGHER than anything in the Routine that wants to use it. You can move things up and down the Routine by right-clicking them

Sound Component No prizes for guessing what a Sound Component does In the sound setting you can specify; a note name (e.g. A, Bfl, Csh) a frequency in Hz (e.g. $440) or a filename for a wav, mp3 or mp4 file. If the sound is a file the duration is ignored

PsychoPy and the $ What was the $ for? most PsychoPy inputs are interpreted as text the $ symbol announces that this is not text that’s important if you need to specify that the value is; a variable name a number a list of values (e.g. for RGB colors, $[1,-1,-1] refers to red) What if I want to insert an actual dollar symbol in text!? e.g. I want to print, “$5.00” precede the dollar with a backwards slash: \$5.00

Component names In PsychoPy almost everything you create needs to be given a name The name must; be unique not contain spaces, punctuation (except underscore _) or mathematical symbols e.g. if you have a Routine called ‘feedback’ you can’t have a Text Component called ‘feedback’

Routines You can have as many Routines as you like (they also need names, following the same rules) Create them by going to the menu item >Experiment>New Routine… You can switch between your Routines by selecting the different tabs If you want to edit a Component that you’ve added, click on it with the mouse If you want to remove a Component right-click on it and select ‘remove’

Using the Flow You can combine Routines in the Flow panel To add one of your Routines to the Flow (you must create it first) click on “Insert Routine” in the Flow panel and select where you want it to go If you want something to repeat (e.g. to run multiple trials) then you can “Insert Loop” and select the points where you want to start/finish loops can span across multiple Routines loops can nest (you can have loops around loops) Loops and Routines can also be edited or removed form the Flow by clicking or right-clicking

Setting trial types (conditions) Usually when you repeat trials you want things (‘parameters’) to change from one to the next This is handled by the Loops that you set in the flow When you insert (or edit) a Loop you can can select a trialListFile in the dialog box This file is an Excel (2007) file that has one row for each type of trial and one column for each parameter Parameters can then be accessed by components using $ and can change on each repeat through the loop

Sternberg (1966)

Sternber’s (1966) study of short-term memory (STM) Saul Sternberg was trying to understand how memory is accessed by measuring reaction times during memory tasks In the study we will look at today, the aim was to determine; whether we search our STM in a serial or parallel fashion whether the search stops when the desired item is located (a ‘self-terminating’ search), or whether it continues to check all available items (an ‘exhaustive’ search)

Sternberg’s Task The participant is given a list of from one to six digits These digits are called the memory set The participant is allowed to rehearse this list A few seconds later, the participant sees a single digit This number is called the probe The participant must indicate whether the probe digit is or is not a member of the memory set

Serial vs. Parallel Search If you search serially, then the more items there are to search, the longer it should take. RT should increase as the memory set size increases. If you can search all the items at once, it should not matter how many there are RT should be the same for any memory set size (up to the capacity of STM). Does RT increase with memory set size or not?

Exhaustive vs. Self Terminating Search If the search is serial then we can also investigate whether it is self-terminating Negative probe trials require an exhaustive search always; the participant has to check every item to confirm that the target was absent On positive probe trials we might also search the set exhaustively, in which case the –ve and +ve probe trials will have equal RTs Or the search could self-terminate, in which case RTs will be less for the conditions where the probe was actually present

Predictions Serial, self-terminate Parallel search Serial exhaustive Target absent Target present Serial, self-terminate (Should be quicker if target is present, because stop searching) Set size (N) RT (ms) Set size (N) Parallel search (All trials equally fast) Serial exhaustive (If always inspecting every value, then it doesn’t help that we found target before end!) Set size (N)

Sternberg in PsychoPy You can see the main timing of the Sternberg trials above. A set of letters will follow a fixation target, then a pause, then a probe and response

An example: Sternberg Then, from the Flow, you can see how the Routines fit together Note that; the trial Routine gets used in multiple places (if the routine is identical it can be reused) the pracTrials loop spans two Routines; a trial, then feedback, then loops back for the next trial

Sternberg trial types The Excel file specifying the (practice) trial parameters looks like this (The one for the main trials is similar but with more different sets of numbers)

Examining component properties Select the trial Routine and click on text icon for the presentSet component to see its properties. This is what presents the set of numbers to be remembered The text to be displayed comes from the numberSet column in the Excel file attached to the loop It will be updated every repeat of the Routine

Examining component properties Now click on the keyboard icon next to resp to see the properties of the keyboard response input. The corrAns is also stored in the Excel file specifying the parameters Give the subjects unlimited time but store RT, starting from the moment the stimulus is presented (t=4.7sec)