Hostname: page-component-89b8bd64d-dvtzq Total loading time: 0 Render date: 2026-05-09T21:42:38.888Z Has data issue: false hasContentIssue false

Comparing Functional Trend and Learning among Groups in Intensive Binary Longitudinal Eye-Tracking Data using By-Variable Smooth Functions of GAMM

Published online by Cambridge University Press:  14 April 2025

Sun-Joo Cho*
Affiliation:
Vanderbilt University
Sarah Brown-Schmidt
Affiliation:
Vanderbilt University
Sharice Clough
Affiliation:
Vanderbilt University Medical Center The Max Planck Institute for Psycholinguistics
Melissa C. Duff
Affiliation:
Vanderbilt University Medical Center
*
Corresponding author: Sun-Joo Cho; Email: sj.cho@vanderbilt.edu
Rights & Permissions [Opens in a new window]

Abstract

This paper presents a model specification for group comparisons regarding a functional trend over time within a trial and learning across a series of trials in intensive binary longitudinal eye-tracking data. The functional trend and learning effects are modeled using by-variable smooth functions. This model specification is formulated as a generalized additive mixed model, which allowed for the use of the freely available mgcv package (Wood in Package ‘mgcv.’ https://cran.r-project.org/web/packages/mgcv/mgcv.pdf, 2023) in R. The model specification was applied to intensive binary longitudinal eye-tracking data, where the questions of interest concern differences between individuals with and without brain injury in their real-time language comprehension and how this affects their learning over time. The results of the simulation study show that the model parameters are recovered well and the by-variable smooth functions are adequately predicted in the same condition as those found in the application.

Information

Type
Application and Case Studies - Original
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike licence (http://creativecommons.org/licenses/by-nc-sa/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Psychometric Society
Figure 0

Figure 1 Empirical study: Example trial including sandwich (target), apple, piano, and guitar images, and a video still of a person in the gesture condition making a sandwich gesture.

Figure 1

Figure 2 Empirical study: A time series plot illustrating group-level trend (top), a time series plot demonstrating group-level learning (middle), and a partial autocorrelation plot for AR1 (bottom).

Figure 2

Table 1 Empirical study: results of the specified models

Figure 3

Figure 3 Empirical study: Predicted two-dimensional by-variable smooth function of $(time_{t},trialorder_{l})$. Note. In the figure, lines in the contour plot are drawn connecting the $(time_{t},trialorder_{l})$ coordinates where the same value (the logit transform of probability) occurs, with the effect of the interaction increasing as the color of the contour plot becomes warmer (from blue to yellow); no credible bands were added to avoid cluttered figures (Color figure online).

Figure 4

Figure 4 Empirical study: Predicted by-variable smooth function of $time_{t}$ for Group 1 (top, left), Group 2 (top, right), Group 3 (bottom, left), and Group 4 (bottom, right). Note. The dotted lines indicate the 95% credible bands of the predicted values; each tick mark in the x-axis represents time points.

Figure 5

Figure 5 Empirical study: Predicted by-variable smooth function of $trialorder_{l}$ for Group 1 (top, left), Group 2 (top, right), Group 3 (bottom, left), and Group 4 (bottom, right). Note. The dotted lines indicate the 95% credible bands of the predicted values; each tick mark in the x-axis represents trial orders.

Figure 6

Figure 6 Empirical study: Differences in trend (top) and learning (bottom) between grooming movement and gesture conditions by NC versus TBI. Note. The dotted lines indicate the 95% credible bands of the fitted values; dotted vertical lines in the differences in trend (top) indicate the range of significance for the diagnostic group differences.

Figure 7

Table 2 Simulation study: results of fixed and random effects (top) and RMPE of by-variable smooth functions (bottom)

Figure 8

Figure 7 Empirical study: individual-level trend (top) and individual-level learning (bottom). Note. NC participants have an ID in the 1000’s and participants with TBI have an ID in the 5000’s.

Figure 9

Figure 8 Empirical study: Q-Q plots of the predicted random effects in model C. Note. The dotted lines indicate the 95% confidence bands of the quantiles (dots).