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’

Slides:



Advertisements
Similar presentations
Introduction to Excel This class is “HANDS-ON” you will need to open up an excel spreadsheet and do examples as you go along. Students will be able to.
Advertisements

(MICROSOFT EXCEL). Is a spreadsheet application designed to take advantage of the windows graphical interface MICROSOFT EXCEL.
Paul Mundy Microsoft Excel Tips and tricks.
CS1100: Computer Science and Its Applications Building Flexible Models in Microsoft Excel.
Microsoft ® Office Excel ® 2003 Training Enter formulas CSNT, Inc. presents:
 Microsoft Excel is an electronic spreadsheet.  As with a paper spreadsheet, you can use Excel to organize your data into rows and columns and to perform.
Microsoft Office XP Microsoft Excel
Start up Excel. Notice that each row has a number, and each column has a letter. Click in A1 (column A, row 1), and type in a title for your data.
Microsoft Excel. Click on “Start,” then “Microsoft Office Excel.”
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
Lab 1: Excel as Calculator. Let’s get started! Open a new Excel spreadsheet. If necessary, hit to maximize the sheet. You may need to move the top bar.
Introduction to Microsoft Excel 2010 Chapter Extension 3.
1 CA202 Spreadsheet Application Combining Data from Multiple Sources Lecture # 6.
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
Exploring Office Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1 – Introduction to Excel: What is a Spreadsheet?
Loading Excel Double click the Excel icon on the desktop (if you have this) OR Click on Start All Programs Microsoft Office Microsoft Office Excel 2003.
Understanding Microsoft Excel
Using Microsoft Office Excel 2007
EXCEL Spreadsheet Basics
AoN Session 2. Highlight a number of cells at the top of the page. Then with the cursor over these cells right click. Scroll down to the format cell.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Microsoft Excel 2007 Introduction to Spreadsheet Programs
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms Psych 209.
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
Using Excel To help with data. Excel is a spreadsheet program that can interface with Word, or PowerPoint A spreadsheet program has cells (little blocks)
Computer Literacy BASICS
Notes to Teachers: 1.Make sure each student has his/her file open from the previous class “(student name).xlsx”. 2.A vocabulary list is included on last.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
Microsoft Excel Spreadsheet Blue Section Project 2.
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Microsoft Excel Spreadsheet Review. Templates  Templates can be produced for the following elements:  Text and Graphics  Formatting Information – Layouts,
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
Technology ICT Core: Spreadsheets. Spreadsheets A spreadsheet is a table consisting of Rows and Columns Where a row and a column meet, the box is called.
Microsoft ® Office Access ® 2007 Training Datasheets II: Sum, sort, filter, and find your data ICT Staff Development presents:
CONSTRUCTING RELATIVE & CUMULATIVE FREQUENCY DISTRIBUTIONS using EXCEL & WORD.
Course ILT Spreadsheet structure Unit objectives Enter labels and values; select a range; replace cell contents; undo or redo actions; and move, copy or.
Ch.1. Spread Basics I. Goals: 1)Basic purpose of a spreadsheet program 2)Various components of the Excel screen 3)Navigating the worksheet 4)Built-in functions.
© 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.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Microsoft Excel PHCL 476 Part I Hadeel Al-Kofide MS.c 1.
Lesson 1 – Microsoft Excel * The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
Excel Screen Slide 1 Column Row Cell Formula bar Column heading Row heading Worksheet tab.
1. 2 Word Processing Word Processing is writing words and sentences on the computer. It is easy to change or move text in a word document. People use.
Introduction to Spreadsheets Part 1 The ‘Quick’ and ‘Easy’ guide to using Microsoft Excel.
Spreadsheets: Part I Creating a Worksheet in MS Excel
Spreadsheets What is Excel?. Objectives 1. Identify the parts of the Excel Screen 2. Identify the functions of a spreadsheet 3. Identify how spreadsheets.
Remember…  Please do not…  Change the background.  Change the icons.  Change the font. Use Times New Roman (size 12 font).  Use color. We cannot print.
Click on the running man to start the experiment (this will take longer than the Stroop task you ran last week)
 The term “spreadsheet” covers a wide variety of elements useful for quantitative analysis of all kinds. Essentially, a spreadsheet is a simple tool.
