The effect of age on executive functions in adults is not sex specific

Abstract Objective: Numerous studies have shown a decrease in executive functions (EF) associated with aging. However, few investigations examined whether this decrease is similar between sexes throughout adulthood. The present study investigated if age-related decline in EF differs between men and women from early to late adulthood. Methods: A total of 302 participants (181 women) aged between 18 and 78 years old completed four computer-based cognitive tasks at home: an arrow-based Flanker task, a letter-based Visual search task, the Trail Making Test, and the Corsi task. These tasks measured inhibition, attention, cognitive flexibility, and working memory, respectively. To investigate the potential effects of age, sex, and their interaction on specific EF and a global EF score, we divided the sample population into five age groups (i.e., 18–30, 31–44, 45–54, 55–64, 65–78) and conducted analyses of covariance (MANCOVA and ANCOVA) with education and pointing device as control variables. Results: Sex did not significantly affect EF performance across age groups. However, in every task, participants from the three youngest groups (< 55 y/o) outperformed the ones from the two oldest. Results from the global score also suggest that an EF decrease is distinctly noticeable from 55 years old onward. Conclusion: Our results suggest that age-related decline in EF, including inhibition, attention, cognitive flexibility, and working memory, becomes apparent around the age of 55 and does not differ between sexes at any age. This study provides additional data regarding the effects of age and sex on EF across adulthood, filling a significant gap in the existing literature.


