\documentclass[man,floatsintext]{apa6} \usepackage[american]{babel} % for citations \usepackage[natbibapa]{apacite} \usepackage{amsmath} % for small fractions \usepackage{xfrac} % for Euro symbol \usepackage[left]{eurosym} % vertical skip around table caption \usepackage[tableposition=top]{caption} \usepackage[]{setspace} %%% suppress URLs if DOI is available and allow line breaks in URLs % http://tex.stackexchange.com/questions/195512/linebreak-in-url \usepackage{etoolbox} \usepackage{environ} \usepackage{color} % Tiny macro to handle editorial notes as highligted text. \newcommand{\todo}[1]{{\color{red}[TODO: #1]}} % just highlight \newcommand{\marked}[1]{{\color{red}#1}} % highlight with comment \newcommand{\comment}[2]{{\color{red}#1}\footnote{{\color{red}#2}}} % to be removed \newcommand{\remove}[1]{\color{red}\cancel{#1}} % to be removed with comment \newcommand{\removec}[2]{{\color{red}\cancel{#1}}\footnote{{\color{red}#2}}} \newtoggle{bibdoi} \newtoggle{biburl} \makeatletter \undef{\APACrefURL} \undef{\endAPACrefURL} \undef{\APACrefDOI} \undef{\endAPACrefDOI} \long\def\collect@url#1{\global\def\bib@url{#1}} \long\def\collect@doi#1{\global\def\bib@doi{#1}} \newenvironment{APACrefURL}{\global\toggletrue{biburl}\Collect@Body\collect@url}{\unskip\unskip} \newenvironment{APACrefDOI}{\global\toggletrue{bibdoi}\Collect@Body\collect@doi}{} \AtBeginEnvironment{thebibliography}{ \pretocmd{\PrintBackRefs}{% \iftoggle{bibdoi} %: I modified the following line, otherwise DOIs are not printed if URLs are available {\iftoggle{biburl}{\unskip\unskip}{} doi:\bib@doi} {\iftoggle{biburl}{Retrieved from\bib@url}{}} \togglefalse{bibdoi}\togglefalse{biburl}% }{}{} } %%% % set PDF document properties \usepackage[draft=true, pdfauthor={Sven Hohenstein, Hannes Matuschek, Reinhold Kliegl}, pdftitle={Linked Linear Mixed Models: A Joint Analysis of Fixation Locations and Fixation Durations in Natural Reading}, pdfsubject={Linked linear mixed models}, pdfkeywords={linear mixed model, model linkage, eye movements, reading}] {hyperref} \title{Linked Linear Mixed Models: A Joint Analysis of Fixation Locations and Fixation Durations in Natural Reading} \shorttitle{Linked linear mixed models} \author{Sven Hohenstein, Hannes Matuschek, and Reinhold Kliegl} \leftheader{Hohenstein, Matuschek, and Kliegl} \affiliation{University of Potsdam} \note{\today} \authornote{ Sven Hohenstein, Hannes Matuschek, and Reinhold Kliegl, Department of Psychology, University of Potsdam, Potsdam, Germany. This research was supported by Deutsche Forschungsgemeinschaft (Grant KL 955/6) as part of Research Group 868, ``Computational Modeling of Behavioral, Cognitive, and Neural Dynamics'' and by German Federal Ministry of Education and Research (Grant 01UG1507B). Portions of this research were presented at The Rank Prize Funds: Symposium on Visual Aspects of Reading (March, 2015, Grasmere, UK). Data and \textsf{R} scripts are available at the Potsdam Mind Research Repository (\url{http://read.psych.uni-potsdam.de/pmr2/}). We thank Victor Kuperman and Eric-Jan Wagenmakers for their helpful comments on an earlier version of this article. Correspondence concerning this article should be addressed to Sven Hohenstein, Department of Psychology, University of Potsdam, Karl-Liebknecht-Strasse 24--25, 14476 Potsdam, Germany. E-mail: \url{sven.hohenstein@uni-potsdam.de} } \abstract{ The complexity of eye-movement control during reading allows measurement of many dependent variables, the most prominent ones being fixation durations and their locations in words. In current practice, either variable may serve as dependent variable or covariate for the other in linear mixed models (LMMs) featuring also psycholinguistic covariates of word recognition and sentence comprehension. Rather than analyzing fixation location and duration with separate LMMs, we propose linking the two according to their sequential dependency. Specifically, we include predicted fixation location (estimated in the first LMM from psycholinguistic covariates) and its associated residual fixation location as covariates in the second, fixation-duration LMM. This linked LMM affords a distinction between direct and indirect effects (mediated through fixation location) of psycholinguistic covariates on fixation durations. Results confirm the robustness of distributed processing in the perceptual span. They also offer a resolution of the paradox of the inverted optimal viewing position (IOVP) effect (i.e., longer fixation durations in the center than at the beginning and end of words) although the opposite (i.e., an OVP effect) is predicted from default assumptions of psycholinguistic processing efficiency: The IOVP effect in fixation durations is due to the \emph{residual} fixation-location covariate, presumably driven primarily by saccadic error, and the OVP effect (at least the left part of it) is uncovered with the \emph{predicted} fixation-location covariate, capturing the indirect effects of psycholinguistic covariates. We expect that linked LMMs will be useful for the analysis of other dynamically related multiple outcomes, a conundrum of most psychonomic research. } \begin{document} \maketitle <>= library(knitr) library(lme4) library(ggplot2) library(Hmisc) library(remef) library(tikzDevice) library(xtable) library(gridExtra) options(digits = 3) fig_width <- 4 opts_chunk$set(cache = TRUE, dev = 'tikz', echo = FALSE, fig.width = fig_width, fig.height = fig_width, fig.align = 'center') knit_hooks$set(inline = function(x) prettyNum(x, big.mark = ",")) base_size <- 9 # for ggplot2 @ <>= PSC <- readRDS("PSCr.rds") PSC$lls.c <- scale(PSC$lls, scale = FALSE) PSC$K1 <- as.integer(PSC$K1) - 1L @ %\section{Introduction} In research on complex behavior we often have to choose one of several, possibly equally plausible outcomes as the dependent variable for our analyses. Often these outcomes occur in a predetermined sequence. Let us take the sample case of eye-movement control during natural reading as a starting point. Fixation location and fixation duration are two outcomes that have greatly contributed to our understanding of oculomotor and psycholinguistic processes during natural reading. Moreover, they are dynamically related with each other. To some degree their relation has been the topic of previous research. For example, fixation duration was modeled as a joint function of word properties and fixation location \citep[e.g.,][]{Kliegl2006, Heister2012}. Conversely, fixation location (implied in saccade amplitude) was modeled as a function of word properties and fixation duration \citep{Wei2013}. Hence, either variable has been treated as a dependent variable in one model and as a covariate in the other. In general, however, the dynamics between these two measures (or their redundancy) has not been analyzed. Rather given the validity of both variables as indicators of cognitive processing efficiency, the most common scenario is to report two separate analyses or only one of them. In reading studies, \emph{linear mixed models} (LMMs) are a well-established tool for modeling fixation durations \citep[e.g., ][]{Kliegl2007} and fixation locations \citep[e.g., ][]{Yan2014}. They are an extension of linear models and describe the response as a combination of fixed effects (e.g., word frequency, predictability, and length) and random effects (e.g., due to variability between subjects and items). Rather than estimating the individual or item differences from the average (fixed effects), LMMs estimate variance components on the assumption that differences between subjects and items are independently and normally distributed. Here we propose to extend LMMs for the analyses of multiple outcomes, that is for a joint analysis of fixation location and fixation duration that takes into account the predetermined order of their occurrence in the behavioral stream. Specifically, we introduce a novel approach that includes results of the first LMM for fixation locations as covariates in the second LMM for fixation durations. As this procedure \emph{links} the second LMM with the first LMM we refer to this approach as linked linear mixed modeling. Before getting into the technical and statistical details of this approach, we briefly review some basic facts about eye-movement control and what we know about fixation locations and fixation durations in reading. \subsection{Perceptual span} Eye movements are constrained by the physiology of the eyes. Visual acuity declines monotonically from the center of the retina (i.e., the fovea) to the parafovea and out into the periphery. Due to this acuity constraint eye movements bring visual information from areas of intererst of the visual field into the fovea where it can be processed with high resolution \citep[e.g.,][]{Findlay2003}. In reading, the areas of interest are the words of the sentence. Eye movements comprise a sequence of saccades and fixations. Therefore, eye movements in reading allow for the study of \emph{where} the eyes fixate (the fixation location) and \emph{when} a new saccade is executed (the fixation duration). Due to the complexity of eye-movement patterns, numerous alternative measures can be derived from these two fundamental measures \citep{Inhoff1998}. These measures are used for studying perceptual and cognitive processes during reading \citep{Rayner1998}. During reading, visual acuity is strongly modulated by attention which is allocated preferentially in the direction of reading, leading to a highly asymmetric perceptual span \citep{McConkie1975} that is the area of text from which information is extracted during a fixation. Specifically, the perceptual span extends only about 15 letter in and 3 letters against the reading direction relative to the currently fixated letter. The span is even smaller (i.e., up to six letters in reading direction) as far as effects of are concerned that depend on recognizing individual letters. The limits of the perceptual span provide strong constraints for the programming of saccades. \subsection{Fixation location} Most saccades are executed in the direction of the writing system and about a third move the eyes from the currently fixated word $n$ to the next word $n + 1$ \citep[e.g.,][]{Heister2012, Rayner2009}. Inherently, the saccade to the next word is programmed before it is fixated and therefore, fixation locations depend on parafoveal information of the upcoming word. \citet{Rayner1979} showed that the \emph{preferred viewing location} is between the beginning and the center of the word, if the next saccade is directed towards the word to the right. Consequently, fixation locations are farther away from the beginning of a word as its length increases. In addition, the fixation location varies with the distance of the last fixation location from the beginning of the currently fixated word (i.e., its launch site): Fixation locations are closer to the beginning of the word when the last fixation was further away \citep{McConkie1988, Radach1998, Rayner1996}. \citet{McConkie1988} studied the joint influence of word length, launch site and the distance to the target word on fixation locations. They showed that the distributions of fixation locations for different word lengths and launch sites follow a normal distribution. Interestingly, the effect of word length almost disappeared when the distance to the target word's center was used to predict fixation locations. Hence, center-based fixation locations can be modeled as a linear function of center-based launch sites. Furthermore, they argued that fixation locations are subject to a saccadic range error that results in deviations from the intended fixation locations. Finally, \citet{Krugel2010} discovered that the launch-site effect is strongly modulated by word skipping. If the word before the target is skipped, the distribution of fixation locations is shifted leftwards compared to nonskipping saccades. Whereas there is clear evidence of low-level visual influences on fixation locations, effects of linguistic variables have been somewhat controversial in the past, but are becoming clearer and clearer in current and ongoing research. Such effects indicate an influence of foveal processing difficulty of word $n$ and parafoveal preprocessing difficulty of word $n + 1$ on saccade-target selection. \citet{Lavigne2000} showed that the fixation location on highly predictable words is significantly shifted towards the end of the words in comparison to words which are less constrained from the prior context. However, such a predictability effect was not found in other studies \citep{Rayner2001, Vainio2009, Vonk2000}. Also the evidence for an effect of parafoveal word frequency is limited: \citet{Rayner2006} reported a marginal effect indicating that the eyes land further into high-frequent words compared to low-frequent words. Such an effect was also found for reading Uighur sentences. Moreover, fixation locations shifted towards the beginning of a word as its morphological complexity (i.e., the number of suffixes) increased, clearly suggestive of parafoveal linguistic effect on fixation location \citep{Yan2014}. There is also strong evidence from reading of Chinese sentences (both simplified and traditional script) that high psycholinguistic processing difficulty of word $n - 1$ (i.e., usually the word fixated when the saccade to word $n$ is programmed) as well as high processing difficulty of word $n$ (i.e., the saccade-target word on which the fixation location is observed) shifts fixation locations towards the beginning of the word (\citealp{Kliegl2016}; \citealp[see also][for similar results using saccade amplitude rather than fixation location as dependent variable]{Wei2013}). (By high processing difficulty we mean low word frequency, high character complexity, and low word predictability.) The results are in agreement with the proposal that the perceptual span adjusts dynamically to local processing difficulty with saccade targets selected accordingly \citep{Risse2014, Schad2012}. \subsection{Fixation duration} Arguably, fixation duration is the most prominent measure of psycholinguistic processing difficulty. There is a large body of evidence for default effects of length, frequency, and predictability \citep[e.g.,][]{Rayner1998, Rayner2009} of fixated words: Fixation durations increase with length \citep[e.g.,][]{Just1980} and decrease with frequency \citep[e.g.,][]{Inhoff1986} and predictability \citep[e.g.,][]{Balota1985, Ehrlich1981}. In general, these effects remain significant even under statistical control of the other effects, although for word length a reversal in the direction of the effect (i.e., a suppressor effect) has been reported for such partial effects \citep{Kliegl2006}. Recent work indicates that the word-length effect on fixation durations is driven by the number of letters rather than the spatial width of a word \citep{Hautala2011}. The influence of word properties on fixation duration is not limited to those of the currently fixated word $n$; properties of the preceding word $n - 1$ and the upcoming word $n + 1$ also affect fixation duration on word $n$ \citep{Kliegl2006, Kennedy2013}. While lag effects of word $n - 1$ can be explained in terms of ongoing processing, successor effects of word $n + 1$ reflect parallel processing of multiple words \citep[see also][]{Kennedy2005} with a non-canonical effect of word-$n + 1$ predictability (i.e., longer fixations for highly predictable parafoveal words) across different languages \citep[for a review see][]{Fernandez2014}. Especially important for the present context is that, aside from word properties, fixation duration is also systematically related to its location within the word. Indeed, there is a counterintuitive result, known as the \emph{inverted optimal viewing position} (IOVP) effect \citep{Vitu2001}, that fixation durations in the center of words are longer compared to fixation durations at the beginning or end of words. The result is counterintuitive because one would expect less processing difficulty for center than edge locations, and this expected result of a u-shaped curve is indeed obtained in experiments of isolated word recognition. Under experimental control of fixation location, the word center is the \emph{optimal viewing position} (OVP) and requires the shortest exposure durations for correctly recognizing a word at a pre-specified level of accuracy \citep{ORegan1984}. There are at least two explanations for the IOVP effect. One explanation, supported by computational simulations, is that it is primarily due to \emph{mislocated fixations} \citep{Nuthmann2005, Nuthmann2007}. The assumption of the simulation is that a proportion of fixations at the word boundaries are not on the intended word, but are a result of saccadic overshoot or undershoot due to oculomotor errors. Thus, the actual fixation location is different from the intended fixation location. Obviously, such mislocated fixations are more likely to occur at the beginning or end than in the center of words. The simulation also assumes that internally a signal about the mislocation (e.g., the difference between programmed and executed saccade amplitude) is quickly available and immediately triggers the start of a new saccade program, resulting on average in shorter fixations at the beginning and end of words. \citet{Vitu2007} proposed the alternative explanation for why fixation durations are prolonged when the eye is at an optimal position for word recognition. According to their \emph{perceptual-economy} hypothesis, fixating a word triggers localization processes that estimate the fixation location relative to the word boundaries. Fixation locations near the word center are most efficient---in agreement with results from isolated word recognition---and therefore delay saccade onset. Thus, this account assumes that fixations last longer when the eyes are estimated to be at locations where a greater amount of information is anticipated. The IOVP effect is a good example to illustrate the case where a dependent variable (fixation duration) is modeled as a function of a covariate (fixation location) that in a different context itself is used as the dependent variable. During natural reading of sentences or texts, fixation locations and durations strictly alternate and neither of them is under experimental control. Hence, depending on the theoretical context of an analysis, either may be appear as dependent variable or as covariate. As both measures potentially correlate with the same psycholinguistic text properties of the fixated and neighboring words, there is ambiguity whether fixation durations are directly influenced by these features or only indirectly via an effect on fixation location. \subsection{Linked linear mixed models} Before describing our approach with linked LMMs to deal with the ambiguities of effects of correlated covariates in the context of multiple outcomes, we introduce the basic statistics of LMMs with a separate model for each outcome. An illustrative example model for fixation locations with the two covariates launch-site distance and word length is specified as follows: \begin{equation} \label{eq:landing} x = \alpha_0 + \alpha_d \cdot d + \alpha_\ell \cdot \ell + \mathbf Z_x \gamma_x + \epsilon_x\,, \end{equation} where $x$ is the dependent variable, the fixation location. The $\alpha_{(\cdot)}$ represent the fixed-effect coefficients. The first one, $\alpha_0$, is the intercept. There are two covariates: launch-site distance, $d$, and word length, $\ell$. The corresponding coefficients are $\alpha_d$ and $\alpha_\ell$. Furthermore, $\mathbf Z_x$ is the model matrix for the random effects, and $\gamma_x$ are the random-effects coefficients.% \footnote{We use the matrix notation \citep[see also ][]{Bates2015} for the random effects to reduce the complexity of the formula; they are not of primary interest in the current context.} Finally, $\epsilon_x$ are the \emph{residuals}, the part of the observations $x$, that cannot be explained by the model. In a second model, fixation location changes its role from a dependent variable to that of a covariate for fixation duration. An example with the three covariates fixation location, word frequency, and word length is \begin{equation} \label{eq:fixationSep} t = \beta_0 + \beta_x \cdot x + \beta_f \cdot f + \beta_\ell \cdot \ell + \mathbf Z_t \gamma_t + \epsilon_t\,, \end{equation} where $t$ is fixation duration (time). In this model, the fixed-effects coefficients are denoted with $\beta_\cdot$\ . Frequency is represented by $f$. As in eq.\ (\ref{eq:landing}), $x$ denotes the fixation location, and $\ell$ stands for word length. Of course, the second model includes random effects ($ \mathbf Z_t \gamma_t$) and residuals ($\epsilon_t$) too. In this standard approach of separated model fitting, the results of the fixation-location model are not used for the fixation-duration model. However, we can use the predictions of one model as a covariate in a second model such that the estimates of the second model depend on the ones of the first model. In LMMs the observed variable is expressed as a sum of (a) fixed effects, (b) random effects, and (c) residuals where the sum of fixed effects and random effects are the \emph{predictions} or \emph{fitted values}. To illustrate how an LMM affords a decomposition of an observed variable into fitted values and residuals, we annotate the fixation-location model (eq.\ \ref{eq:landing}) as \begin{equation} \underbrace{x}_{\text{observed values}} = \underbrace{\alpha_0 + \alpha_d \cdot d + \alpha_\ell \cdot \ell + \mathbf Z_x \gamma_x}_{\hat{x}\text{{, fitted values/predictions}}} + \underbrace{\epsilon_x}_{\text{residuals}}\,, \nonumber \end{equation} where $\hat x$ represents the predicted fixation location, such that \begin{equation} \label{eq:sum} x = \hat x + \epsilon_x\,. \end{equation} In \emph{linked} LMMs, we do not use the observed fixation location as covariate for fixation duration directly, but rather include the predictions and residuals of the fixation-location model as two new covariates. Hence, the two models are fitted \emph{sequentially} such that the result of the first model is used as a covariate in the second one. In this approach, the fixation-location model (eq.\ \ref{eq:landing}) remains the same. The fixation-duration model, however, is different, as it includes the predictions ($\hat{x}$) and residuals ($\epsilon_x$) of (eq.\ \ref{eq:landing}): \begin{equation} \label{eq:fixationLin} t = \beta_0 + \beta_{\hat{x}} \cdot \hat x + \beta_{\epsilon_x} \cdot \epsilon_x + \beta_f \cdot f + \beta_\ell \cdot \ell + \mathbf Z_t \gamma_t + \epsilon_t\,. \end{equation} This model estimates two coefficients instead of one that are related to fixation location, $\beta_{\hat{x}}$ for predicted fixation location $\hat x$ and $\beta_{\epsilon_x}$ for residual fixation location, $\epsilon_x$.% \footnote{Substituting $\hat x$ and $\epsilon_x$ in eq.\ \eqref{eq:fixationLin} with the corresponding terms in eq.\ \eqref{eq:landing} results in the formula \begin{equation} t = \beta_0 + \beta_{\hat{x}} \cdot (\alpha_0 + \alpha_d \cdot d + \alpha_\ell \cdot \ell + \mathbf Z_x \gamma_x) + \beta_{\epsilon_x} \cdot (x - \alpha_0 - \alpha_d \cdot d - \alpha_\ell \cdot \ell - \mathbf Z_x \gamma_x) + \beta_f \cdot f + \beta_\ell \cdot \ell + \mathbf Z_t \gamma_t + \epsilon_t\,. \nonumber \end{equation} } Residuals are random deviations that are not explained by the model and, therefore, the covariate $\epsilon_x$ represents deviations caused by additional, potentially unknown sources, among them, for example, oculomotor errors. Although the linked LMM (eq.\ \ref{eq:fixationLin}) has one more fixed effect than the ordinary LMM (eq.\ \ref{eq:fixationSep}), there is no new independent covariate as the observed fixation location in eq.\ \eqref{eq:fixationSep} is simply the sum of the predicted ($\hat{x}$) and residual fixation location ($\epsilon_x$) of the model (eq.\ \ref{eq:landing}). Hence the linked LMM is not augmented with additional information in terms of additional observations, but rather with \emph{structural information} provided by the fixation-location model and its ability to decompose the observed fixation locations. \subsection{The present study} We apply the technique of linked linear mixed modeling to data obtained in natural reading experiments. Specifically, we evaluate whether a decomposition of the observed fixation locations into predictions and residuals improves the model fit for fixation durations, compared to the classical approach using the observed values as covariate. To this end, we focus on the IOVP effect in single-fixation durations. Our expectation is that predicted fixation locations represent intended fixation locations and residuals represent oculomotor error. If the IOVP is actually due to oculomotor error, the effect of the residuals on fixation durations should resemble the IOVP curve. Furthermore, the shape of the curve resulting from the predicted values should resemble the OVP curve and thereby reflect the influence of fixation location on fixation duration. Since the OVP effect is based on isolated words, optimal fixation locations in normal reading may not coincide with the word center. \section{Method} The data used in the analyses are from the Potsdam Sentence Corpus (PSC) as reported in \citet{Heister2012}. We provide basic information; for details we refer to \citet{Kliegl2004} and \citet{Kliegl2006}. The reanalysis provides new information about the data without loss of effects reported previously. Moreover, a parallel analysis was carried out for data from Beijing Sentence Corpus and Taipei Sentence Corpus to ensure generalizability of the results \citep[see][]{Kliegl2016}. \subsection{Subjects} A total of \Sexpr{nlevels(PSC[["Subj"]])} subjects who varied widely in age, size of vocabulary, and cognitive ability participated in the experiment. They were paid \EUR{5} to \EUR{7} or received course credits. Participants gave their informed consent prior to their inclusion in the study. Sessions lasted 45--60 minutes. All were native speakers of German with normal or corrected-to-normal vision. \subsection{Material} The PSC comprises 144 German sentences, ranging from five to eleven words ($\mathrm{M} = 7.9$, $\mathrm{SD} = 1.4$). Word frequencies range from 0 to 25,153 per million where the average log frequency was $2.1$ and the standard deviation $1.3$. Predictability norms were collected in an independent study with 272 native speakers of German. Predictability was measured as the probability of predicting a word after knowing the preceding part of the sentence. Excluding the first word of each sentence, word predictability ranges from 0 to 1 ($\mathrm{M} = 0.20$, $\mathrm{SD} = 0.28$). Since predictabilities were submitted to logit transformation for the present analyses (see below), values of 0 and 1 were changed to values in $(0, 1)$ with the function \begin{singlespace} \begin{equation} p \mapsto \begin{cases} \frac{1}{2 n_c} & \mbox{if } p = 0\\ \frac{2 n_c - 1}{2 n_c} & \mbox{if } p = 1\\ p & \mbox{otherwise,} \end{cases} \nonumber \end{equation} \end{singlespace} \noindent where $n_c = 83$ represents the number of complete predictability protocols for each word in the corpus. \subsection{Appratus and procedure} Single sentences were presented on the center line. Participants were seated in front of the monitor with the head positioned on a chin rest. Eye movements of four samples were recorded with an EyeLink I system (SR Research, Toronto) with a sampling rate of 250 Hz or an EyeLink II system with a sampling rate of 500 Hz. All recordings and calibration were binocular. Participants were calibrated with a standard nine-point grid for both eyes. They were instructed to read the sentence for comprehension and to fixate on a dot in the lower right corner of the monitor to signal the completion of a trial. \subsection{Covariates and responses} \subsubsection{Variable transformations} Dependent variables and covariates were transformed prior to inclusion in the LMMs; for details see Table \ref{tab:trans}. We transformed response variables to meet the assumption of normally distributed residuals. Covariates were transformed nonlinearly since their distributions were highly skewed. There are no assumptions in LMMs on the distribution of covariates. However, highly skewed covariates probably have high-leverage points and are less likely linearly related to the dependent variable \citep[e.g.,][]{Ruppert2011}. High leverage refers to a value on a covariate that is far from the mean of that variable. These points can have an effect on the estimation of regression coefficients. Furthermore, nonlinear transformations of a covariate serve to linearize the relation between dependent variable and covariate, at least to a large extent; they reduce the need for higher-order polynomials and overall model compelexity in general. In all analyses, covariates were centered on their mean such that the intercept corresponds to the mean of the dependent variable. As much as possible and reasonable we have used the same transformations across other studies and data sets as well. Absolute fixation location (i.e., the letter in the word to which the fixation was assigned) was transformed to relative fixation location (i.e., divided by word length) to facilitate comparison of words of different lengths. In the following, with fixation location we always refer to \emph{relative} fixation location. We log-transformed fixation duration, word frequency, and launch-site distance to reduce highly positive skew. For word length we used its reciprocal value. Since predictability values are defined as probabilities, we used the logit transformation $p \mapsto \ln\frac{p}{1-p}$, where $p$ denotes the predictability described above. Furthermore, we scaled the logits with $\frac{1}{2}$ to create values that are comparable with probits. \begin{table}[tb!] \caption{Transformations of continuous variables.}\label{tab:trans} \begin{center} \begin{tabular}{llr} \toprule Variable & Untransformed & Transformation \\ \midrule Fixation location $x$ & Number of characters & $\frac{x}{\ell + 1} - \frac{1}{2}$ \\ Fixation duration $t$ & Milliseconds & $\ln t$ \\ Word length $\ell$ & Number of characters & $\sfrac{1}{\ell}$ \\ Word frequency $f$ & Occurrences per one million words & $\log_{10}(f+1)$ \\ Predictability $p$ & Probability of prediction & $\sfrac{1}{2}\, \mathrm{logit}(p)$ \\ Launch-site distance $d$& Number of characters & $\log_2 d$ \\ \bottomrule \end{tabular} \end{center} \end{table} \subsubsection{Modeling fixation location} Fixation location on word $n$ is measured as the index of the character where the word is fixated. As covariate, we used the centered relative fixation location, in the following referred to as \emph{fixation location}. With this transformation, 0 corresponds to a fixation location on the character in the middle of the word (e.g., position 3 in a 5-character word) and $-\frac{1}{2}$ corresponds to the space preceding the word. The interpretation of the fixation location is straightforward, since negative and positive values indicate fixation locations on the first and second half of word $n$, respectively. We modeled fixation location on word $n$ using several word-related and oculomotor covariates. The three major word properties length, frequency, and predictability of both the fixated word $n$ and the preceding word $n - 1$ were used as continuous covariates. Furthermore, we included launch-site distance as a covariate. Finally, we also included skipping of word $n - 1$ as a covariate due to the different distributions of fixation locations for skipping and nonskipping saccades. Depending on the position of the previously fixated word relative to the currently fixated word, incoming saccades can be categorized as either skipping or nonskipping saccades. Nonskipping refers to the cases in which the previous fixation was on word $n - 1$; skipping of word $n - 1$ means the previous fixation was on a word preceding word $n - 1$. In the majority of skipping cases, the saccade moves the gaze from word $n - 2$ to word $n$. In our data set, word $n - 1$ was fixated in \Sexpr{format(mean(PSC$K1 == 0L) * 100, digits = 3L)}\% and skipped in \Sexpr{format(mean(PSC$K1 == 1L) * 100, digits = 3L)}\% of all trials. We specified a treatment contrast for this categorical variable with the value of 0 for nonskipping and 1 for skipping. With this specification the regression coefficient associated with this variable corresponds to an estimate of the difference (in fixation location) between the skipping and the nonskipping trials. Since nonskipping trials are more common, this category was chosen as the reference level. Consequently, the estimates for the remaining covariates correspond to the nonskipping trials \citet{Kliegl2007}. Motivated by inspection of zero-order effect plots, we specified interactions between skipping and all remaining covariates. \subsubsection{Modeling fixation duration} Our analysis focused on single fixations in first-pass reading as dependent variable. A fixation was classified as a \emph{first-pass fixation} if neither the currently fixated word ($n$) nor any word to its right ($n+1, n+2, \dots$) was fixated before. If a word received exactly one fixation (in the first pass), this fixation was labeled as a \emph{single fixation}. Furthermore, we only used single fixations that were preceded and followed by forward saccades to have a consistent influence of properties of word $n - 1$ and word $n + 1$ for all fixations in the analysis. We modeled fixation duration on word $n$ using word properties and fixation location. We included word length, frequency and predictability of words $n - 1$, $n$, and $n + 1$, that is, for the preceding, fixated and next word, respectively. Typically, effects are strongest for word $n$, followed by lag effects of word $n - 1$ and successor effects of word $n + 1$ \citep{Kliegl2006, Kennedy2013}. We also included a second-order orthogonal polynomial for fixation location on word $n$ to capture the negative-quadratic IOVP effect of fixation location on fixation duration. \subsection{Statistical analysis} Inferential statistics were based on LMMs specifying subjects, sentences, and words as partially crossed random factors \citep{Baayen2008, Kliegl2007}. Effects were estimated with the \texttt{lme4} package \citep[version 1.1-11;][]{Bates2015} in the \textsf{R} environment for statistical computing \citep[version 3.2.2, 64-bit build;][]{R:3.2.2}. All LMMs were fitted with the maximum likelihood criterion. We specified varying intercepts for all random factors. Furthermore, we included variance components corresponding to the main effects for subjects (details see below). In these models, variance components are assumed to be independent to reduce their complexity. The variance components for sentences and words were much smaller than those for subjects. Therefore, aside from their intercepts, we did not include varying effects for words and sentences to keep model complexity at a level supported by the data \citep{Bates2015b, Matuschek2015b}. See the supplement for more details on the variance components of the LMMs. We report regression coefficients with the $t$ statistic. Degrees of freedom are not known for $t$ statistics of LMMs, but for large numbers of subjects, words, sentences, and observations, as in this study, the $t$ statistic converges to the $z$ statistic of the normal distribution. For all tests we apply the two-tailed criterion ($|t| \ge 1.96$), corresponding to a 5\% error criterion for significance. \subsection{Visualization of results} In all analyses, the estimated effects were based on models with multiple fixed and random effects. Figures with \emph{partial effects} computed from model parameters reproduce the estimated statistical effects; they allow for a straightforward interpretation of the results. All figures in this paper are based on partial effects created with the \texttt{remef} package \citep{remef:1.0.6.9000} and were programmed with \texttt{ggplot2} \citep{Wickham2009}; \citet{Hohenstein2014} provides examples for use of partial effects. \section{Results} % placement options for figures \def\fps@figure{tb!} \subsection{Fixation location} <>= path <- "m_rfl_0_zcp.rds" if (file.exists(path)) { m_rfl_0_zcp <- readRDS(path) } else { m_rfl_0_zcp <- lmer(rfl ~ K1 * (lls.c + l1.c + p1.c + f1.c + l.c + p.c + f.c) + (1 + K1 + lls.c + l1.c + p1.c + f1.c + l.c + p.c + f.c || Subj) + (1 | Word) + (1 | Sent), data = PSC, REML = FALSE) saveRDS(m_rfl_0_zcp, path) } @ LMM results with fixation location as dependent variable are displayed in Table \ref{tab:landing-pos}. The model was fit with subject-related variance components for all main effects. The mean fixation location in the nonskipping trials (intercept) is slightly below zero, replicating the preferred viewing location slightly before the word's middle character. <>= m_rfl_0_zcp_coef <- as.data.frame(coef(summary(m_rfl_0_zcp))) m_rfl_0_zcp_coef[["fixef"]] <- c("(Intercept)", "Skipping of word $n - 1$", "Launch-site distance", "Length (word $n - 1$)", "Predictability (word $n - 1$)", "Frequency (word $n - 1$)", "Length (word $n$)", "Predictability (word $n$)", "Frequency (word $n$)", "Skipping $\\times$ launch-site distance", "Skipping $\\times$ length (word $n - 1$)", "Skipping $\\times$ predictability (word $n - 1$)", "Skipping $\\times$ frequency (word $n - 1$)", "Skipping $\\times$ length (word $n$)", "Skipping $\\times$ predictability (word $n$)", "Skipping $\\times$ frequency (word $n$)") m_rfl_0_zcp_coef <- m_rfl_0_zcp_coef[c("fixef", "Estimate", "t value")] names(m_rfl_0_zcp_coef) <- c("", "Estimate", "$t$") m_rfl_0_zcp_coef[] <- lapply(m_rfl_0_zcp_coef, function(x) if (is.double(x)) round(x, 3L) else x) latex(m_rfl_0_zcp_coef, file = "", booktabs = TRUE, caption = paste("Results for fixation location including estimated regression", "coefficients together with the $t$ statistic."), insert.bottom = paste("The interaction effects have been tested for ambiguities with possible", "nonlinear main effects \\citep[see supplement and][]{Matuschek2015c}."), label = "tab:landing-pos", rowname = NULL) @ Furthermore, there are considerable main effects of the oculomotor variab\-les launch-site distance and skipping (see Figure \ref{fig:landing-position}). As expected, fixation location decreases with launch-site distance: If a saccade starts from a position further away from the target word, the fixation location shifts to the left. The negative effect of skipping word $n - 1$ indicates that the mean fixation location of a skipping saccade is further away from the word's center as compared to saccades following the fixation of word $n - 1$.% \footnote{Due to the inherent correlation between launch-site distance and skipping (the average amplitude of skipping saccades is higher) we also specified a model in which we used orthogonal second-order polynomial terms for launch-site distance. Although this model resulted in a significant interaction between the quadratic trend of launch-site distance and skipping, the general pattern of results matches the one of the model reported here. Furthermore, the influence on linked model fitting is negligible.} There is no significant interaction between launch-site distance and skipping: The fixation location after a skipping saccade decreases with a slope that is not reliably different from the one of nonskipping saccades. \begin{figure}%[tb] <>= PSC$rfl_partial <- keepef(m_rfl_0_zcp, fix = c("K1:lls.c"), grouping = TRUE) labels <- c("Word $n-1$ fixated", "Word $n-1$ skipped") ggplot(PSC, aes(x = lls, y = rfl_partial, shape = as.factor(K1))) + geom_hline(yintercept = 0, colour = "darkgrey") + stat_smooth(method = lm, formula = y ~ poly(x, 1), se = FALSE, colour = "black", size = 0.5, aes(linetype = as.factor(K1))) + stat_summary(data = subset(PSC, ls < 15), fun.data=mean_cl_normal, linetype = 1, show.legend = FALSE, geom = "linerange") + stat_summary(data = subset(PSC, ls < 15), geom = "point", fun.y = mean, fill = "white", size = 3) + scale_x_reverse("Launch-site distance [characters]", breaks = log2(c(1:10, 12, 14)), labels = c(1:10, 12, 14)) + scale_y_continuous(breaks = seq(-0.4, 0.2, 0.2), labels = c("$-0.4$", "$-0.2$", "0.0", "0.2")) + ylab("Relative fixation location") + coord_cartesian(xlim = c(-0.1, log2(14) + 0.1), ylim = c(-0.45, 0.25), expand = FALSE) + scale_shape_manual(values = c(19, 21), labels = labels) + scale_linetype_manual(values = 1:2, labels = labels) + theme_classic(base_size = base_size) + guides(shape = guide_legend(keywidth = 3, title.position = "left")) + theme(legend.justification = c(0, 1), legend.position = c(0, 1), legend.title=element_blank()) @ \caption{Average relative fixation location on word $n$ as a function of launch-site distance (on a reversed log scale) together with linear regression lines. The figure displays partial effects created with the \texttt{remef} package \citep{remef:1.0.6.9000}. Errorbars represent 95\% confidence intervals. \label{fig:landing-position}} \end{figure} There are several significant main effects associated with properties of words $n - 1$ and $n$ (word length, frequency, and predictability) on fixation location on word $n$. With the contrast specification of skipping, coefficients of main effects correspond to estimates for nonskipping trials. The length of word $n - 1$ has a signifcant negative effect on fixation location. Since the word-length covariate is the reciprocal of the actual word length, the effects denote a leftward shift in mean fixation location for longer compared to shorter words $n - 1$. As expected, the effect of the length of word $n$ is reversed: Since the distance between launch site and target-word center increases with word length, fixation locations in longer words are further away from the center than in shorter words. There are also reverse effects concerning word frequency. Whereas fixation location decreases with the frequency of word $n - 1$, the opposite is true with respect to the frequency of the target word $n$. The positive effect of word $n$ frequency indicates an influence of processing difficulty on fixation locations. The effects of predictability of both word $n - 1$ and word $n$ are positive. As in the case with frequency, processing difficulty explains the right shift of fixation locations for high-predictable compared to low-predictable words. In contrast to word frequency, the predictability of the upcoming word depends on sentence context. In addition to the main effects of word properties, corresponding to trials in which word $n - 1$ was fixated before fixating word $n$, we find significant interactions with skipping of word $n - 1$. This is not surprising, because in the majority of cases word $n - 1$ corresponds to the \emph{upcoming} word in skipping cases whereas it corresponds to the \emph{fixated} word in nonskiping cases. For all interactions between skipping and properties of word $n - 1$, the signs are identical to the signs of the corresponding main effects of word properties. Since both signs are equal, the effects of word $n - 1$ properties are even stronger when this word is skipped than when it is fixated. Apparently, the computation of skipping saccades and thereby fixation locations strongly depend on the properties of the skipped word. Even if the word is not fixated directly, it shows its effect. <>= rfl_coef <- coef(summary(m_rfl_0_zcp)) @ There is a different pattern for the interactions between skipping and the properties of the target word $n$. In contrast to word $n - 1$, the regression coefficients of the interactions between skipping and word $n$ properties and the ones of the corresponding main effects have opposite signs. For word length and predictability, the absolute value of the coefficients of the interactions are smaller than the ones of the main effects, indicating a weaker effect of these properties when word $n - 1$ is skipped. With respect to word frequency, the coefficient of the main effect ($\Sexpr{rfl_coef["f.c", "Estimate"]}$) is almost neutralized by the coefficient of the interaction ($\Sexpr{rfl_coef["K1:f.c", "Estimate"]}$). The sum of both coefficients ($\Sexpr{rfl_coef["f.c", "Estimate"] + rfl_coef["K1:f.c", "Estimate"]}$) indicates the null effect of the target-word's frequency on fixation locations for skipping trials. In summary, the effects of word properties of the target word $n$ on fixation location are stronger if word $n - 1$ was fixated. In nonskipping trials, word $n$ was closer to the preceding fixation because it was the immediate neighbor. Not suprisingly, more distant words (as in skipping cases) exert a weaker effect. \subsection{Fixation duration} Here we analyse fixation durations on word $n$ (focusing on the IOVP effect) as a function of several covariates including fixation location. We use both (a) the classical approach of \emph{separate} models with observed fixation locations and (b) \emph{sequential} linked LMMs.% \footnote{The specification of these models with respect to fixed and random effects is the same in all models, with the obvious exception of different fixation-location covariates. These models include variance components for all word-related covariates but not for fixation location because models specifying variance components for all covariates were overparameterized and did not converge.} <>= p_m_rfl_0_zcp <- fitted(m_rfl_0_zcp) r_m_rfl_0_zcp <- residuals(m_rfl_0_zcp) @ <>= path <- "m_fd_0_zcp.rds" if (file.exists(path)) { m_fd_0_zcp <- readRDS(path) } else { m_fd_0_zcp <- lmer(fd ~ l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c + (1 + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c || Subj) + (1 | Word) + (1 | Sent), data = PSC, REML = FALSE) saveRDS(m_fd_0_zcp, path) } @ <>= path <- "m_fd_0_zcp_rfl_obs.rds" if (file.exists(path)) { m_fd_0_zcp_rfl_obs <- readRDS(path) } else { m_fd_0_zcp_rfl_obs <- lmer(fd ~ poly(rfl, 2L) + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c + (1 + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c || Subj) + (1 | Word) + (1 | Sent), data = PSC, REML = FALSE) saveRDS(m_fd_0_zcp_rfl_obs, path) } @ <>= path <- "m_fd_0_zcp_rfl_pred.rds" if (file.exists(path)) { m_fd_0_zcp_rfl_pred <- readRDS(path) } else { m_fd_0_zcp_rfl_pred <- lmer(fd ~ poly(p_m_rfl_0_zcp, 2L) + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c + (1 + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c || Subj) + (1 | Word) + (1 | Sent), data = PSC, REML = FALSE) saveRDS(m_fd_0_zcp_rfl_pred, path) } @ <>= path <- "m_fd_0_zcp_rfl_res.rds" if (file.exists(path)) { m_fd_0_zcp_rfl_res <- readRDS(path) } else { m_fd_0_zcp_rfl_res <- lmer(fd ~ poly(r_m_rfl_0_zcp, 2L) + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c + (1 + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c || Subj) + (1 | Word) + (1 | Sent), data = PSC, REML = FALSE) saveRDS(m_fd_0_zcp_rfl_res, path) } @ <>= path <- "m_fd_0_zcp_rfl_pred_res.rds" if (file.exists(path)) { m_fd_0_zcp_rfl_pred_res <- readRDS(path) } else { m_fd_0_zcp_rfl_pred_res <- lmer(fd ~ poly(p_m_rfl_0_zcp, 2L) + poly(r_m_rfl_0_zcp, 2L) + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c + (1 + l1.c + p1.c + f1.c + l.c + p.c + f.c + l2.c + p2.c + f2.c || Subj) + (1 | Word) + (1 | Sent), data = PSC, REML = FALSE) saveRDS(m_fd_0_zcp_rfl_pred_res, path) } @ \subsubsection{Separate models: Observed fixation location} <>= an <- anova(m_fd_0_zcp, m_fd_0_zcp_rfl_obs, m_fd_0_zcp_rfl_pred, m_fd_0_zcp_rfl_res, m_fd_0_zcp_rfl_pred_res) andf <- as.data.frame(an)[, 1:4] colnames(andf)[1] <- "df" colnames(andf)[4] <- "log likelihood" andf <- cbind("Fixation location covariate" = c("none", "observed", "predicted", "residual", "predicted and residual"), andf) # round all values to the nearest integer andf[] <- lapply(andf, function(x) if (is.double(x)) as.integer(round(x)) else x) # add colum for type of model andf <- cbind(`model dependency` = c("separate", "", "linked", "", ""), andf) @ <>= # rownames(andf) <- NULL latex(andf, file = "", booktabs = TRUE, caption = "Goodness-of-fit statistics of linear mixed models of fixation duration.", insert.bottom = "\\emph{Note.} All values are rounded to the nearest integer. ``df'' denotes ``degrees of freedom''.", label = "tab:fixation-duration-models", rowname = NULL) @ Adding a second-order polynomial of \emph{observed} fixation location to a model including only word-related covariates yields a significant improvement in goodness of fit for AIC and BIC criteria (see Table \ref{tab:fixation-duration-models}). As expected, we obtain several significant effects of properties of words $n - 1$, $n$, and $n + 1$ on the fixation duration on word $n$, as in previous analyses of subsets of these data \citet{Kliegl2006}. The model coefficients are displayed in Table \ref{tab:fixation-duration}. With respect to the currently fixated word $n$, fixation duration decreases with predictability and frequency. The effect of (reciprocal) word length is positive but not significant. The same pattern is present for the properties of the preceding word $n - 1$ and the next word $n + 1$. For word $n+1$, the effect of word length is significant. If the upcoming word is shorter, fixation duration increases. With the exception of a significant word $n + 1$ length effect, the results are in agreement with \citet{Kliegl2007}. <>= mod1 <- as.data.frame(coef(summary(m_fd_0_zcp_rfl_obs))) mod2 <- as.data.frame(coef(summary(m_fd_0_zcp_rfl_pred_res))) nam1 <- rownames(mod1) nam2 <- rownames(mod2) # common effects comNames <- intersect(nam1, nam2) # unique effects uniNames <- c(setdiff(nam1, comNames), setdiff(nam2, comNames)) # set effect order efNames <- c(comNames[1L], uniNames, comNames[-1L]) # merge mod1[["fixef"]] <- nam1 mod2[["fixef"]] <- nam2 mod12 <- merge(mod1, mod2, by = "fixef", all = TRUE) # create data frame for report mod12 <- mod12[match(efNames, mod12[["fixef"]]), ] mod12 <- mod12[grep("^fixef|^Std", names(mod12), invert = TRUE)] rownames(mod12) <- c("(Intercept)", "Fixation location (observed, linear)", "Fixation location (observed, quadratic)", "Fixation location (predicted, linear)", "Fixation location (predicted, quadratic)", "Fixation location (residual, linear)", "Fixation location (residual, quadratic)", "Length (word $n - 1$)", "Predictability (word $n - 1$)", "Frequency (word $n - 1$)", "Length (word $n$)", "Predictability (word $n$)", "Frequency (word $n$)", "Length (word $n + 1$)", "Predictability (word $n + 1$)", "Frequency (word $n + 1$)") names(mod12) <- c("Estimate", "$t$", "Estimate", "$t$") mod12[] <- lapply(mod12, function(x) if (is.double(x)) round(x, 3L) else x) latex(mod12, file = "", booktabs = TRUE, caption = paste("Results for fixation duration including estimated regression", "coefficients together with the $t$ statistic.", "LMM with observed values (columns 2 \\& 3);", "linked LMM with predicted and residual values (columns 4 \\& 5)."), label = "tab:fixation-duration", cgroup = c("LMM", "Linked LMM"), n.cgroup = c(2L, 2L), rowlabel = "", cgroupTexCmd = "") @ Furthermore, both the linear and the quadratic trend of fixation location are significant. The quadratic effect is negative indicating an IOVP effect: Fixation duration is highest at the word's center and decreases towards its edges (see Figure \ref{fig:fixation-duration-observed}). In summary, the classical approach of using observed fixation location for modeling fixation duration results in the expected outcome: the IOVP effect. \begin{figure}%[tb] <>= PSC$fd_obs_partial <- keepef(m_fd_0_zcp_rfl_obs, fix = c("poly(rfl, 2)1", "poly(rfl, 2)2")) ggplot(PSC, aes(x = rfl, y = fd_obs_partial)) + geom_vline(xintercept = 0, colour = "darkgrey") + stat_smooth(method = lm, formula = y ~ poly(x, 2), se = TRUE, colour = "black", size = 0.5) + scale_x_continuous("Relative fixation location (observed)", breaks = seq(-0.5, 0.5, 0.25), labels = c("$-\\frac{1}{2}$", "$-\\frac{1}{4}$", "0", "$\\frac{1}{4}$", "$\\frac{1}{2}$")) + scale_y_continuous("Fixation duration [ms]", breaks = log(seq(100, 1000, 5)), labels = seq(100, 1000, 5)) + coord_cartesian(xlim = c(-0.5, 0.5), ylim = log(c(179, 219)), expand = FALSE) + theme_classic(base_size = base_size) + theme(axis.title.x = element_text(vjust = 0)) @ \caption{Fixation duration on word $n$ (on a log scale) as a function of observed relative fixation location together with a second-order polynomial regression curve. The figure displays partial effects created with the \texttt{remef} package \citep{remef:1.0.6.9000}. Errorbands represent 95\% confidence intervals. \label{fig:fixation-duration-observed}} \end{figure} \subsubsection{Sequential linked models: Predicted and residual fixation location} Here, rather than using observed fixation location for modeling fixation duration, we incorporate the results of the fixation-location LMM (see above). Specifically, this approach allows three different ways to include fixation location: (a) predicted fixation location, (b) residual fixation location, and (c) both predicted and residual fixation location. We evaluate the goodness-of-fit of these approaches and compare them with the one of the model using observed fixation location. Figure \ref{fig:distributions} displays the distributions of predicted and residual fixation location. Skipping of word $n - 1$ causes a leftward shift of the distribution. Interestingly, some predicted fixation location after skipping saccades are below $-\frac{1}{2}$ indicating the intended word was to the left of the fixated one. Although the distributions of the residuals for skipping and nonskipping cases are slightly skewed, the combined distribution of all residuals follows a normal distribution. Both predictions and residuals provide unique information, as they are uncorrelated by definition ($\rho \approx \Sexpr{format(cor(p_m_rfl_0_zcp, r_m_rfl_0_zcp), digits = 1)}$). \begin{figure}%[tb] <>= dat <- data.frame(pred = p_m_rfl_0_zcp, res = r_m_rfl_0_zcp, skip = as.factor(PSC$K1)) labels <- c("Word $n-1$ fixated", "Word $n-1$ skipped") levels(dat$skip) <- labels xlim <- c(-0.8, 0.8) binwidth <- 0.05 p1 <- ggplot(dat, aes(x = pred)) + # geom_vline(xintercept = 0, colour = "darkgrey") + geom_histogram(aes(y = ..density..), fill = NA, colour = "black", binwidth = binwidth) + facet_grid(. ~ skip) + theme_classic(base_size = base_size) + scale_x_continuous(breaks = seq(-0.5, 0.5, 0.25), labels = c("$-\\frac{1}{2}$", "$-\\frac{1}{4}$", "0", "$\\frac{1}{4}$", "$\\frac{1}{2}$")) + theme(axis.title.x = element_text(vjust = 0)) + labs(x = "Predicted relative fixation location", y = "Density") + coord_cartesian(xlim = xlim, expand = FALSE) p2 <- ggplot(dat, aes(x = res)) + geom_histogram(aes(y = ..density..), fill = NA, colour = "black", binwidth = binwidth) + facet_grid(. ~ skip) + theme_classic(base_size = base_size) + scale_x_continuous(breaks = seq(-0.5, 0.5, 0.25), labels = c("$-\\frac{1}{2}$", "$-\\frac{1}{4}$", "0", "$\\frac{1}{4}$", "$\\frac{1}{2}$")) + theme(axis.title.x = element_text(vjust = 0)) + labs(x = "Residual relative fixation location", y = "Density") + coord_cartesian(xlim = xlim, expand = FALSE) grid.arrange(p1, p2, ncol = 1) @ \caption{Distribution of predicted values (upper panels) and residuals (lower panels) of relative fixation location as a function of skipping of word $n - 1$. \label{fig:distributions}} \end{figure} In the first linked LMM, we include \emph{predicted} fixation location (specified as an orthogonal second-order polynomial). In comparison with the model including observed fixation locations, the fit was significantly better (see Table \ref{tab:fixation-duration-models}). In a further model, we include \emph{residual} fixation location. Again, the fit improves compared to the model with observed fixation location. Finally, we create a third linked LMM with both \emph{predicted and residual} fixation location. This model shows the best goodness-of-fit, indicating that both variables contribute to goodness of fit. At first glance this may appear to be an astonishing result, because obviously the sum of the predicted and residual fixation locations is simply the observed fixation locations ($x = \hat{x}+\epsilon_x$). The fixation-duration LMM, containing both the predicted and residual rather than the observed fixation locations, significantly increases both AIC and BIC \citep{Akaike1998, Schwarz1978}. The mere increase in the degrees-of-freedom (compare Table \ref{tab:fixation-duration-models}) cannot explain the increase in goodness of fit because both AIC and BIC penalize an increase in the number of parameters. Rather, it is the structure of the fixation-location model, precisely its ability to decompose the observed fixation locations, that adds new information to the fit of the fixation-duration model. In the following, we focus on the results of the model containing both the predicted and residual values of fixation location as estimated in the fixation-location LMM. Again, there are several significant effects of the properties of word $n - 1$, $n$, and $n + 1$. The model coefficients are displayed in Table \ref{tab:fixation-duration}. The pattern of effects is very similar to the one of the model with observed fixation locations with two exceptions: The formerly unreliable effects of word length for word $n - 1$ and word $n$ reach significance. And we obtain different linear and quadratic effects associated with predicted and residual fixation locations! The results are shown in Figure \ref{fig:fixation-duration-predicted-residual}. The negative-quadratic effect of the observed fixation locations on fixation durations is not reproduced with fixation locations as they were predicted by psycholinguistic word properties in the fixation-location LMM. Actually, there is even a relatively small \emph{positive} quadratic trend associated with the effect of these predicted fixation locations on single fixation durations, indicating an OVP effect. Clearly a very strong negative linear effect dominates the effect of predicted fixation locations on fixation durations, indicating shorter single fixations from the beginning towards the center and end of words. In contrast, the curve for the effect of the residual of the predicted fixation locations on single fixation durations is similar to the effect obtained for observed fixation locations. Indeed, the significant negative-quadratic effect of fixation duration resembles the IOVP effect. Thus, the classic IOVP effect for fixation durations is not reproduced with fixation locations as predicted by psycholinguistic word properties, but it is reproduced with the residuals of this prediction. \begin{figure}%[tb] <>= PSC$fd_pred_res_partial_pred <- keepef(m_fd_0_zcp_rfl_pred_res, fix = c("poly(p_m_rfl_0_zcp, 2)1", "poly(p_m_rfl_0_zcp, 2)2")) PSC$fd_pred_res_partial_res <- keepef(m_fd_0_zcp_rfl_pred_res, fix = c("poly(r_m_rfl_0_zcp, 2)1", "poly(r_m_rfl_0_zcp, 2)2")) ggplot(PSC, aes(x = rfl)) + geom_vline(xintercept = 0, colour = "darkgrey") + stat_smooth(method = lm, formula = y ~ poly(x, 2), se = TRUE, colour = NA, aes(y = fd_pred_res_partial_pred)) + stat_smooth(method = lm, formula = y ~ poly(x, 2), se = TRUE, colour = NA, aes(y = fd_pred_res_partial_res)) + stat_smooth(method = lm, formula = y ~ poly(x, 2), se = FALSE, colour = "black", size = 0.5, aes(y = fd_pred_res_partial_pred, linetype = "Predicted fixation location")) + stat_smooth(method = lm, formula = y ~ poly(x, 2), se = FALSE, colour = "black", size = 0.5, aes(y = fd_pred_res_partial_res, linetype = "Residual fixation location")) + scale_x_continuous("Relative fixation location", breaks = seq(-0.5, 0.5, 0.25), labels = c("$-\\frac{1}{2}$", "$-\\frac{1}{4}$", "0", "$\\frac{1}{4}$", "$\\frac{1}{2}$")) + scale_y_continuous("Fixation duration [ms]", breaks = log(seq(100, 1000, 5)), labels = seq(100, 1000, 5)) + coord_cartesian(xlim = c(-0.5, 0.5), ylim = log(c(179, 219)), expand = FALSE) + theme_classic(base_size = base_size) + theme(axis.title.x = element_text(vjust = 0)) + guides(linetype = guide_legend(keywidth = 2, title.position = "left")) + theme(legend.justification = c(0, 0), legend.position = c(0, 0), legend.title = element_blank(), legend.background = element_rect(fill = NA)) @ \caption{Fixation duration on word $n$ (on a log scale) as a function of predicted and residual relative fixation locations together with a second-order polynomial regression curve. The figure displays partial effects created with the \texttt{remef} package \citep{remef:1.0.6.9000}. Errorbands represent 95\% confidence intervals.} \label{fig:fixation-duration-predicted-residual} \end{figure} \section{Discussion} We propose a joint analysis of fixation locations and fixation durations in natural reading, accounting for a large number of effects related to psycholinguistic word properties and a directed effect of fixation location on the subsequent fixation duration at this location. To this end, first we decomposed observed fixation locations into predicted and residual fixation locations estimated in a traditional LMM. Then we used these variables as covariates for the fixation-duration LMM, thereby linking the first model into the second one. As a consequence of this linking, the IOVP effect of fixation location on single-fixation duration was reproduced with residual fixation location. If psycholinguistic word properties have an effect on fixation location, then such a decrease of fixation duration as fixation location shifts from the beginning to the center of a word is predicted by cognitive processing efficiency and is in agreement with results from isolated word recognition. In the following, we discuss these direct effects on fixation location and direct and indirect effects on fixation durations, highlighting the insight gained through linked LMMs. \subsection{Fixation location} \subsubsection{Visual, oculomotor, and lexical influences} The analysis of fixation locations reproduced known effects of the joint influence of visual and oculomotor variables and further revealed novel results about the impact of linguistic word properties. We replicated the canonical effects of length of words $n - 1$ and $n$, launch-site distance, and skipping of the preceding word on fixation location in word $n$. Moreover, we obtained effects of word frequency and predictability on fixation locations. These effects are particularly interesting as they constitute evidence for linguistic influences on saccade programs which materialize as shifts in fixation locations. The average relative fixation location increases with the predictability of word $n - 1$, the origin of the incoming saccade in nonskipping cases. This result indicates that ongoing lexical processes might influence the programming of the saccade goal. Fixating a difficult, low-predictable word results in a shorter saccade than fixating an easy, high-predictable word, presumably because of less remaining resources for the processing of upcoming letters in the parafovea \citep[cf.][]{Henderson1990}. This psycholinguistic processing difficulty results in shorter saccades and therefore potentially reduces the amount of new information extracted with the following fixation such that more resources remain for finishing ongoing processes. However, the effect is reversed for the frequency of word $n - 1$. This result is opposite to the expectation that high processing difficulty leads to right shifts of fixation locations. The effects of word $n$'s frequency and predictability on the fixation location are positive, as expected by the account in term of local processing difficulty. If the word is easier to process (i.e., it is more frequent or highly predictable), saccades land further into the word. Readers might use parafoveal information of the first letters to obtain the processing difficulty of the upcoming word. If they expect an easy word, the next saccade is longer to allow for processing additional information in the parafovea. In summary, for three out of four covariates, an increase in processing difficulty was associated with shifts of fixation locations to the beginning of words. In similar analyses of reading of simplified and traditional Chinese script, \citet{Kliegl2016} reported right shifts of fixation locations whenever processing difficulty was low on word $n - 1$ or word $n$ with respect to frequency, character complexity, or predictability of words. In other words, the direction of twelve covariate effects was in the expected direction. Thus, there remains a bit of a puzzle with respect to the opposite effect of frequency of word $n - 1$ on fixation location on word $n$. The interpretation of the interaction effects between skipping and word properties is straightforward. The impact of the properties of word $n - 1$ is stronger if it is skipped. In skipping cases, word $n - 1$ is an upcoming word. Not surprisingly, the decision to skip the word and consequently the fixation location are affected by the properties of the to-be-skipped word. In contrast, the effects of the properties of word $n$ are smaller if word $n - 1$ was skipped. This outcome is plausible too, as the successive word is preprocessed to a larger degree than a word further to the right. \subsubsection{Systematic and random variations} In summary, there are numerous effects of visual, lexical, and oculomotor variables on the computation of saccade goals (fixation location) in reading. In addition to the fixed effects, the model for fixation location included several random effects. Based on this complex model, we decomposed observed fixation location into predicted and residual fixation location. Residuals represent deviations of the fixation location that cannot be explained by psycholinguistic covariates or between-subject and -item variability. These deviations can be due to (a) not taking into account other important covariates, (b) nonlinear relationships between covariates and fixation locations, and (c) oculomotor error (imperfections in saccade targeting). Sources (a) and (b) can never be ruled out completely in regression analysis.% \footnote{An additional source of variance, particularly in eye-movement research, is measurement error. While this might contribute to random deviations in the data, differences with magnitudes of the widths of multiple characters are very unlikely when the calibration procedure was performed correctly.} However, there is evidence that (c), \emph{random oculomotor error}, contributes to variance between fixation locations \citep{McConkie1988}. Taking into account random error causing deviations from the intended saccade target, fixation locations in reading cannot be predicted perfectly. Indeed, random saccade errors are implemented in computational models of eye-movement control in reading, for example, SWIFT \citep{Engbert2005, Risse2014} and E-Z Reader \citep{Reichle1998, Reichle2009}, but an inherently random variable cannot be used as a covariate in statistical models. In the present context, the predicted fixation locations represent intended fixation locations based on several variables, mostly relating to psycholinguistic properties of words $n - 1$ and $n$. If fixation locations depend on psycholinguistic properties, the preferred viewing location, based only on word length and possibly launch site, is only part of the story; see \citet{Wei2013} for a similar argument with respect to saccade amplitudes. Rather saccade programs also depend on local processing difficulty. Thus, the intended fixation location appears to depend both on low-level visual and high-level cognitive processes based on current and expected word difficulties. Of course, random deviations from these predicted fixation locations are captured in the LMM residuals. \subsection{Fixation duration} Single-fixation durations were significantly affected by properties of the currently fixated word $n$, the previous word $n - 1$, and the upcoming word $n + 1$. Since these effects were basically in agreement with previous research \citep{Heister2012, Kliegl2006, Kliegl2007}, we will not comment on the results here. Rather we focus on the effect of fixation location on fixation duration and the linking of LMMs. In the traditional approach with separate LMMs, we used observed fixation location as covariate for fixation duration. As expected, there was a significant IOVP effect: Fixation duration was longest when the eyes fixated near the word center and decreased towards its boundaries. \subsubsection{Linking LMMs of fixation location and fixation duration} In a linked LMM, we used predicted and residual fixation locations as covariates for fixation duration. The models were fitted sequentially, such that the results of the fixation-location LMM was incorporated into the fixation-duration LMM. This allowed us to estimate effects of both intended fixation locations (as predicted by mainly psycholinguistic covariates) and random oculomotor error. Both predicted and residual fixation locations resulted in reliable linear and quadratic effects. Interestingly, the IOVP effect in observed fixation locations was not replicated with fixation locations as predicted by mainly psycholinguistic covariates. The dominant pattern was a linear decrease of fixation duration from beginning to center of words with predicted fixation location. There was also a significant quadratic trend weakening the decrease from the center to the end of words. However, the IOVP effect was obtained with the residuals of these predicted fixation locations. How can one interpret effects of predicted and residual fixation locations? \subsubsection{The effect of predicted fixation location} The predicted fixation locations represent intended saccade goals indicating local processing difficulty reflected mainly in psycholinguistic covariates of word frequencies and predictabilities. We observed a decrease in fixation duration with increasing fixation location. Isolated words are recognized most quickly, if they are fixated near their center. This finding does not necessarily need to hold for eye movements in normal text reading. In experiments utilizing the moving-window paradigm \citep{McConkie1975}, the \emph{perceptual span} in reading is highly asymmetric, extending much further to the right than to the left of the current fixation location \citep[for a review, see][]{Rayner2009}. Obviously, the asymmetry of the perceptual span translates into more efficient processing of characters to the right of fixation than characters to the left of fixation. Hence, a fixation location slightly right to the beginning of a word might allow for optimal processing of the fixated word. This is in agreement with the perceptual-economy hypothesis by \citet{Vitu2007}. Longer fixations near the beginning of a word are extended due to expected advanced processing. Because of the asymmetry of the perceptual span, fixations near the end of a word may be shorter. \subsubsection{The effect of residual fixation location} We observed the IOVP effect only for the residuals associated with the predicted fixation locations. Since residual fixation locations presumably reflect primarily random deviation from the intended saccade goal due to oculomotor error, a value of zero represents a fixation location that is exactly at the intended location. Negative values indicate saccadic undershoot while positive values indicate saccadic overshoot. If the saccade lands near the intended location, fixations are longer compared to too-short or too-long saccades. This observation is in seamless agreement with the hypothesis of mislocated fixations \citep{Nuthmann2005, Nuthmann2007}. \subsubsection{The IOVP effect revisited} Integrating the last paragraphs, we highlight a very specific contribution of our linked LMM analyses to an understanding of eye-movement control during natural reading. The results help to reconcile the paradoxical result that fixation durations are longer in the word center when they should be shorter from a perspective of processing economy and as found in isolated word recognition, that is the IOVP effect. The joint analysis of fixation locations and fixation durations with linked LMMs provides new support for the thesis that the IOVP effect is primarily due to oculomotor errors. More importantly, it appears that the part of fixation location predicted by psycholinguistic properties for the left half of the word is in agreement with results from isolated word recognition: Fixation durations decrease as fixation locations shift from beginning to the center of the word. There is no evidence for an increase of fixation durations as fixation location shifts from center to the end of the word, but this may well be due to the asymmetry of the perceptual span during natural reading; a symmetric perceptual span is quite plausible for the recognition of isolated words that are presented in the center of the screen. In addition, a qualitatively similar dissociation of effects of predicted and residual fixation locations on fixation duration was already found for reading of simplified and traditional Chinese script \citep{Kliegl2016}. \subsection{Linking statistical and computational models} Predictions of fixation durations based on linked LMMs may also provide much more accurate simulation targets for computational models of eye-movement control (e.g., E-Z Reader, Glenmore, and SWIFT) than the table of means for single-fixation, first-fixation, and gaze duration broken down by word frequency and word length. Instead of describing the responses through isolated models for fixation locations and fixation durations, they take into account that both measures are outcomes of entangled processes. They attempt to capture one specific dynamic aspect relating to the relation between local processing difficulty and the selection of the next saccade target. Computational models differ strongly in how they implement this dynamic aspect. How they do so reflects their theoretical cores. The systematic and graded effects uncovered with linked LMMs present formidable challenges for the next generation of computational models. The qualitatively different effects of predicted and residual fixation location on fixation duration are an example. To the degree that the theoretical assumptions guiding their implementation are correct, the simulations should be able to reproduce such patterns of results at least qualitatively. Possibly, the results are already latently present in the simulation results of some of the computational models. \subsection{Reliability of linked linear mixed models} In order to evaluate the reliability of sequential fitting of linked models, we used simulations to assess the reliability of the regression coefficients of the second linked model (for fixation duration). We sampled values from the distribution defined by the first model (for fixation location) and used the corresponding predictions and residuals to sequentially fit a second linked model. Further technical details of this approach are provided in the supplement. In summary, the obtained coefficients of predicted and residual fixation location (linear and quadratic) were very close to the ones in the original model. The effects remained significant in \emph{all} simulation runs demonstrating the reliability of our sequential linked linear model approach. There is one serious concern one may have about the two-step approach of estimating a first LMM and then including predicted and residual values of this first LMM as covariates in a second LMM. By linking two LMMs, they actually become one nonlinear mixed model (NLMM). Consequently, this single NLMM should be fitted to the data instead of two LMMs. The fit of a single NLMM provides the advantage that the estimates of the fixed and random effect coefficients associated with the first LMM could be improved through the additional information provided by the observations described by the second model. In the supplement, we demonstrate the concept of a nonlinear joint fit with a simulated data set. It turns out that a joint fit of a single model and a sequential fit of two models produce similar results while the computational costs of the former are much higher. Furthermore, we show that model linking is capable of recovering the simulated linkage of two models whereas separate models fail. \subsection{Linked LMMs beyond eye-movement research} Having to deal with multiple correlated outcomes is probably the default situation for any type of psychological research. These outcomes are usually the result of dynamically entangled processes which we hope to understand via their relation with covariates. Obviously, the application of linked LMMs is not limited to studying the control of eye movements during natural reading. They may be an attractive alternative for the analysis of multiple outcome variables in many other research settings. In contrast to separate statistical models, they capture the redundancy between measures and their relative sensitivity to covariates, making a step forward towards an adequate description of entangled covariates. Linked LMMs also allow for isolating the indirect contribution of psycholinguistic covariates and thereby testing their influence on critical effects. If a covariate of the first LMM is removed and the model is fitted without this covariate, the variable inherently does no longer affect the predictions. Hence, the contribution of the covariate is shifted from the model predictions to the model residuals. If the covariate does indeed have an effect on a second outcome in a linked LMM, removing the covariate will result in a critical effect of the first model's residuals. The decomposition of one outcome into predicted values and residuals, and their use as covariates in a second model, not only allows for the distinction between direct and indirect effects of covariates but also links these formally isolated models. As our reconciliation of different accounts for the paradoxical IOPV effects shows, they even may help us to determine dependencies that remain hidden with separate linear mixed models. \bibliographystyle{apacite} \bibliography{references} \end{document}