Exploring Methods in Eye Tracking Data Analysis with Python

Previously, I analyzed this batch of eye tracking data using R, but the results, especially regarding the areas of interest (AOIs), weren’t as striking as I hoped. So, I turned to Python, eager to unearth more information from the data and, of course, to buff up my Python data handling skills.

The Toolbox 🛠️

My preprocessing toolkit was pretty standard yet powerful, featuring the likes of:

  • numpy
  • matplotlib
  • pandas

Since my results included both categorical data (like word segmentation choices in different conditions) and eye movement data, I had to approach the visualization of each type differently.

Visualizing the Data 📊

With Matplotlib and Seaborn, I embarked on a visual exploration to tease out patterns and anomalies. Here’s a sneak peek into my approach:

  • For categorical data: I grouped the data based on experimental conditions or other variables to analyze the distribution of categorical outcomes.
  • For continuous data: I focused on grouping by experimental conditions and calculating the distribution of outcomes within these groups.

The Power of Plots

I employed box plots and bar charts, which were incredibly helpful in spotting trends and outliers in fixation durations and saccadic movements. These insights are like gold dust for understanding the cognitive processes in language comprehension.

The Twist in the Tale 🌀

Despite my efforts, hypothesis testing and linear mixed models analysis of AOIs didn’t reveal significant differences in eye movement patterns. So, it seems I’ve got more digging to do, either by delving deeper into the preprocessed data or by taking the raw data for a fresh spin in Python.

Until next time, keep exploring and stay awesome! 💫


About Me

Hello and welcome! I’m excited to invite you into my journey as I navigate the intersections of Psychology, Linguistics, and Cognitive Science. I’m currently aspiring to pursue a PhD in these fields. For a more detailed look at my academic background and interests, please visit my personal page.

Why Did I Start This Blog?

Starting this blog serves multiple purposes for me. On one hand, it’s a platform to document my intellectual journey as I explore the fields of Cognitive Science, Psychology, and Linguistics. I’ll be sharing research updates, academic insights, and my own interpretations of seminal works in these fields. On the other hand, this blog will function as a more informal space where I can share thoughts on life in general, my interests outside academia, and anything else that captures my attention. Lastly, I see this blog as an extension of my academic portfolio, offering a nuanced view into the work I am passionate about and contributing to my PhD application.

How To Get Involved?

Please feel free to comment on my posts, share them with your network, or reach out to me on GitHub, LinkedIn, or Twitter. I’m always open to collaboration and meaningful discussions.

The Journey Ahead

Thank you for taking the time to get to know a little about me. I look forward to sharing more as I take the next steps in my academic and personal journey. Stay tuned!

Thank you for stopping by, and I hope to engage with you all soon.