logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

write a program that can help you prepare to analyze a set of data collected from a cognitive psychology study using either eye-tracking or brain activity (EEG) observations

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Assignment Instructions

There are two main parts to the Project. The first part is to write a program that can help you prepare to analyze a set of data collected from a cognitive psychology study using either eye-tracking or brain activity (EEG) observations. The second part of the project is to create an experiment using PsychoPy that could produce the same data file you analyzed for the first part

PART ONE

Write a program that can help you prepare to analyze a set of data collected from a cognitive psychology study using either eye-tracking or brain activity (EEG) observations

Write a program that can summarize the data collected for each trial, such that your new data file has only 1 row of data for each trial. Your summary data file should have the following comma-separated header:

Participant        Trial     Stimulus            RT       Error    MW

Plus, one pair from:

Total Eye Distance                                Blinked

Left_Mean_Alpha                                Right_Mean_Alpha

Left_Mean_Beta                                  Right_Mean_Beta

Left_Mean_Delta                                 Right_Mean_Delta

Left_Mean_Gamma                              Right_Mean_Gamma

Left_Mean_Theta                                 Right_Mean_Theta

Your program will need to:

  1. Ignore data for trial numbers < 1 entirely
  2. Ignore eye position and EEG data recorded after 1150 ms for any given trial
  3. Output the participant number, trial number, stimulus, response time, error status, mind wandering status (if known), and either some eye tracking data or EEG data.
  4. Get response times (RT) for each trial based on the time recorded for a ‘press’ observation
  5. Calculate and output whether the trial response was an error or correct, based on the presence of a ‘press’ observation, where an error is either pressing when the stimulus is a 3 or not pressing when it isn’t a 3. Errors should be coded as 1 and correct responses as 0.
  6. Output ‘mind_wandering’ or ‘not_mind_wandering’ observations as a number instead, with mind wandering status coded as 1 (mind_wandering) and 0 (not_mind_wandering), otherwise leave this cell blank
  7. Calculate: a. The mean alpha/beta/delta/gamma/theta EEG frequency power values for each trial, as you prefer, for the left and right frontal lobes OR b. Total eye distance travelled during the trial and whether a blink occurred, where blinks are defined as an (x, y) coordinate of (0, 0) for more than 40 ms in a row
  8. If you use a pandas data frame to output your summary data CSV file and it outputs with a data frame row number, your header should also include ‘ROW’ prior to the ‘Participant’ heading.

Finally, using either jamovi or a separate Python program, you will need to analyze this data file to determine whether either of the Eye/EEG measures you chose to output above show significant differences based on whether an error was made or not, only for trials where the stimulus is a 3. Accordingly, for Part 1 you will need to submit each of the following:

  1. A Python program that produces your summary data file
  1. The summary data file you produced
  1. Either a jamovi file with your analysis showing or another Python program conducting your analysis

PART TWO

The job will be to recreate a version of the Sustained Attention to Response Task (SART, for short) that includes 18 practice trials 288 experimental trials, each of which consists of a stimulus number displayed for 250 milliseconds and then a mask image for 900 milliseconds, such that each trial lasts a total of 1150 milliseconds. After displaying some simple instructions, the program will run the practice trials and then pause to allow the participant to ask questions, before continuing with the 288 experimental trials. The required order for the stimuli will be provided, as will some custom code that needs to be inserted into your program in order for it to simulate receiving either eye or EEG data. This program will need to create a CSV data file like the one you analyzed in Part 1, in addition to the data file PsychoPy will create by default. Although we are doing it backwards, this project will simulate the process of completing an entire study, from creating a task to collecting and analyzing the data

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

720 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

781 Answers

Hire Me
expert
Husnain SaeedComputer science

661 Answers

Hire Me
expert
Atharva PatilComputer science

826 Answers

Hire Me