Published November 23, 2026 | Version 1.1.0

Analysis Code for Wearable Eye-Tracking Assessment of Ocular and Oculomotor Dynamics During Repeated Basketball Free Throws

  • 1. ROR icon Universidad Politécnica de Madrid
  • 2. ROR icon Universidad Complutense de Madrid

Description

This repository contains statistical analysis code and supporting documentation associated with the manuscript “Wearable Eye-Tracking Assessment of Ocular and Oculomotor Dynamics During Repeated Basketball Free Throws”.

The study examined wearable eye-tracking measurements collected during repeated basketball free throws, including pupil diameter, eyelid aperture, blink occurrence, fixation rate, and saccade rate. The analytical sample comprised 936 free-throw attempts from 32 basketball players.

The repository contains the original R analysis scripts and supporting documentation. It does not include the additional Python analyses or participant-level data.

Participant-level data and original eye-tracking recordings are not included in this code deposit because their eligibility for public sharing requires separate ethical and data-protection review.

Version 1.1.0 update: This version adds the Python scripts used for the additional post hoc robustness analyses reported in the manuscript, including alternative mixed-effects model specifications, sensitivity analyses excluding short pre-release intervals, Poisson and negative-binomial count models, and adjustments for model-derived eye-position coordinates. The original R analysis scripts are retained. The Python scripts require the corresponding analytical datasets, which are not publicly distributed due to participant confidentiality and ethical considerations.

Files

Sensors_Python_Posthoc.zip

Files (42.1 kB)

Name Size
md5:88518e57136ba4aa057b920037136987
6.8 kB Preview Download
md5:83140c169dfacd75ffdcf6d3c13ec77b
35.3 kB Preview Download

Additional details

Software

Programming language
R , Python