Abstract
In simulating drivers’ engagement in secondary tasks in a driving simulator, the objective of this study was to investigate drivers’ gaze duration when performing the tasks, reflecting the time away from the driving scene (commonly referred to as total eyes off road time [TEORT]). Eighty-five participants engaged in the secondary tasks on a driving simulator at University of Kansas, KS. TEORT values were extracted using an eye-tracker for secondary tasks, which were then modeled using a duration modeling approach. Specifically, a correlated grouped random parameters accelerated failure time Weibull duration model with heterogeneity in the mean was developed, capturing the repeated nature of observations and allowing drivers’ gaze durations to be heterogeneous. The random parameter for Age Group 1 suggested that most young drivers (54%) took a shorter time to complete the secondary task, whereas the random parameter for Age Group 3 indicated that about 58% of older drivers took a shorter time to complete the secondary task. These results showed significant heterogeneity in TEORT and mixed effects on safety, whereby drivers’ longer gaze duration indicated risky behavior. The findings of this study confirmed that not only was the driving behavior of one specific age group (Age Group 1) riskier than the others but that the risk within each group was not uniform—individual drivers within an age group exhibited significantly different TEORT, suggesting the need for more nuanced, intragroup analysis. The study highlights how analyzing gaze behavior can aid in designing advanced driving assistance systems to minimize distraction.
Driving requires complete attention (or situational awareness) to the surrounding traffic dynamics, whereby drivers make longitudinal and lateral continuous decisions. Vehicle technological advancements ought to be beneficial and assist in these decisions ( 1 ). However, as with any scientific inventions, advancement can be a double-edged sword, which, in relation to vehicles, could lead to driving performance deteriorating ( 2 ).
Although driving per se is already a demanding task, engaging in a secondary task increases the workload and compromises attention on the primary driving task. A secondary task is any activity the driver performs that does not directly relate to the primary task of vehicle control and navigation. Secondary tasks divert attention from the road and can compromise safety by interfering with the driver’s ability to perceive, process, and respond to traffic conditions. Secondary tasks are typically classified into three broad categories based on the type of distraction ( 3 ). First, visual tasks require the driver to look away from the road, such as checking a mobile phone screen, adjusting a GPS device, or reading dashboard information. Second, cognitive tasks engage the driver’s mental focus, drawing attention away from driving decisions. Examples include absorbing conversations, problem-solving, or mentally rehearsing a presentation. Third, manual tasks involve physical actions that take the driver’s hands off the steering wheel, such as eating, texting, or reaching for objects. Understanding and categorizing these tasks are essential for designing safer vehicle interfaces, evaluating driver workload, and developing policies to mitigate distraction-related risks.
A secondary task leads to a loss of situational awareness (or inattention), significantly increasing crash risk ( 4 ). The 100-Car Naturalistic Driving Study reported driver inattention as a cause of 78% of collisions, where almost 93% of rear-end collisions occurred because of drivers being distracted while driving ( 5 ). In the past 2 years in the United States, more than 6,600 people were killed in collisions where drivers were inattentive, engaged in secondary tasks, or both ( 6 ). Similarly alarming statistics can be found for the consequences of distracted driving in other parts of the world, for example, a 10% rise in fatal crashes in 2022 in the UK compared with the previous year ( 7 ) and a 5% to 23% increase in deaths in diverse areas of Australia (metropolitan 8%, regional 5%, and remote 28%) in 2023 compared with the previous year ( 8 ). Further, engaging in secondary tasks while driving may cause a delay in response to the leader’s action. A study from Germany found that about 65% of drivers failed to recognize the leader or did not respond on time, which led to collisions ( 9 ). Therefore, understanding how a secondary task affects driving behavior and quantifying such impacts is paramount to devising tailored countermeasures and improve traffic safety.
Literature on the effects of secondary tasks spans more than two decades. Engaging in secondary tasks increases cognitive workload ( 10 ), which impairs driver performance. This impairment has been measured in several forms, such as deteriorated speed control, increased variation in lateral control, shorter headways, increased reaction time in responding to hazards, limited visual scanning, particularly a decline in peripheral eye scanning, and impairment in perceiving relevant stimuli ( 11 – 13 ). Driver’s gazing behavior is of interest in this study because of the link between poorer driver performance and the duration a driver’s eyes are diverted from the road scene to focus on a secondary task.
Gaze behavior is pivotal in understanding driver distraction as it offers a direct, quantifiable window into how drivers allocate their visual attention—a core component of safe driving ( 14 ). Unlike self-reports or indirect measures, gaze tracking provides real-time insights into where, when, and for how long a driver looks at specific elements inside or outside the vehicle ( 15 ). This aspect is crucial because when drivers engage in secondary tasks—such as adjusting a navigation system, reading a message, or interacting with in-vehicle interfaces—their gaze often shifts away from the forward roadway, increasing the likelihood of collisions ( 3 ). Studying gaze behavior enables the design of smarter vehicle interfaces, adaptive driver assistance systems, and distraction mitigation strategies. It also informs policy and education by identifying high-risk behaviors and guiding interventions.
Gazing behavior, often characterized by total eyes off road time (TEORT), has been studied in various ways, for example, investigating loss of comprehension ( 16 ), taking over after automated driving ( 17 ), using in-vehicle navigation systems ( 18 ), comparing manual versus speech-based interaction with in-vehicle information systems ( 19 ), using a mobile phone ( 20 ) (see Table 1 for further examples). However, an in-depth analysis of gazing behavior during a secondary task for different age groups and genders is relatively less explored (e.g., Cooper et al. [ 21 ]), despite these driver characteristics reportedly being linked to crash risk ( 22 ). Building on the vast literature ( 23 – 25 ), it can be hypothesized that different age groups and genders are likely to yield differential gazing behavior, and as a result, will require the use of advanced statistical (or econometric) methods beyond what has been typically used in distraction/secondary task literature (e.g., analysis of variance [ANOVA] and simple statistical analyses and models that are incapable of uncovering driver-level heterogeneity [ 26 ]).
Summary of Representative Studies on Gazing Behavior
Note: ANOVA = analysis of variance; MANOVA = multivariate analysis of variance; — = not mentioned.
Here, heterogeneity refers to unobserved heterogeneity in general and driver-level heterogeneity in gazing behavior corresponding to driver demographics.
Motivated by this research need, the objective of this study was to investigate drivers’ gazing behavior when they are engaged in a secondary task. Specifically, the study focuses on understanding the gazing behavior of different age groups and gender using the data collected from a driving simulator experiment. The contribution of this study is twofold: firstly, it provides a deeper understanding of gazing behavior corresponding to different age groups and gender by considering driver-level heterogeneity. To this end, this study adopts a correlated grouped random parameters approach with heterogeneity in means for modeling gazing behavior. Although this modeling approach has been applied in traffic safety literature, its application for understanding the effects of secondary tasks, particularly in the context of gazing behavior, is still in its infancy. Secondly, this modeling approach reveals the gaze duration time-varying probabilities of different age groups and gender, which could be helpful in linking driving performance and the time eyes are diverted from the driving scene.
The paper is structured as follows: the next section summarizes the relevant literature and forms the background of the study; the subsequent section explains the experimental plan, including details of the driving simulator, design of the experiment, participants, secondary tasks, and data preprocessing. Then, the model development process and the dataset used are described. Next, the modeling results are presented, followed by a discussion of the results. The final section summarizes the study findings and provides an outlook on future research.
Background
Abundant literature exists on driver’s gazing behavior (or visual scanning/attention behavior; see e.g., Hu et al. [ 71 ]), and some of these representative studies are summarized in Table 1, along with a few key observations. Note that covering all studies on this topic was beyond the scope of this study, however, interested readers can refer to certain earlier studies for more detail (3,72).
Firstly, several studies have analyzed driver’s gaze duration (characterized by TEORT) under various conditions including using mobile phones (either handheld or hands-free), engaging in secondary tasks using in-vehicle information systems (e.g., solving math problems and searching for external target objects), resuming driving from automated driving to manual driving, spending time on external stimulus such as traffic signs and billboards, and considering varied traffic conditions. This study, similar to others, is concerned with engaging in secondary tasks using in-vehicle information systems. Secondly, the analysis techniques used in past studies have mostly focused on understanding how gaze duration varies, by performing an analysis of variance (ANOVA) and simple pairwise comparisons for age groups and gender. However, these studies did not simultaneously evaluate the impact of various factors combined with driver demographics on gazing behavior, which could be attributed to using ANOVA/simple pairwise comparisons. To this end, certain studies applied statistical modeling techniques like negative binomial, conditional logistic, quantile regression, and structural equation models. Some of these applications also considered mixed effects in their models, however, driver-level heterogeneity remains unexplored (as is evident from Table 1), which again could be attributed to the lack of advanced methods employed to understand driver-level heterogeneity. This study aimed to address these gaps by applying advanced econometric models capable of uncovering driver-level heterogeneity, to assists in deciphering heterogeneous gaze behavior. These methods (e.g., random parameters with heterogeneity in means and variances) have been predominantly applied in several transport-related applications, such as response time in car-following ( 73 ) and lane-changing tasks ( 74 ), braking in response to a pedestrian crossing from a sidewalk ( 75 ), failed lane-changing occurrence ( 76 ), and an assessment of temporal instability in motorcyclists ( 77 ). However, application of such models for gazing behavior is relatively new, which is one of the contributions of this study.
Driving while engaged in secondary tasks (i.e., distracted) under normal conditions does not necessarily indicate increased risk. In fact, certain studies have shown that drivers can improve their performance when engaged in a secondary task, particularly in situations with low cognitive workloads (defined as “the proportion of mental capacity required by an individual to perform a task” [ 78 ]). For instance, Gershon et al. examined the efficacy of an interactive cognitive task (ICT) in delaying fatigue symptoms induced by underload conditions on interurban roads ( 79 ). The results revealed that when ICT was activated, it increased arousal, alertness, and improved driving behavior compared with when it was not activated. In another study, Atchley and Chan analyzed whether a concurrent task improved performance with decreased vigilance ( 80 ). Drivers were presented with three task conditions (no verbal task, a continuous verbal task, and a late verbal task): they showed improved lane-keeping performance and steering control when vigilance was at its lowest. While comparing different secondary tasks, their cognitive requirements, and their impact on driving behavior, Nijboer et al. reported that using a tablet deteriorated driving performance the most, whereas passively listening to the radio or answering questions for a radio quiz led to the best driving performance ( 81 ). All these findings imply that engaging in secondary tasks leads to heterogeneous driving behavior ( 26 ).
Although this improved driving behavior can be attributed to the low cognitive demand of the scenarios presented in previous studies, research evidence of secondary task performance in high cognitive workload environments is scant. Therefore, studying distracted driving in such environments (e.g., active work zones) presents an opportunity to address this research gap: to examine the gazing behavior (i.e., TEORT) of drivers managing secondary tasks in a high cognitive workload environment while trying to minimize any negative impact on their driving performance.
Experimental Plan and Data Collection
Driving Simulator
The study conducted a driving experiment using a fixed-base driving simulator housed in the front portion of an Acura MDX cab that runs on the miniSim platform developed by the National Advanced Driving Simulator in Iowa ( 82 ). The simulator features three front screens, providing a wide horizontal field of view of 170°, and a fourth rear screen that renders viewpoints of the side and rearview mirrors as shown in Figure 1.