Introduction
From every step you take to every decision you make, your actions and thoughts are underlain and guided by your executive functions (EF).EF is an umbrella term encompassing a large range of highlevel cognitive abilities such as inhibition, working memory, attention, and cognitive flexibility (Goldstein & Naglieri, 2014).They rely on complex cerebral networks, notably comprising the prefrontal cortex and its numerous connections with other regions such as posterior associative cortices (Collette et al., 2005).These cognitive processes are ubiquitous since they ensure a goaloriented cognitive control of individuals' behaviors and emotions in the everchanging environment (Zelazo & Lee, 2010).EF can be influenced by multiple factors inherent to individuals or their environment, such as age, education, and context (Goldstein & Naglieri, 2014).
EF undergo developmental changes throughout the lifespan.They emerge and develop from childhood through adolescence, stabilize during adulthood, and decline from mid-adulthood onward (De Luca & Leventer, 2008;Ferguson et al., 2021).This trajectory is primarily influenced by the maturation of the prefrontal cortex, although each executive function does not follow the exact same developmental pattern.For instance, children's cognitive flexibility, enabling them to switch between tasks, emerges and matures rapidly between 4 and 8 years old, but is one of the latest to decline (Anderson et al., 2008;De Luca & Leventer, 2008).Working memory matures gradually, reaching its peak in the twenties, but is the first to decline (Ferguson et al., 2021).On the other hand, sustained attention and inhibitory skills mature and decline more progressively (Anderson et al., 2008;De Luca & Leventer, 2008).
The EF decline coincides with the so-called "age-related cognitive decline" which includes a decrease in various cognitive abilities during adulthood, such as processing speed, language, and visuospatial abilities (De Luca & Leventer, 2008;Harada et al., 2013).Age-related decline of cognitive functioning is associated with functional and structural changes in the brain network, especially in the frontal, temporal, and parietal lobes (Cabeza et al., 2016;Harada et al., 2013).Several magnetic resonance imaging and diffusion tensor imaging studies have reported a global loss of gray and white matter in the brain associated with age (Brickman et al., 2006;Charlton et al., 2008;Grieve et al., 2007;Head, 2004;Raz & Rodrigue, 2006).Moreover, functional neuroimaging studies showed increased activation of the frontal lobes in the aging brain (Goh et al., 2013;MacPherson et al., 2002), which may be a compensatory mechanism to offset cognitive decline (Park & Reuter-Lorenz, 2009;Reuter-Lorenz et al., 2016).The prefrontal Corresponding author: D. Saint-Amour; Email: saint-amour.dave@uqam.caCite this article: Lemire M., Soulières I., & Saint-Amour D. (2024) The effect of age on executive functions in adults is not sex specific.Journal of the International Neuropsychological Society, 30: 489-498, https://doi.org/10.1017/S1355617723011487cortex seems to be particularly vulnerable to the effect of aging and has been associated with a significant and gradual decrease in EF (Craik & Salthouse, 2007;De Luca & Leventer, 2008;Goh et al., 2013;Reuter-Lorenz et al., 2016).
While most EF share key brain regions and connections, each EF relies on its distinct brain network (see Rodríguez-Nieto et al. (2022) for a meta-analysis).For example, brain activations associated with inhibition were identified in right fronto-temporal regions, the left insular lobe, and bilateral inferior parietal regions.Conversely, left-lateralized activation in regions of the frontal and parietal cortex appears to be specific to cognitive flexibility.Working memory involves the activation of fronto-parietal areas along with the cerebellum, the latter structure not being recruited in other EF (Rodríguez-Nieto et al., 2022).The executive component of attention is mainly associated with the anterior cingulate gyrus and lateral prefrontal cortex (Posner & Rothbart, 2007).Given the reliance on different brain networks, some disparity in developmental trajectories across different components of EF is expected.
It has been reported that age-related changes in the brain vary between sexes.For instance, Coffey et al. (1998) found that compared to women aged between 66 and 96 years old, men the same age had more cerebrospinal fluid in the lateral fissure of their brain, which is a marker of age-related atrophy in the frontal and temporal lobes.These authors then inferred that some morphological features of the brain seem to be sensitive to both age and sex and their interaction.In their study, Taki et al. (2013) examined sex-based differences in the aging brain and found an age-by-sex interaction effect on gray matter in the bilateral hippocampus, suggesting that women's hippocampi lose more neurons over time compared to men.The hippocampus, along with the frontal lobe, plays a crucial role in the EF network, suggesting that sex may influence the age-related EF decline.Although the literature on sex differences in the aging brain remains inconsistent, the findings of recent studies show that men exhibit more structural changes related to age than women, which may contribute to a steeper cognitive decline in men (Lemaître et al., 2005;Yang et al., 2022).
Despite the extensive literature on cognitive decline and sex differences in cognition, surprisingly few studies investigated the interaction effects of age and sex on EF.Given the heterogeneity of methods, research designs, and findings among existing studies, a consensus has yet to be reached regarding the effect of sex on agerelated cognitive decline.For instance, Levine et al.'s (2021) examined cognitive abilities including EF in adults from five wellcharacterized prospective cohort studies in the U.S. and showed that the global EF score in women declines faster with age than in men.Using the Stroop task to target cognitive flexibility, Nooyens et al. (2022) reported that men's performance exhibited a steeper decline with age compared to women, a conclusion that contrasts with Levine et al. (2021) study.These findings do not align with those of McCarrey et al. (2016) which show no age-by-sex interaction effect on cognitive flexibility, as measured with the Trail Making Test.Thus, there is currently no scientific consensus regarding the effect of sex on age-related cognitive decline; some studies show no sex difference (Ferreira et al., 2014;Finkel et al., 2006;McCarrey et al., 2016) while others report a steeper decline in women (Levine et al., 2021) or men (McCarrey et al., 2016;Nooyens et al., 2022).Another key factor that could account for the lack of consensus is the limited age range in the study samples, as most of the previous research focused on adults aged 60 years or older (Gaillard et al., 2021a).Conducting studies that investigate this question across the entire adult span could contribute to a better understanding of the effect of age and sex interaction on EF.Thus, the present study aimed to determine if age-related decrease in EF, more specifically inhibition, attention (selective and divided), cognitive flexibility, and working memory, varies between men and women from early to late adulthood.Based on the literature, we predicted that performance for all EF will decline with age, but no confirmatory hypotheses could be made regarding sex considering the limited and contradictory existing studies.

Participants
A total of 302 adults (181 women) from the province of Quebec, Canada, aged between 18 and 78 years old (M = 46.2;SD = 15.8)participated in the study (see Table 1).All participants reported French as their primary language and had no history of diagnosed neurological or psychiatric disorders.Participants were recruited through social media and provided electronic consent to participate in this study, which was approved by the Human Research Ethics Committee of Université du Québec à Montréal (UQAM).This research was conducted in line with the Helsinki Declaration.

