I wonder if someone can help me, I'm sure this is possible.
I have a large bunch of research data in an excel spreadsheet. The experiment involves tracking eye movements of people looking at targets that appear on a screen in various places. Each row entry on the excel spreadsheet basically gives me the x and y co-ordinates of where the eye fixated for a period of time, and the beginning and end time (and duration) of each fixation of the eye. It also gives me the x and y co-ordinates of where the target was. (the participants in the experiment were either healthy elderly people, or elderly people with different visual problems).
Each row is labelled firstly with the participant label (i.e. each partipant in the experiment is assigned a code number) and secondly with the experiment number (which changes every time a new target appears). The problem is that for a given participant and experiment number, there may be anything from 1 to 12 rows of data (i.e. 1 row if their eye fixed only in one place whilst the target was on the screen, but more if their eye fixed in numerous places).
I want to create some variables for each experiment for each participant (i.e. participant 12 doing experiment 3) to include things like what were the co-ordinates of the first eye fixation after the target appears. Where did the eye fix for the longest. What was the location of the fixation that was closest to the target.
Can I do something like this using a pivot table, cross tabulating participant label against experiment number. I can create a pivot table for instance to give me the sum of the x co-ordinates for the eye fixations, but that's as far as I've got. Can I do something clever for the results in the pivot table like put in the x eye co ordinate assocated with the longest duration of fixation, or just the x eye co-ordinate for the first fixation of each experiment
Many thanks for any help with this..
Matt
Bookmarks