Equipment setup and configuration.
In addition, a dash-mounted Fovio FX3 eye-tracker and 10-in. touchscreen interface were placed approximately 30° to the lower right of the driver’s line of sight. An eye-tracker was utilized for recording gaze position by creating four zones of interest: driving scene, side and rearview mirror, instrument cluster, and media center or secondary task, during postprocessing. The touchscreen allowed performance of a secondary task and assisted in gauging in-vehicle distracted driving behavior ( 16 , 83 , 84 ).
Participants
The study received approval from the University of Kansas Human Research Protection Program. Various public locations (e.g., libraries, universities/colleges, grocery stores, and community centers) in the states of Kansas and Missouri, including the cities of Lawrence, KS, Overland Park, KS, Shawnee, MO, and Kansas City, MO, were used to advertise the study. Recruitment efforts involved distributing flyers, sending emails, and targeted advertising on Facebook. Interested individuals had to complete a prescreening questionnaire that gathered information on demographics, driving experience, crash history, medical conditions, and so on. To be eligible for participation and monetary compensation on successful completion of the experiment, individuals had to meet the following criteria: to be between 18 and 65 years old, hold a valid U.S. driver’s license, have at least 1 year of driving experience, cover an annual driving distance of more than 1,600 km (1,000 mi), and be in a satisfactory medical condition, meaning they were free from heart conditions, noncorrectable eye conditions, seizures, inner-ear/balance problems, and the possibility of pregnancy.
From the registered participants, 85 eligible individuals performed the experiment. The mean and standard deviation of age of the participants were 31.4 and 14.2 years, respectively. Males and females were almost equally represented in the sample. The average annual mileage for all participants was 19,400 km, with a standard deviation of 13,780 km ( 85 ).
Scenario and Testing Protocol
On arrival at the laboratory, participants were provided with an explanation of the informed consent process and given a brief tutorial on how to operate the driving simulator. Following this, they performed a 10-min warm-up scenario comprising rural highway driving (speed limit of 112.7 km/h [70 mph]) with a very low traffic density (0 to 2 passenger cars per kilometer per lane (pc/km/ln) equivalent to Level of Service A) to familiarize themselves with the virtual environment, simulator, and process of the experiment. Once the warm-up drive was completed, participants started the actual driving experiments and engaged in a distracted driving task. This task involved driving along an 8-km stretch of a 10- to 12-lane divided freeway, with a posted speed limit of 112.7 km/h (70 mph), traffic density varying between 22 and 24 pc/km/ln (Level of Service of D/E), and active work zones on both sides of the road, leaving two open lanes (as depicted in Figure 2). No pedestrians were present on the roadway at any point of the drive.