Online questionnaires
For all participants, a Qualtrics online questionnaire was completed prior to the cognitive EF assessment to document key sociodemographic factors that can potentially influence cognitive functioning, such as age, sex, education, and ethnicity (Williams & Klug, 1996).The questionnaire also included the pointing device examinees used to complete the cognitive tasks (i.e., trackpad or computer mouse).To evaluate the usability of our online cognitive battery test, a homemade survey was created using the Qualtrics platform.It was sent by email to the first 90 participants to document their ease to complete the tasks and their satisfaction, including information about their computer familiarity (items presented in Supplementary material).

Cognitive function assessment
The assessment of EF included four tasks, each evaluating a different cognitive domain (see Table 2).Each task was programmed with PsychoPy3, a software for the creation of experiments in behavioral sciences (Peirce et al., 2019).All tasks were computer-controlled, meaning that instructions, practice trials, and feedback were provided directly on the participant's screen, without the intervention of any experimenter.Tasks were randomly ordered for each participant using computer-based randomization, and the entire sequence took approximately 35 minutes.To centralize data and enable home-based remote assessment on personal computers via a URL, the PsychoPy tasks were converted into JavaScript and linked to the Pavlovia server platform (https://pavlovia.org) to host the experiments securely (Peirce et al., 2019).Pavlovia also allowed the cognitive assessment to be independent of an internet connection by automatically and temporarily downloading the tasks onto each participant's computer.
To ensure consistent stimulus size independent of monitor resolution and screen size for all participants, a calibration task was completed by the participants before the beginning of the cognitive assessment.A picture of a credit card was first displayed on the screen and the participants were asked to adjust its size (i.e., by increasing or decreasing the line length using the arrows of their computer keyboard) until it reached one of a standard credit card.The collected data was then automatically inputted into the task script for each participant, enabling the normalization of the stimuli size among the entire sample, regardless of monitor size or resolution.Before each task, additional instructions including respecting viewing distance (i.e., one meter away from the screen) and removing any distractions during the whole experiment were also displayed on the screen.Practice trials with computerized feedback preceded every task to ensure the understanding of participants.

Flanker
The Flanker task is a neuropsychological tool used to assess inhibition (Erikson & Erikson, 1974).Our version of this fiveminute task involved 80 trials in which a set of five arrows appeared in the center of the screen.As shown in Figure 1, each trial included a central arrow (i.e., the target) flanked by two arrows on each side (i.e., the distractors).Participants were instructed to indicate the orientation of the central arrow by pressing as fast as possible the corresponding arrow key on their keyboard.Half of the trials were congruent, meaning that the target and distractors pointed in the same direction (< < < < < or > > > > >).The other half of the trials were incongruent, meaning that the target and distractors pointed in opposite directions (< < > < < or > > < > >).Incongruent trials were expected to take longer to complete due to the interference caused by the flankers pointing in the opposite direction of the target.Therefore, the difference in reaction time between incongruent and congruent trials was used as an indicator of inhibition and referred to as the Flanker effect (Erikson & Erikson, 1974;Kopp et al., 1996).

Visual search
The visual search task consisted of the presentation of blue and red "T" and "L" letters on the screen.Participants were asked to press "L" on their keyboard if they located a blue "L" (i.e., target) amidst the other distractors (i.e., red "L" and blue "T"), or to press "K" if they did not locate any target.The red and blue colors were purposefully selected, as blue is the color least affected by color blindness (Birch, 2012).This choice was made to ensure that most colorblind individuals would still be able to distinguish the stimuli in the Visual search task.There were 25 trials in each of the four conditions (10, 15, 20, or 25 distractors), for a total of 100 trials.In 60% of the trials, the target "L" was present.Locating a specific target among similar distractors requires selective and divided attention, a cognitive effort known to be proportional to the number of distractors (Davis & Palmer, 2004;Wolfe & Horowitz, 2017).For instance, trials with 25 distractors are expected to be more challenging and time-consuming than trials with distractors (Davis & Palmer, 2004).The average reaction time in the 10 distractors trials was subtracted from the average reaction time of the most difficult condition (25 distractors) as a measure of the attentional distractor effect.