Computer/LMS Access To log onto one of these computers: Enter your Username, for example: 2014BNS099 followed So a complete login.
Lesson 1: Learning Worksheet Fundamentals Microsoft Office Excel 2003 Lesson 1 Learning Worksheet Fundamentals.
International Computer Driving Licence Syllabus version 5.0
Formulas and Functions
Created by Stacey Wilson
Formatting a Worksheet
TDA Direct Certification
Microsoft Excel.
After completing this lesson, you will be able to:
Microsoft Excel.
Microsoft Excel A Spreadsheet Program.
Microsoft Excel 101.
A few tricks to take you beyond the basics of Microsoft Office 2007
Microsoft Excel 101.
Technology ICT Core: Spreadsheets.
Microsoft Excel 101.
Microsoft Excel 2007 – Level 1
Mr Watson’s Introduction to Spreadsheets
By the end of the lesson, I want you to be able to say…
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
Presentation transcript:

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’ file (or one for each loop in your experiment). You can’t read this but it’s good for us to analyse with scripts A ‘log’ file that provides lots of detail but not easy to analyse (open in excel to have a look) To find these Go to the folder where you saved the experiment There will be a new folder inside that (next to the psyexp file) called “data” Inside the data folder will be a Microsoft Excel file named by your username and the date Copy the xxxxxxx_trials.psydat file (for our batch analysis) to; class_share/C81MPR/lab1_stroop

Using Excel Having saved that copy to the class_share folder go back to the Excel (xxxxx.xlsx) file and open it (e.g. with double-click) That opens Microsoft Excel, a spreadsheet application, which allows you to work with data in a large table format to perform simple analyses To analyse your data today you could simply use a calculator but, in the long run, learning to use Excel will save you a lot of time!

Worksheets In the Excel file that was saved by PsychoPy you’ll find two worksheets (see the tab at the bottom), one for the practice trials, one for the main trials Select the worksheet for the main trials

PsychoPy data files NB these screenshots come from Excel 2007 (Windows) Under Mac and other versions of Excel the instructions differ slightly In the data files each row represents a different trial type. We have 12 trial types here. The columns give information about the stimuli and the responses. The top row tells us what is in each column

PsychoPy data files Some of the information is about the parameters that we used to control the stimuli

PsychoPy data files This column tells us how many trials were run of each type.

PsychoPy data files This row is too narrow for the title to be fully visible, but if you click on that cell it reads, resp.corr_mean. This row gives us the fraction of correct answers

PsychoPy data files The next header says resp.corr_raw and gives 5x12 values (5 repeats of 12 conditions). A zero means the subject got the answer wrong that trial, a one means they got it right.

Analysing the Stroop data For the Stroop task we want to know about reaction times in the different conditions If you look way over to the right you’ll find a column called resp.rt_mean (and resp.rt_raw) which show the reaction times Let’s copy the congruence and the resp.rt_mean columns to be closer together

Copying a group of cells Select the cells specifying the congruence, including the header (click on the top cell and then press Shift and click on the bottom cell that you want) Now go to >Edit>Copy or press Ctrl-C Go to cell E16 and paste Now also copy the cells that give the rt_mean next to these ones to get this

Sorting cells Select the cell ‘congruent’ (E16) Find the Sort button in the toolbar (you may need to select the Data tab first): Your data should now be sorted by congruency Caution: whenever you sort data make sure you can see which data have been sorted – if you have a subset of data selected then only that gets included in the sort and your rows won’t correspond up any more!!

Moving cells To move the incongruent RTs into a different column: Select the RTs for that condition hover your mouse over the edge of the selection so it changes to this symbol when you see the ‘move’ symbol you can drag that cell up and to the right to align with congruent (if it goes wrong just press Ctrl-Z to undo)

Relabel your columns (You’d be amazed how easy it is to lose track of your workings if the labels aren’t right)

Taking the average Calculate the mean of the congruent RTs (Excel calls this the average) Click on cell F24 Insert the ‘average’ formula: On Windows, select the ‘Formulas’ tab, then press the Insert Function button On a Mac go to the menu >Insert>Function

Taking the average A dialog box appears where you need to double-click the function you want (AVERAGE) This brings up a second dialog, where you can select (or type) the cells you want to take an average of We want the range F16:F22 (Excel may have guessed this already)

Excel makes life easy When you press OK, the mean should have been inserted in the cell You could have done that on a calculator, but this is quicker, especially if you have lots of values Even better though, see what happens when you copy that cell (F24) and paste it into cell (G24) Excel calculates that average as well!

Excel relative references How did that work?! When you entered the range of cells for the first average, you actually entered a ‘relative reference’: Excel interprets the range not as F16:22 but as “the 6 cells above me, one cell away” When that is copied and pasted somewhere new it looks at the same relative location for the formula If we had typed $F$16:$F$22 we would have got fixed locations (absolute references) for those cells instead

Other useful Excel functions Excel allows you to calculate lots of different things in a similar way, using insert function: COUNT (the number of cells containing a value) SUM MODE MEDIAN STDEV (std. dev. Using N-1 normalisation) STDEVP (std. dev. Using N normalisation) CORREL (coefficient of correlation) … The difference in the two STDEV functions will be more clear when you cover measures of spread in statistics

Now… Hopefully you can now see the average response time across all your congruent and incongruent trials. Was there a difference between them?