A general schematic of task layout and road geometry.
During the tutorial phase, participants were also screened for simulator sickness. Any participants who showed severe signs of simulator sickness (e.g., vertigo, nausea, sweating, dizziness, fatigue, stomach awareness, vomiting, and general discomfort) were advised to withdraw from the study. The experimental layout was also kept short and comprised minimal turning movements to minimize any potential discomfort and reduce the likelihood of simulator sickness. Of the 90 scheduled participants, five withdrew from the study because of symptoms of simulator sickness.
Data from the first and last 0.8 km (0.5 mi) were excluded from the analysis to provide sufficient time for participants to reach the posted speed limit and to exclude any deceleration trends observed toward the end of the drive ( 85 , 86 ). Participants were additionally required to fill out the National Aeronautics and Space Administration Task Load Index (NASA-TLX) and Situational Awareness Rating Technique (SART) questionnaires on completing the tutorial (i.e., baseline) and after the distracted driving task, offering a subjective assessment of their experience. The NASA-TLX is a validated measure of cognitive workload, consisting of six subscales: mental demand, physical demand, temporal demand, performance, effort, and frustration ( 87 ). Each subscale is scored on a 20-point scale and weighted based on 15 pairwise combinations. A higher NASA-TLX score, compared with the baseline condition, indicates increased cognitive workload. To assess changes in situational awareness, the SART questionnaire was administered in a similar manner to the NASA-TLX. Situational awareness scores were calculated by averaging the 10 individual subscales across three domains: attentional demand, attentional supply, and understanding ( 88 ). (The overall comparison of cognitive perceptions of the distraction task to the baseline, across the participants, is available in Appendix A in Supplemental Material.)
Secondary Task
As mentioned in the background section, to date, less emphasis has been placed on studying distracted driving behavior in high cognitive workload environments. This study addresses this gap by utilizing work zones to simulate high cognitive workloads to enforce the detrimental repercussions (i.e., loss of lateral control and increased crash risk) of distracted driving. This setting results in more naturalistic risk perceptions and tailored gazing behaviour during the simulated task, thus overcoming low cognitive workload environments (i.e., empty rural highways, ideal weather conditions, very low traffic densities, and conditions with low probability of change to the required cognitive resources) that are often overlooked by drivers.
The distracted driving task included four separate distraction events, each lasting no longer than 25 s (referred to as D1 to D4 in Figure 2). These events were triggered using audio commands (i.e., start/stop, using the GPS) and were designed to simulate scenarios such as using the media center or entering text into an onboard navigation system (as illustrated in Figure 1). The four distraction events required participants to perform a visual secondary task while driving by matching a number displayed in a box on the top-right of the panel (“Please select the number shown,” as shown in Figure 1) with the corresponding number on one of the nine randomly varying tiles. The application also recorded and displayed the number of correct matches (hits) and total attempts made (clicks), aiming to keep participants visually and cognitively engaged throughout the task.
Preprocessing
Eighty-five participants successfully completed the distraction task, and four distracted driving observations were obtained per participant, as shown in Figure 2, producing a panel dataset of 340 observations for 85 participants. Four distraction events were included during the drive to provide repeated observations at different points (i.e., early, midway, and later) in the scenario. This approach minimized the possibility that the findings were the result of a one-off instance or order bias, instead highlighting consistent behavioral adjustments.
As this research focused on utilizing changes in driving performance (i.e., fluctuations observed in lateral and longitudinal driving) and the time spent gazing away from the driving scene (defined as the sum of the gaze durations directed toward attempting the distraction task in a given scenario, or TEORT) during the duration event, data fusion was employed to merge the raw driving performance and eye-tracking datasets, as shown in Figure 3. The raw data were downsampled from 60 to 10 Hz for processing efficiency and then fused based on system time. Individual trajectories were then split with respect to the distraction events (shown in Figure 4), allowing for the extraction of driving performance and gazing behavior within the period of interest.

Data extraction framework.