Trail Making Test
The Trail Making Test (TMT) is a well-known instrument for the assessment of cognitive flexibility (Goldstein & Naglieri, 2014).In part A, which is a single trial, participants were asked to connect circles identified by numbers ranging from 1 to 25, in an incremental order.In part B, which also includes one trial, the circles were either identified by a number or a letter and participants were asked to connect them by alternating between numeric and alphabetical orders (e.g., 1, A, 2, B, 3, C, etc.).This switching results in a longer execution time compared to Part A, which is typically interpreted as the cognitive effort associated with cognitive flexibility.This effect is commonly quantified in clinical neuropsychology by subtracting the execution time of Part A from that of Part B (Kortte et al., 2002;Sánchez-Cubillo et al., 2009).In the original task, the evaluator provides feedback to the participant in case of an error, which the participant must correct immediately.In our computerized version of the task, the incorrectly chosen circle turned red, indicating to pick another circle.The participant had to correct their answer before moving forward.

Corsi
The Corsi task is a commonly used tool for assessing direct visuospatial memory span and visuospatial working memory.The task involved the presentation of nine gray squares displayed on the screen.In each trial, a minimum of three and up to nine of these squares turned red in a particular sequence.In the first fourteen trials, referred to as the forward part, participants were asked to replicate the sequence by clicking on them in the same order.In the 10 subsequent trials, which constitute the backward part,  Journal of the International Neuropsychological Society participants were asked to reproduce the sequence backward (i.e., from the last square to the first).For both parts, after a correct answer, the sequence length increased by one square.After two incorrect responses, the sequence length decreased by one square.
The number of squares from the longest successful sequence of the backward part was considered here as the measure for visuospatial working memory (Monaco et al., 2013).

Global score
Given that the reported sex disparities in cognition remain subtle, we added a global EF score combining our four EF measures to potentialize our ability to detect subdued effects.This global EF score was computed by averaging the Z scores of the individual tasks.To ensure that a higher global EF score equals higher performance, the Z scores of the Flanker, Trail Making Test, and Visual search variables were reversed given that originally, a higher score meant lower EF efficiency.Scores of participants who completed less than 3 out of the 4 tasks were left as missing values (i.e., 18% of the sample).

Statistical analysis
For each task, the most relevant metric according to the literature was derived (see Table 2).Thus, the condition measuring processing speed was subtracted from the condition assessing EF to obtain a specific metric for three out of the four tasks (Flanker, Visual search, and Trail Making Test).This approach minimizes potential interference from sensory-motor speed processing, which tends to decline with age (Deary & Der, 2005;Der & Deary, 2006).IBM SPSS Statistics (version 27.0.1)was used for descriptive statistics, data management, and all other statistical analyses.All tests were two-tailed, and the significance level was set at p < 0.05.Univariate normality was assessed by inspecting outliers as well as skewness and kurtosis of the distributions.First, scores below −3.29 or over 3.29 on the standardized scale (Z score) were considered outliers and winsorized to ± 3.29 on the standardized scale, following the guidelines proposed by Tabachnick et al. (2019).For skewness and kurtosis, a threshold range of ±1 was used as a criterion of univariate normality.Flanker, Trail Making Test, and Visual search variables exceeded this threshold.After the square root transformations were applied, all variables respected the normality criterion.
Participants were divided into five age groups for the analyses (i.e., 18-30, 31-44, 45-54, 55-64, and 65-78).Given the importance of education on cognitive functioning (Bloomberg et al., 2021;Elias et al., 1997), this variable was included as a covariate in the analyses.Because almost all our participants were Caucasians, ethnicity was not included as a covariate in the models.To assess the effect of age and sex interaction on EF performance, a multivariate analysis of covariance (MANCOVA) was conducted using a factorial model with sex and age as independent variables, the scores of the four EF tasks as dependent variables and education as a control variable.To ensure that reaction times were not influenced by clicking or pointing device modality (trackpad vs computer mouse), which can be especially important for the Trail Making Test, this variable was also included in the models as a covariate.An additional analysis of covariance (ANCOVA) was executed employing the same factorial model (i.e., sex and age as independent variables and education and pointing device as control variables) but with the global EF score as the dependent variable.

