“…Third, GAMM allowed us to control for serial dependency in time series data, namely, autocorrelation (see Baayen et al (2017) and Wood (2017) for an overview of autocorrelation in GAMM). Because of this functionality, GAMM has been utilized not only to model pupillometric data (Lõo et al, 2016; Mukai et al, 2018; Porretta & Tucker, 2019; van Rij et al, 2019), but a variety of non-linear time series data, such as electromagnetic articulography data, the position of tongue and lips during speech (Wieling et al, 2016), formant trajectory data, the time course of formant frequencies in speech (Sóskuthy, 2017), visual world eye-tracking data (Porretta et al, 2016; Veivo et al, 2016), and event-related potential data (Kryuchkova et al, 2012; Meulman et al, 2015; Porretta et al, 2017). We performed model fitting and comparisons in the statistical environment R, version 3.4.4 (R Development Core Team, 2018) using the package mgcv (Wood, 2017), version 1.8-23 and itsadug (van Rij et al, 2017), version 2.3.…”