A typical time-series profile of (a) speed and (b) distraction.
Hazard-Based Duration Model Development
As discussed in the previous section, the purpose of this study was to understand drivers’ gazing behavior, measured as the time (or duration) spent on attempting the distraction task (or TEORT). In other words, the duration variable represents the collective time spent on four distractions per participant. To model duration data, this study applied a hazard-based, or survival, duration modeling approach. This probabilistic approach is deemed fit for modeling duration data where a need arises to model the elapsed time until the end of an event or the duration of an event. Duration models have been frequently used for various transport applications, such as studying the time until a crash occurs, the time to respond to pedestrians walking from the sidewalk, and the length of time spent shopping and engaging in recreational activities ( 89 ).
In general, duration models are employed to model the conditional probability of the duration of an event ending at time t, given that the event duration has not ended until time t. Using the same definition, this study models drivers’ total gaze durations when they perform secondary tasks and take their eyes away from the driving scene. In other words, the duration variable represents the time taken to complete the secondary task, which is characterized by TEORT. Note that while calculating this time, it was ensured that the driver was engaged in and looking at the task. TEORT is a continuous random variable, T, with a cumulative function,
Similarly, the survival function, S(t), yields the probability that the drivers’ gaze will revert to the driving scene in a time greater than a specified time,
Proportional hazard and accelerated failure time (AFT) approaches are used to incorporate the effects of covariates on a hazard function. Whereas the former approach assumes that the hazard ratios are constant over time, whereby the covariates act multiplicatively on the baseline hazard function, h0(t), the latter approach makes it relatively simple to incorporate the effect of covariates by rescaling time directly in a baseline survival function, S0(t), where all covariates are zero ( 89 ). AFT estimates an acceleration factor that captures the direct effect of exposure on survival time, facilitating an intuitive and more straightforward interpretation of the model. Given the estimated parameters of an AFT model quantify the corresponding effect of a covariate on gaze durations, this modeling approach was adopted in this study.
Mathematically, the natural logarithm of TEORT,
where
where
Descriptive Summary of Explanatory Variables Considered for the Duration Model
Note: TEORT = total eyes off road time; MANOVA = multivariate analysis of variance; SD = standard deviation.
From Equations 4 and 5, a direct relationship between the effects of covariates and TEORT can be observed, implying that these covariates may increase or decrease TEORT.
For specifying a parametric distribution of the duration variable, various distributions are used in the literature, including Weibull, lognormal, exponential, gamma, log-logistic, and Gompertz ( 89 ). Selecting a particular distribution is often based on theoretical justification or statistical testing, as it has direct implications on the underlying hazard function and potential bias of the estimated parameters. Theoretically, a Weibull distribution is suitable for data with monotonic hazard rates that either exponentially increase or decrease with time. Drivers’ TEORT when engaged in secondary tasks represents a positive duration dependence event, where drivers reverting their gaze to the driving scene increases monotonically, and the probability of gaze reverting to the driving scene is likely to increase over time. The Weibull duration model is particularly suitable for positive duration dependence events, which was relevant to this study. Further, the fitted distribution of TEORT was statistically tested using an Anderson–Darling test, and its result confirmed that our data followed a Weibull distribution (p > 0.05). Beyond these two reasons, this study estimated models with other distributions like lognormal and logistic, and compared them using goodness-of-fit measures (likelihood values) and Cox–Snell residuals, and the model with the Weibull distribution outperformed all competing models. Based on the theoretical and statistical evaluation, this study adopted the Weibull distribution (see Washington et al. [ 89 ] for details of the hazard and survival functions).
In practice, different drivers may revert their gaze to the driving scene at different times depending on their personal characteristics and risk-taking behavior. Therefore, an interaction term (e.g., age or gender) might be used in the model, which might explain this behavior to some degree; however, two issues persist. Firstly, finding and testing all possible combinations of interaction terms is challenging because the number of potential combinations of variables and their higher-order interactions grows geometrically with the number of ordinal-scale variables and exponentially with nominal-scale variables. Secondly, even using all possible interaction terms in a fixed parameters model would provide only an average effect for a given interaction term (e.g., Age Group 1 with females), because a fixed parameter model assumes that all drivers spend the same time performing the secondary tasks. To capture individual or driver-level heterogeneity, a random parameters approach has been proposed in the literature (
73
,
91
), and was adopted in this study as, by allowing the estimated parameters to vary across individual drivers, it captures the preference heterogeneity and differential effects of the same treatment on different individuals. Specifically, by using random parameters in the hazard-based duration model, we consider
where
This study used an unrestrictive form of the Cholesky matrix ( 92 ) that allows capturing correlations between two or more random parameters, as well as accounting for the panel nature of data. In the literature, this modeling framework is often called “correlated grouped random parameters with heterogeneity in the mean” ( 93 ). Behaviorally, incorporating correlated random parameters assists in capturing the correlation among unobserved heterogeneities (or characteristics) that are encapsulated by random parameters. For example, the unobserved factors that influence the effect of age on TEORT might be correlated with unobserved factors that influence the effect of gender on TEORT.
This study employed a maximum simulated likelihood estimation technique for the random parameters model for two reasons. Firstly, in random parameters models, some coefficients (e.g., for Age Group 1, Age Group 3) are assumed to vary across individuals or observations, typically following a specified distribution (i.e., normal), which introduces integration over the distribution of random parameters into the likelihood function, and this integral becomes analytically intractable. As such, using the maximum simulated likelihood estimation procedure becomes feasible, allowing us to account for unobserved individual-level variation in a statistically rigorous way, even when the likelihood function cannot be expressed in closed form. Secondly, because our dataset contains repeated observations of the same participant, using the same draw of
To interpret the model parameters and their effects on gaze duration, the exponent of each coefficient, exp (β) -1) × 100, was computed, reflecting a per cent change in TEORT corresponding to a unit increase in the continuous variable or a change from 0 to 1 for categorical variables.
In most driving simulator studies, duration models are applied to study relative changes in driving behavior, whereby the results are compared with a baseline condition (e.g., comparing car-following behavior with and without driving aids [ 73 ]). However, in this study, we intentionally did not use the baseline (tutorial) for modeling purposes because drivers’ gaze during the baseline condition (without a secondary task) was almost always on the driving scene, thereby resulting in a value of zero for time spent gazing at the secondary task.
Results
Preliminary Analysis
To fully understand gaze behavior during the secondary task across age groups and gender, this study performed a preliminary analysis using a repeated measures multivariate ANOVA (MANOVA) and duration modeling sequentially. This study evaluated four independent variables by aggregating the four distraction events, that is, TEORT, count of glances off the road, mean duration of individual glances off the road, and duration of the longest glance off the road ( 27 , 54 ). Figure 5 shows the box plots of these metrics, categorized by gender and age group (independent variables). Overall, the TEORT, count of glances, and mean duration of glances showed slight differences between the groups, warranting further investigation.