Results
Usability survey data were successfully obtained from 53 participants (See Supplementary material).Results showed no age group or sex difference on any item, except for general technological proficiency and the occurrence of assessment-related technical issues.Although subjective rating (out of 100) was high in all participants, scores of participants 55 years or older (M = 83.92,SD = 21.34) were lower than those under 55 (M = 92.98,SD = 10.21)(t (51) = 2.054, p = 0.043).Regarding technical issues, a higher proportion of participants aged over 55 years reported experiencing more technical problems compared to those under 55 years old (χ 2 = 6.756, p = 0.009).
Men's and women's performance on each task is summarized in Table 3 and illustrated in Figure 2.
The multivariate result (see Table 4) was not statistically significative for the interaction between age group and sex, meaning that differences in task scores between men and women remained consistent across all age groups, Pillai's Trace (16,744) = 0.695, p = 0.800.Taken separately, the results for the main effect of age were statistically significant, indicating that age had an impact on task performance scores, Pillai's Trace (16,774) = 4.837, p < 0.001.However, sex did not show a significant effect on EF performance scores, Pillai's Trace (4,183) = 1.36, p = 0.25.
Follow-up contrast analysis showed that in the Flanker task, participants from 18 to 54 years old had significantly smaller Flanker effect compared to the 55-64 years old (p < 0.001 and p < 0.002) (see Table 5 for details).However, participants aged between 65 and 78 years old had a significantly smaller Flanker effect compared to those in the 55-64 age group (p = 0.03).In the Visual search, participants belonging to the three youngest groups had a significantly smaller distractor effect compared to those in   both 55-64 and 65-78 age groups (p < 0.01).To confirm this effect across all four levels of distractors, we conducted an additional ANCOVA with the four conditions as the repeated measure, age, and sex as independent variables, and education and pointing device as control variables.This analysis indicated that reaction time varies across conditions [F (2.018,241) = 104.79,p < 0.001] (See Fig. 3 and Table 6).Simple contrast analysis revealed that reaction time significantly increases as the number of distractors increases (p < 0.001 between the four conditions).There was also a significant interaction between age and conditions [F    We applied a Greenhouse-Geisser correction to our data to account for the violation of the sphericity assumption.Education and pointing device were applied as covariates.Conditions in the Visual search vary in number of distractors displayed on the screen (10, 15, 20 or 25 distractors.)Abbreviations: df: degree of freedom; η 2 p : partial eta-squared.Significant p-value is denoted in bold.Regarding the effects of age and sex on global performance, the ANCOVA's results showed no statistically significant interaction effect of age and sex [F (4,235) = 0.464, p = 0.762], nor a significant main effect of sex [F (1,235) = 0.298, p = 0.586].Once more, age is the only factor influencing global score [F (4,235) = 20.16,p < 0.001] (see Fig. 4 and Table 7).Thus, these results indicated that even though the global score varies with age, it remained similar between men and women of the same age group.The follow-up contrast analysis showed that the three younger age groups (i.e., 18-30, 31-44, and 45-54) had significantly higher global scores compared to the two older groups (p < 0.001).Moreover, participants aged between 55 and 64 years old also had a significantly higher global score compared to those aged between 65 and 78 (p = 0.03).

Discussion
The aim of this cross-sectional study was to investigate whether age-related decline in executive functioning differed between sexes throughout adulthood.After controlling for education and the home-based assessment pointing device, we observed age-related differences on each EF measured (i.e., inhibition, attention, cognitive flexibility, working memory, and global EF score), but no evidence that these effects were influenced by sex.This is consistent with the review of Gaillard et al. (2021a) suggesting that the influence of sex on cognition is tenuous since most sex disparities reported in previous research are contradictory and/or have small effect sizes.Methodological features, like task sensitivity and difficulty, seem to influence the detection of those subdued sex disparities in cognition (Gaillard et al., 2021a;Zanto & Gazzaley, 2019).A larger sample size providing higher statistical power might help detecting such effects, as shown with studies using very large sample sizes (n > 1000) (Levine et al., 2021;McCarrey et al., 2016).Moreover, sex differences are more readily observable in studies comparing men's and women's brain functioning and networking (Gaillard et al., 2021b).For example, in a stop signal task involving inhibition, Li et al. (2006) found no performance differences between men and women but observed distinct neural network activations; men activated motor pathways more extensively, whereas women engaged neural circuits associated with visual associations and/or habit learning more extensively.Another investigation found that the fronto-parietal networks usually activated in the stop signal task were more activated in women than in men, along with their left amygdala (Gaillard et al., 2020).In addition, previous literature suggests that despite similar behavioral performances, women further rely on limbic and prefrontal structures to perform working memory tasks, whereas men showed more activation in parietal regions (Hill et al., 2014).Thus, different brain activations in men and women do not necessarily imply disparities in behavioral outcomes.It is possible that they rely on partly different cognitive strategies to execute a task while achieving comparable performances (Ramos-Loyo et al., 2022).In our study, both sexes might have employed different cognitive strategies during the assessment that were not reflected in our behavioral measures.Further investigations of sex disparities in EF would benefit from combining complementary behavioral measures and neuroimaging.
Despite the absence of sex effect on EF, we observed that, as expected, age had a major impact on each EF assessed here (inhibition, attention, cognitive flexibility, and visuospatial working memory).According to the global EF score, participants aged  0.008 0.762 SD = standard deviation, df = degree of freedom, η 2 p = partial eta-squared.Education and pointing device are applied as covariates.Higher scores correspond to higher cognitive performance.Significant p-value is denoted in bold.
55 years and older underperformed in the EF assessment compared to younger adults (i.e., 18-54 years old).This is consistent with findings from cross-sectional and longitudinal studies showing that the onset of cognitive decline is mostly discernable around the 50s and 60s (Ferreira et al., 2015;Hedden & Gabrieli, 2004).Other findings suggested an even earlier onset of decline around 30 years old for some EF such as inhibition and working memory (Anderson et al., 2008;Ferguson et al., 2021).However, this hypothesis of the early onset of EF decline is far from consensual.In our study, results do not support this hypothesis since no age-related change was found in any EF measure among participants younger than 55 years old.Yet, these contradictory results might be partially attributable to methodological features such as the selected tasks and/or their sensitivity and level of difficulty.
In addition, we found that age-related changes slightly differed among individual EF (i.e., inhibition, attention, cognitive flexibility, and visuospatial working memory).For instance, agerelated alterations in attention and inhibition efficiency were observed starting at 55 years old, while significant alterations in cognitive flexibility and working memory were mostly found starting at 65 years old.This agrees with prior findings suggesting that age-related changes might differ from one component of EF to another since they have been associated with different structure activation and region connections (Anderson et al., 2008;Zanto & Gazzaley, 2019).Yet, age-related disparities in EF efficiency such as inhibition, attention, cognitive flexibility, and visuospatial working memory, remain mainly detectable in mid to late adulthood (i.e., > 50 years old).Intriguingly, our results showed a higher inhibition efficiency in the 65-78 age group than in the 55-64 age group.This is inconsistent with various findings indicating that just like other EF, inhibition's decline emerges during adulthood and progresses with age (Borella et al., 2008;Ferreira et al., 2015;Mathis et al., 2009).This result is more likely attributable to the limited sample size of the oldest subgroup and/or random individual variation, rather than indicating an actual improvement of inhibition in the mid-60s.
Given the potential discomfort some older individuals may experience when using computers (Fox-Fuller et al., 2022), one could wonder whether this variable has influenced the age effect observed in our study.It is important to emphasize that most of the EF variables relied on a subtraction of the performance in two conditions to isolate a cognitive effect.Their value is thus based on intra-subject variability.Therefore, the computed measures are less dependent on potential inter-subject variability regarding familiarity with computer technology or motor difficulties.Moreover, among the 53 responders of the survey we sent to the initial 90 participants, 13 were 55 years or older and 92% of them reported using their computer daily.Those respondents also subjectively evaluated their computer proficiency rating at 8.3 out of 10 on average.Thus, it is unlikely that the age-related effects observed on EF are primarily attributed to technology discomfort.

Strengths and limitations
Our study is one of the few investigations examining the impact of age and sex interaction on EF across a broad age range.The inclusion of young adults when studying EF and aging is an important strength to provide a better understanding of the effect of age on EF, which is lacking in most existing studies.The utilization of a cross-sectional design was both advantageous and limiting to this study since it restricted the interpretation of the trajectory of cognitive decline but allowed greater information on the onset of age-related EF decline (Salthouse, 2010;Williams & Klug, 1996).Another limitation is that we used a single cognitive task to measure each EF.Incorporating additional tasks could potentially aid in identifying tasks suitable for detecting sex disparities in EF.However, the consistency observed in our results across cognitive tasks suggests a level of interdependence in EF, indicating that our findings are not solely dependent on the specific tasks employed in our study.Additionally, while our sample size is adequate, the predominantly Caucasian composition and the absence of adults aged over 78 years old limit the generalizability of our results.We also acknowledged that our home-based assessment might carry limitations such as slight variations in assessment conditions among participants.However, we took measures to mitigate these limitations (Marra et al., 2020).First, we used an initial screen calibration task to ensure a standardization of the stimuli sizes among our entire sample.Second, we examined the scores of the practice trials closely and excluded from the analyses participants who had over 50% error rate to ensure that our data primarily included participants who understood the task and did not have major visual deficiencies such as loss of acuity.We also ensured that cognitive tasks and data were independent of Internet connection quality by using the Pavlovia platform which automatically and temporarily downloads the task on the participant's computer, so the task's progress does not rely on an Internet connection.Moreover, we took precautions to limit the effect of other important factors such as cognitive depletion and sensory-motor speed by assessing the tasks in a random order and relying on strategic variables to target EF specifically.Remote assessment also provides experimental conditions closer to individuals' day-to-day life and may be less stressful for participants than in-laboratory assessment (Lupien et al., 2007).
In summary, the current work aimed to examine the age-related decline of EF, including inhibition, attention, cognitive flexibility, and working memory, in adults of both sexes.Our findings indicated that men and women performed similarly in cognitive tasks and that their EF efficiency underwent a comparable agerelated decrease from young to late adulthood.While most research focussed on a specific age range when investigating sex disparities in EF, our study included a large span (i.e., 18-78 y/o) to examine the effect of age on EF from early to late adulthood.Although behavioral results were similar between men and women, we cannot exclude the possibility that both sexes use different strategies and/or brain networks when performing cognitive tasks.Further investigations involving different measures and techniques such as neuroimaging are needed to promote a more comprehensive understanding of EF development across age and sex.
Supplementary material.The supplementary material for this article can be found at https://doi.org/10.1017/S1355617723011487. Funding statement.None.

Figure 1 .
Figure 1.Trial sequence in the Flanker task.

Figure 2 .
Figure 2. Performance scores of men and women of multiple age groups on cognitive tasks measuring inhibition (Flanker); cognitive flexibility (Trail Making Test); divided and selective attention (Visual search), and visuospatial working memory (Corsi).Y-axis details: Flanker: difference in reaction time between congruent and incongruent trials; TMT: difference in duration between Part A and Part B; VS: difference in mean reaction time between the trials with 10 distractors and those with 25 distractors; Corsi: number of squares of the longest sequence succeeded.Scores of the Flanker, Trail Making Test and Visual search were reversed for clarification purposes.Thus, a higher score corresponds to a higher EF efficiency.The bars represent the 95% confidence intervals.

Figure 3 .
Figure 3. Reaction time of men and women during the four conditions of the Visual search, across age groups.Conditions vary in the number of distractors displayed on the screen (10, 15, 20 or 25 distractors).

Figure 4 .
Figure 4. Global EF score of men and women of multiple age groups.The composite Z score corresponds to the average of the Z-scores from individual tasks.Thus, a higher score corresponds to higher cognitive performance.The bars represent the 95% confidence intervals.

Table 2 .
Cognitive tasks and measurements

Table 3 .
Descriptive statistics of cognitive performanceLower scores at Flanker, TMT and VS correspond to a higher cognitive performance.Higher scores at Corsi and global score correspond to a higher cognitive performance.Attention measured by the Visual search task includes divided and selective attention.Abbreviations: M: mean, SD: standard deviation, (s): seconds, num.squares: number of squares.

Table 4 .
Results from the MANCOVA univariate tests displaying the effect size of the variation of EF task scores explained by age, sex and their interaction

Table 5 .
P-value results of the follow-up analysis of the MANCOVA, reporting differences in scores between age groups Ns: non significant.

Table 6 .
Variation in reaction time between conditions in Visual search: Results from the mixed design ANCOVA displaying the effect size of the variation explained by age, sex and their interaction

Table 7 .
Results from the ANCOVA displaying the effect size of the variation of global EF score explained by age, sex and their interaction