Box plots of gaze behavior metrics by age group and gender: (a) TEORT, (b) count of glances, (c) mean duration of glances, and (d) longest glance duration.
A repeated measures MANOVA was performed as a first-level check to statistically examine whether differences existed across gender, age group, and their interaction with the distraction-related measures before applying the more complex, correlated random parameters duration model. Unlike a standard ANOVA, which examines each dependent variable separately, the repeated measures MANOVA tests all four dependent variables simultaneously, accounting for correlations among them and providing a multivariate test of group and interaction effects. Further, although there were three age groups in the study, Table 3 does not show descriptive statistics by age/gender group; instead, it presents the MANOVA summary statistics (degrees of freedom, mean squared, F-statistic, significance, and effect size) for the age group (or gender) factor as a whole, and only one set of summary statistics per dependent variable is shown (e.g., “Age Group”). From the descriptives shown in Table B1 of the Appendix, differences in means were observed across the dependent variables and the groups. However, high standard deviations were also noted, reflecting a wide range of variation among participants’ responses to the secondary task.
MANOVA Summary Statistics
Note: TEORT = total eyes off road time; MANOVA = multivariate analysis of variance.
Actual group means are presented in Appendix Table B1 (Supplemental Material) to provide the descriptive statistics for each age and gender group, complementing the overall MANOVA results presented in Table 3.
No significant results were obtained at a 95% confidence level, indicating no between-group differences in observations of the dependent variables. However, more complex statistical methods like hazard-based duration models considering random effects and group heterogeneity are likely to provide valuable insights into the effects of these variables on TEORT.
As an initial step, correlation tests (Figure 6) were conducted to identify variables suitable for duration modeling. The Spearman and Pearson tests revealed significant correlations among the four variables of gaze behavior. Each of these metrics (except for glance count) was tested for duration modeling (as a response variable), but only TEORT showed significant relationships, allowing us to investigate gazing behavior for different age groups and gender (the study objective).

Correlation assessment of gaze metrics.
Modeling Results
Several variants of the random parameters duration models were estimated to understand gazing behavior. These models included a fixed parameters model, and random parameters models with and without heterogeneity in the mean, and correlation between the random parameters. These models were compared with each other, and the best model was selected based on a series of likelihood ratio tests and the Akaike information criterion (AIC).
Comparing the fixed- and random parameters models, the likelihood ratio statistic,
Although Table 4 presents the parsimonious model with main effects, several interaction effects were tested in the model, namely age and gender, and only one interaction effect (i.e., heterogeneity in the mean: female × Age Group 3) was found to be significant. All other interaction effects were tested in the model but were not retained because they neither showed statistical significance nor improved overall model goodness-of-fit. Further, to handle potential confounding variables, the models were developed separately for each (e.g., age and driving experience). The parsimonious model was selected based on the intuitive relationship of the variable, statistical significance, and overall model goodness-of-fit.
Estimation Results of the Random Parameters Duration Model
Note: SE = standard error; CI = confidence interval; na = not applicable.
LL (
Table 4 presents the model estimation results for the correlated random parameters duration model with heterogeneity in the mean. All parameter estimates were statistically significant at a 90% confidence level. The model’s scale (or Weibull) parameter (P) was 2.279, and a t-test on this parameter suggested that it was significantly greater than 1.0 (t = 14.27, p < 0.001), indicating an increasing hazard function, implying that the secondary task event completion probability increased with elapsed time. Further, the model comprised both random and nonrandom parameters, whereby the dummy variables for Age Group 1 and Age Group 3 represented the former group. Several distributions were explored for random parameters (e.g., normal, lognormal, Weibull, uniform, and triangular). The normal distribution provided a statistically superior model fit relative to other distributions tested in this study, which was consistent with past literature ( 95 ). In addition, the normal distribution captured the negative and positive effects of age groups on TEORT, implying that gaze duration might increase or decrease for young drivers (considering Age Group 1). The remaining parameters were nonrandom and consisted of the number of kilometers driven, speed fluctuations, and initial speed (at the onset of the secondary task). Note that several demographic variables (e.g., crash history in the past 5 years, traffic violation history in the past 2 years, cell phone use while driving, and education level) were tested in the model, but these variables were not retained in the parsimonious model as a result of statistical insignificance.
Table 4 also provides the diagonal and below diagonal elements of the Cholesky matrix for each random parameter. Using these elements, the standard deviation of each random parameter can be calculated as the square root of the variance (i.e., elements of the variance-covariance matrix obtained via
Initial speed—measured at the onset of the secondary task—had a significant and positive relationship with TEORT in the model. By keeping other variables constant, a 1 m/s increase in the initial speed tended to increase gaze durations by 0.4%. Similarly, speed fluctuation—measured as the standard deviation of speed 5 s before the secondary task—was negatively associated with TEORT in the model, with an increase of 1 m/s in speed fluctuations tending to decrease gaze duration by 16.8%. Further, the number of kilometers driven was significant and negatively associated with TEORT. The model suggested that gaze duration decreased with a greater number of kilometers driven: every 1,000 km decreased gaze duration by 0.45%.
Both the mean and standard deviation of the normally distributed parameter of the Age Group 1 dummy variable were statistically significant (p < 0.001). The mean value suggests that relative to Age Group 2, on average, Age Group 1 took about 3.31% less time reverting their gaze to the driving scene. We also observed significant heterogeneity in TEORT for drivers within Age Group 1, showcasing an ability to be both longer and shorter in duration compared with Age Group 2. Age Group 1’s distribution is depicted in Figure 7a, indicating that about 52% of its generated coefficients were actually negative, whereas the remainder were positive, confirming heterogeneity. Further, driver gender was found to influence the TEORT of Age Group 1. Therefore, we decomposed the distribution of Figure 7a to obtain two separate distributions as per Figure 7c. As such, we obtained a mean survival rate of 0.807 and 1.03 s for females and males, respectively, indicating the relatively shorter gaze durations of female drivers. We discuss this gender effect further in the next section.

Distributional effect of the random parameters: (a) Age Group 1, (b) Age Group 3, and (c) TEORT for male drivers versus female drivers.
The mean parameter for the Age Group 3 dummy variable was significant and positively associated with TEORT. The model revealed that drivers in Age Group 3 took more time to complete the secondary task compared with Age Group 2: this could be associated with several factors like cautious driving, task difficulty, or slower sensory motor and processing power—more details to follow in the next section. Similar to Age Group 1, heterogeneity was observed, whereby the majority of drivers obtained a negative coefficient, whereas 42% maintained a positive value, see Figure 7b, suggesting significant driver heterogeneity in this context.
Because of the unrestricted form of the Cholesky matrix, we were able to investigate the correlation between the random parameters, offering more insights into the gaze behavior of drivers during the secondary tasks. The results indicated that the random parameters for Age Groups 1 and 3 correlated at a 90% confidence level (t-statistic = 5.66; p < 0.001), with a covariance of −0.014 and a correlation coefficient of −0.58. The t-statistic and correlation coefficients were calculated following the postestimation technique presented in Fountas et al. (interested readers are referred to their study for details [ 93 ]). The correlation between random parameters uncovered the unobserved heterogeneity associated with the interactive effect of random parameters on gazing behavior ( 96 ). A negative correlation between the random parameters (i.e., Age Group 1 and Age Group 3) implied mixed effects of age on the gazing behavior of drivers. Specifically, relative to Age Group 2, drivers in Age Groups 1 and 3 might either take a shorter or longer time to complete their secondary tasks. This heterogeneous behavior might be explained by age: with increasing age (i) some cautious drivers may perceive the risk of engaging in secondary tasks, thereby exhibiting shorter gaze durations, and (ii) some drivers exhibit risky behavior despite recognizing the risk of engaging in the secondary tasks, leading to longer gaze durations.
Discussion
With ever-increasing technological advancements facilitating newer vehicles, drivers’ engagement in in-vehicle systems has seen a drastic increase, which could deteriorate driving behavior. Several studies have quantified in-vehicle systems’ impact on reaction time, mental workload, braking behavior, and vehicle control ( 18 ). Engaging with in-vehicle systems can alternatively be viewed as engaging in and performing secondary tasks, which require drivers to divert their eyes away from the driving scene to perform the task, which could deteriorate their driving behavior. This deterioration has been confirmed to vary across different age groups and gender in recent studies (e.g., Sharma et al. [ 73 ]; Ali et al. [ 91 ]; Ali et al. [ 96 ]; Ali and Haque [ 26 ]). To this end, this study developed a correlated random parameters duration model, which was compared with a fixed parameters duration to elucidate the difference in conclusions/findings obtained from these two different modeling approaches.
Comparison of the Correlated Random Parameters Model with a Fixed Parameters Model
Although the inferences provided by a random parameters model have been widely acknowledged to vary from a fixed parameters model, this section elucidates the additional insights offered by a correlated random parameters model over a fixed parameters model. Some noteworthy observations from the comparison of two modeling approaches (random parameters versus fixed parameters) in the context of our study are summarized as follows:
Both the random- (Table 4) and fixed parameters models (Table C1 in the Appendix/Supplemental Material) indicated that the mean of Age Group 1 was negative, implying that relative to Age Group 2, on average, Age Group 1 took more time in reverting their gaze to the driving scene. However, an additional insight offered by the random parameters model was that the majority of drivers took more time, but a substantial proportion of drivers (48%) also took less time—this finding could only be obtained using the random parameters model, whereas the fixed parameters model would suggest that, relative to Age Group 2, all drivers in Age Group 1 took more time in reverting their gaze to the driving scene.
The fixed parameters model for Age Group 3 suggested that all drivers took more time in completing the secondary task compared with Age Group 2. However, the random parameters model negated this observation, suggesting that not all drivers in Age Group 3 took more time.
The fixed parameters model suggested shorter TEORT for females compared with males, but the random parameters model showed that females in Age Group 1 took relatively less time compared with males in the same group.
Lastly, the correlation between random parameters indicated the mixed effects of Age Groups 1 and 3 on TEORT relative to Age Group 2 (i.e., drivers in these groups may take a shorter or longer time to complete their secondary tasks). It would not have been possible to extract these data from a fixed parameters model.
Effect of Age on TEORT
Different age groups are likely to exhibit different gazing behavior; this was quantified through the developed random parameters duration model. To this end, the model allowed for the development of survival curves that facilitated comparing gazing behavior across different age groups. Survival curves (or the probability of not completing the secondary task) were computed using the Weibull survival function and parameter estimates of the model reported in Table 4. Specifically, using the mean values of the continuous explanatory variables and reference categories for the dummy explanatory variables, the probabilities of not completing the secondary task at t s were computed. Note that for the random parameters, survival curves were developed for the mean of the parameter and lower and upper bounds (i.e., lower bound: the lower limit of Age Group 1’s coefficient, that is, mean − 1.645 × standard deviation; upper bound: the upper limit of Age Group 1’s coefficient, that is, mean + 1.645 × standard deviation).
Figure 8 illustrates that the probabilities of not completing the secondary task decreased with elapsed time. In general, the results indicated that drivers in Age Group 1 completed their secondary tasks earlier than Age Group 2 (see Figure 8a), thereby diverting their gaze back to the driving scene sooner. The probability of not completing the secondary task, for example, for Age Group 1 at 1 s was 65%, whereas the corresponding probability for Age Group 2 was 67%. It is evident from Figure 8a that drivers in Age Group 1 took about 2.85 s to complete their secondary task, whereas drivers in Age Group 2 took about 2.95 s, indicating the latter group’s delayed reverting of gaze. These findings suggest that although both age groups lost track of the driving scene while performing the secondary tasks, Age Group 2 drivers took relatively more time to revert their gaze to the driving scene. Taking more time to complete the secondary task or reverting the gaze to the driving scene later implies that drivers were unaware of surrounding traffic and at high risk of engaging in safety-critical events ( 97 ), with their direct consequence on loss of situational awareness, delayed response to a situation, and the need for abrupt braking ( 12 ).

Secondary task completion probability for (a) Age Group 1 and (b) Age Group 3.
Several studies have investigated drivers’ gaze duration when engaging in secondary tasks involving mobile phones, navigation systems, in-vehicle displays, and so forth ( 19 , 29 ). While engaging with a speed limit advisory system provided by an in-vehicle human–machine interface, considering auditory perception characteristics in a connected environment, Xu et al. reported that drivers’ total gaze duration (or glance in the original study) varied between 1.0 and 2.3 s ( 67 ). However, Xu et al.’s study did not explicitly mention the gaze duration of different age groups, despite having a diverse sample size. Heckman et al. analyzed drivers’ visual behavior during vehicle reversing tasks and determined the factors affecting the use of rearview camera displays ( 33 ). They found that drivers between 18 and 39 years of age spent a larger proportion of time looking at the rearview displays compared with other age groups (40+ years), which contradicts our finding, that is, Age Group 1 (18 to 24 years) spent relatively less time on secondary tasks. This discrepancy can be explained in two ways. Firstly, the age group in Heckman et al.’s study included a wider age range ( 33 ). Secondly, the secondary task in their research was, as mentioned, reversing the vehicle using the rearview camera display, whereby attention to the front driving scene was relatively less important; this latter aspect was significantly different from our study, in which drivers were required to simultaneously complete the secondary task and control the vehicle ( 33 ). However, a study agreeing with our findings reported that young drivers (aged between 23 and 46 years) spent a lower amount of time using in-vehicle displays compared with other age groups ( 98 ). Although the age groups in Mourant et al.’s study and ours were dissimilar, the secondary task performed (looking at an in-vehicle display) was similar, resulting in complementary findings ( 98 ).
Age Groups 1 and 2 in our study represent the young and middle-aged drivers reported in several studies (e.g., Ali et al. [ 99 ]). In general, relative to middle-aged drivers, young drivers are novice, inexperienced, and have frequently been reported to exhibit risk-taking behavior, such as overtaking and speeding. Recognizing this risky behavior, a general notion is that young drivers tend to have longer gaze durations away from the driving scene, which contradicts our finding. However, this could be explained as follows: young drivers are generally tech-savvy and more familiar with navigation or other in-vehicle information systems, thereby taking a shorter time to complete the task compared with middle-aged drivers.
The random parameter for Age Group 1 also suggested that young drivers may take longer to complete the secondary task (or may take their gaze away for a longer time), indicating differential driver behavior. Despite young drivers being tech-savvy, they sometimes exhibit risk-taking behavior and take their eyes off the driving scene for relatively lengthy periods. Young drivers are often overconfident about their driving skills, which can lead to an overreliance on their capabilities to avoid any safety-critical events ( 100 ), as reflected in their longer gaze durations.
Comparing Age Groups 3 and 2, drivers in Age Group 3 completed their secondary tasks later than those in Age Group 2 (see Figure 8b), thereby diverting their gaze from the secondary task to the driving scene later. Relative to Age Group 2, the probability of not completing the secondary task for Age Group 3 at 1 s was 4% higher. Figure 8b suggests that drivers in Age Group 3 took about 0.17 s more time to complete their secondary task compared with Age Group 2, implying that drivers in Age Group 3 took relatively more time to revert their gaze to the driving scene. Those qualifying for Age Group 3 are generally termed “older drivers,” and in the literature, they are reported to possess slower sensory motor/processing power, exhibit cautious driving behaviors, and to perceive task difficulty to be high, all of which can lead to an increased crash risk ( 101 , 102 ). Zhu et al. investigated the association between older drivers’ driving style and crash risk and found that older drivers who adopted a cautious driving style but were involved in traffic crashes had poorer visual acuity and -contrast sensitivity ( 103 ). These drivers are often not well-versed in technology and hesitant to use it, thereby often taking more time to complete such secondary tasks. Mourant et al. found that older drivers take longer to engage with in-vehicle information systems because they lack familiarity with the technology, which is reflected in their lengthier completion times for secondary tasks ( 98 ). Similar observations were made in our study, whereby older drivers took more time to revert their gaze to the driving scene, which could be risky and lead to safety-critical events. This raises concerns about the use of in-vehicle information systems by older drivers, despite the technologies’ objective of improving driving behavior. Older drivers’ reluctance to use technology, being slower in its adoption, and an overreliance on their driving experience may not provide the desired outcome of these systems. As such, it is imperative that these systems are designed with these specific drivers in mind and tailored to their needs, similarly with the need to educate these drivers in using the technology.
Similar to Age Group 1, the random parameter for Age Group 3 also suggested that not all older drivers took longer to complete their secondary tasks: some older drivers may have benefited from their extensive driving experience, which made them risk-averse ( 104 ), thereby redirecting their gaze to the driving scene sooner.
Gender Difference in Gazing Behavior
Using the developed model, the survival curves for not completing the secondary task were developed (see Figure 9). For male drivers, the probability of not completing the secondary task at 1 s was 65%, whereas the corresponding probability for female drivers at the same point was 49%. This finding implied that male drivers were greater risk-takers than female drivers, and therefore more likely to engage in safety-critical events ( 105 ). Figure 9 illustrates that male drivers took about 2.85 s to complete their secondary task, whereas female drivers took about 2.3 s, indicating the delayed reversion of gaze to the driving scene by male drivers. Males are usually risk-takers, comply less with traffic norms, and commit more traffic offenses because of their biological-, psychosocial-, and impulsive behavior. McDonald et al. reported that male drivers are more likely to reoffend if their violation is classed as dangerous and careless driving, when compared with similar drivers penalized for other violations (e.g., seatbelt violations) ( 106 ).

Secondary task completion probability for gender.
Females are often risk-averse and take fewer risks than men during driving ( 105 ), leading to shorter gaze durations away from the driving scene. Females have been reported to be fluent with technology ( 107 ) and appear to complete the secondary task earlier than males. Female drivers perceive the risks of engaging in secondary tasks relatively more than men, which reflects their personal traits and driving attitudes ( 108 ).
Policy and Practice Implications
The developed model has provided several valuable insights to enhance safety in real-world situations and has practical implications for road authorities and wider stakeholders. Given that distracted drivers’ approaching speed has detrimental effects on safety, lowering the speed limit in high workload areas coupled with strong monitoring and enforcement (e.g., using artificial intelligence-based CCTV and random mobile police checkpoints) would provide two benefits: (i) minimizing TEORT of distracted drivers, and (ii) harmonizing higher with lower speed traffic by minimizing the large speed variations applicable to both distracted and undistracted drivers—this could be achieved via variable speed limits. This application has shown safety benefits, for example, on the M1 motorway in the UK ( 109 ). Further, based on the study findings, tailored driver education programs should only be targeted at the young and at the female drivers to communicate the safety implications of secondary tasks. For instance, presenting a solution-driven theory test on explaining how collision probability increases when engaging in secondary tasks while driving would enforce the importance of minimizing secondary task involvement. Finally, implementing strong enforcement, for example, increasing demerit points and automatic cancellation of licenses (for young drivers), could also help to combat driver distraction.
Analyzing the effects of secondary tasks on gazing behavior provides an objective, quantitative measure for understanding crash risk, which could be used to design advanced driving assistance systems aimed at minimizing distractions and their consequent effects. For example, a recent study has highlighted that distraction feedback from warning-based advanced driver assistance systems (ADAS) effectively reduces instances of driver inattention, forward collisions, and lane departures ( 110 ). Notably, half of the monitored fleet experienced at least a 50% reduction in these warnings. In another study, lane departure warnings decreased within 2 months of ADAS usage, whereas warnings related to driver inattention and forward collisions dropped significantly after 6 months, thus recommending design systems that consider driving behavior in relation to spatiotemporal mechanisms ( 111 ).
Conclusions
This study investigated drivers’ gaze duration away from the driving scene, characterized by TEORT, while engaged in secondary tasks, performed using in-vehicle information systems. Eighty-five licensed participants, aged between 18 and 65 years, were asked to perform secondary tasks on a suburban road in a simulated driving environment: University of Kansas driving simulator. The secondary tasks involved using a navigation system for traveling to a planned destination—a common task in our daily routines. A correlated grouped random parameters Weibull AFT model with heterogeneity in the mean was developed to model drivers’ TEORT during the secondary tasks.
Overall, the modeling results indicated the heterogeneous gazing behavior of the two driving groups. The mean parameter of the young driver dummy variable (Age Group 1) implied that the majority of these drivers completed their secondary tasks earlier (or reverted their gaze to the driving scene earlier), suggesting safer behavior. However, some young drivers also took longer to complete their secondary tasks, reflecting longer gaze durations away from the driving scene, leading to a higher likelihood of engaging in safety-critical events. Similarly, the random parameter of older drivers (Age Group 3) indicated that gaze durations could increase or decrease: the lengthier durations were attributed to inexperience with technology, thereby taking more time to revert gaze to the driving scene (risky driving). In contrast, a small cohorot of Age Group 3 took less time to complete their secondary tasks, reflecting proactive driving behavior as these drivers, presumably, recognized the direct risks of taking their gaze away from the driving scene. Finally, females exhibited shorter gaze durations than males, reflecting their safety-conscious, risk-averse behavior. In addition to the aforementioned random parameters, three nonrandom parameters were also found to affect gaze duration: initial speed, speed fluctuations, and the number of kilometers driven. Drivers had shorter gaze durations when their initial speed was higher, exhibited large speed fluctuations, and drove a higher number of kilometers, mainly because of higher perceived crash risk.
The findings of our study could contribute significantly to the design of advanced driver assistance systems and to keeping the driver in the loop when they are not actively driving but must continuously monitor the system (e.g., in Levels 3 and 4 autonomous vehicles, in which drivers may be required to take control). The findings from this study could also help in designing adaptable in-vehicle notifications for drivers of different age groups and genders, given that their gaze durations were found to vary. As such, futuristic in-vehicle design will be human-centric rather than generic, thus catering to the needs of diverse users.
Unlike most driving simulator–based studies, in which driving behavior is compared in a relative manner (e.g., TEORT with and without mobile phone use), our study analyzed gaze durations in an isolated fashion, mainly because of a meaningless baseline condition in our context, that is, drivers would have zero TEORT if there were no secondary task to focus on.
As with all research, this study had limitations. It only compared TEORT when engaged in one type of secondary task and under a specific cognitive workload (for details, refer to Appendix A/Supplemental Material), thereby restricting us from performing a comparative analysis of varying gaze durations across different tasks. Therefore, associating gaze durations with the workload exerted by other secondary tasks merits investigation. Similarly, assessing TEORT during different driving tasks, such as merging and interacting with pedestrians, would provide a more complete picture of gazing behavior and its variations across driving tasks. Moreover, although this study evaluated gazing behavior in a high cognitive load environment, gradually elevating this cognitive load to determine the optimal point at which driving behavior starts to deteriorate would have significant value. This study also did not investigate how gazing behavior varies as a function of time of day and environmental conditions, which might lead to different gazing behavior, thus requiring a separate investigation. Finally, this study did not use any sophisticated techniques for capturing/testing all possible combinations of interaction terms in the model (e.g., a decision tree). Future studies could employ machine learning techniques to test all possible combinations in the model.
Supplemental Material
sj-docx-1-trr-10.1177_03611981251401578 – Supplemental material for Evaluating the Effects of Secondary Tasks on Driver Gaze Duration: A Duration Modeling Approach
Supplemental material, sj-docx-1-trr-10.1177_03611981251401578 for Evaluating the Effects of Secondary Tasks on Driver Gaze Duration: A Duration Modeling Approach by Yasir Ali, Vishal C. Kummetha, Anshuman Sharma and Alexandra Kondyli in Transportation Research Record
Footnotes
Author Contributions
The authors confirm contribution to the paper as follows: study conception and design: Y. Ali, V. C. Kummetha, A. Kondyli; data collection: V. C. Kummetha, A. Kondyli; analysis and interpretation of results: Y. Ali, V. C. Kummetha, A. Sharma, A. Kondyli; draft manuscript preparation: Y. Ali, V. C. Kummetha, A. Sharma, A. Kondyli. All authors reviewed the results and approved the final version of the manuscript.
Declaration of Conflicting Interests
The authors declared the following potential conflicts of interest with respect to the research, authorship, and/or publication of this article: Alexandra Kondyli is a member of Transportation Research Record’s editorial board.
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Mid-America Transportation Center, Lincoln, NE (Grant no. 69A3551747107, 2017) in cooperation with the U.S. Department of Transportation, Federal Highway Administration.
Data Accessibility Statement
The datasets generated during and/or analyzed during the study are not publicly available because they contain sensitive information that could compromise research participant privacy/consent, but they are available from the corresponding author on reasonable request.
Supplemental Material
Supplemental material for this article is available online.
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
