Introduction

Anxiety is an adaptive response to an objective or perceived threat; however, when symptoms become severe and chronic it can develop into a maladaptive anxiety disorder [1]. As the most prevalent class of mental disorders [2], anxiety disorders can have a substantial personal and economic cost [3]. They are the sixth leading cause of years lived with disability [2], and are more disabling than many medical conditions, including arthritis, asthma, back/neck pain, and cancer, predominantly within social life and personal relationship domains [4]. Anxiety symptoms and disorders are also associated with cardiovascular disease and associated premature mortality and various other comorbid medical conditions [5, 6]. Due largely to increased disability, anxiety disorders also have a large economic burden [7]; in 2010 they had an estimated cost of over €74 billion in Europe [3]. Although the economic burden is lower compared to €126 billion for cancer in 2009 [8] and €111 billion for cardiovascular disease in 2015 [9], this still represents a substantial burden. Moreover, it is plausible that this burden is even greater in Ireland given its economic difficulties in 2007 and the large body of literature demonstrating a possible association between economic recession and mental health [10].

Among individuals with anxiety, numbers seeking care can be low [11], as anxiety is can be interpreted as a normal, healthy response to adversity [12]. Among those who do seek treatment, common frontline treatments include serotonin reuptake inhibitors [13] which can be expensive and have negative side-effects [14] and cognitive behavioural therapy [15] which is only moderately effective [16]. Thus, there is continued interest in investigating potential cost-effective and accessible prevention, self-management, and treatment strategies for anxiety symptoms and disorders.

One strategy may be physical activity. Randomised controlled trials have demonstrated the benefits of exercise, a sub-category of physical activity performed to improve physical fitness, for anxiety symptoms [17, 18], generalized anxiety disorder (GAD) [19], obsessive-compulsive disorder [20], and panic disorder [21], and among a diverse range of populations. Moreover, the available evidence supports the biological plausibility of physical activity effects on anxiety. For example, there is growing evidence that exercise can improve hippocampal functioning [22] and volume [23], potentially improving decreased hippocampal volumes displayed by people with GAD [24] and social phobia [25]. Additionally, inflammation and nitrogen and oxidative stress may be important factors in the development of anxiety disorders as they can subsequently alter neuroplasticity, neurogenesis, and neurotrophins, while these same pathways are influenced by physical activity [26]. Despite this, few epidemiological studies have examined physical activity associations with anxiety relative to other mental health disorders such as depression [27]. Some evidence exists supporting cross-sectional, inverse association of physical activity with anxiety symptoms [28] and disorders [29]. The World Health Organization (WHO) recommends engaging in ≥150 min of weekly moderate intensity physical activity, ≥75 min weekly of vigorous intensity physical activity, or an equivalent combination of weekly physical activity for health benefits [30]; however, epidemiological studies examining associations of meeting the physical activity guidelines with anxiety are sparse [31,32,33,34,35]. Further, the WHO recommends doubling this dose (i.e., ≥300 min of moderate, ≥150 min of vigorous, or an equivalent combination) for additional health benefits. Given the worldwide promotion of the benefits of meeting these guidelines, it is important to clarify their association with anxiety symptoms and status. Furthermore, walking is an accessible behaviour for all ages and sexes that is known to confer many physical health benefits; however, just one longitudinal [36] and few cross-sectional [37] studies have examined associations of walking with anxiety.

Conducting large-scale research projects can have a substantial cost (e.g., both financial and time), so the utilisation of existing data by data sharing, dataset pooling, and harmonisation of relevant variables may be extremely beneficial [38,39,40]. Benefits include improving the cost-effectiveness of research and increasing the possibility for analyses on subsamples and statistical power [41, 42]. Thus, the current study harmonised two existing datasets to examine cross-sectional associations of walking and moderate-to-vigorous physical activity with anxiety symptoms and status. The authors hypothesised that anxiety would be inversely associated with physical activity and walking and that stronger associations would be observed with increased doses of walking and physical activity.

Methods

This study adhered to Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) guidelines [43].

Participating studies

The selection of participating studies has been described elsewhere [44]. Briefly, the platform for the current research was the DEterminants of DIet and Physical ACtivity Knowledge Hub (DEDIPAC-KH) [45, 46]. Within DEDIPAC, accessible cross-sectional datasets with relevant data on physical activity and anxiety were identified in a large compendium for harmonisation [47]. Two datasets, The Irish Longitudinal Study on Ageing (TILDA) and The Mitchelstown Cohort Study were harmonised for the present study.

The Irish Longitudinal Study on Ageing (TILDA) is a study of 8175 community-dwelling adults aged ≥50 years and their partners of any age, living in the Republic of Ireland [48]. For the current study, Wave One (2009–2011) data were used. Data for 1804 participants aged 55–74 year from the second phase of the Cork and Kerry Diabetes and Heart Disease (2010) Study were provided by the Mitchelstown Cohort Study [49]. This study was designed to provide a profile of glucose tolerance status, cardiovascular health, and their related factors in an Irish adult general population sample. A six-person expert consensus group agreed appropriate variable harmonisation methods for physical activity, anxiety, participant age, sex, body mass index (BMI), smoking status, marital status, and education.

Physical activity

The short-form International Physical Activity Questionnaire (IPAQ-SF) measured physical activity [50, 51]. Participants reported the number of days and duration of vigorous intensity, moderate intensity, and walking activities undertaken during the previous 7 days and were classified according to whether or not they met WHO physical activity guidelines [30]. Based on weekly metabolic equivalent,minutes (MET-mins) of moderate and vigorous physical activity, participants were divided into Low (0–599 MET.mins), Moderate (600–1199 MET.mins), and High (≥1200 MET.mins) dose categories [30]. Additionally, respondents were categorized as Low walkers if they reported walking < 210 min.week− 1 (i.e., < 30 min.day− 1), Moderate walkers if they reported walking 210–419 min.week− 1 (i.e., 30–59 min.day− 1), and High walkers if they walked ≥420 min.week− 1 (i.e., ≥60 min.day− 1).

Anxiety

Anxiety was assessed by the Hospital Anxiety and Depression Scale anxiety subscale (HADS-A) [52] which has been validated in a random sample of adults aged ≥66 years in the Netherlands (Cronbach’s α = 0.82) [53]. Probable anxiety was indicated by scores ≥8. This cut-off has been demonstrated to have good specificity and sensitivity [54].

Covariates

Covariates were selected based on known associations with physical activity or anxiety [34, 45, 55,56,57]. These included age (50–59, 60–69, 70–79, and 80+ years), sex (male or female), and BMI categorized as using established WHO thresholds (i.e., underweight: < 18.5 kg.m− 2; normal weight: 18.5–24.99 kg.m− 2; overweight: 25–29.99 kg.m− 2; obese: ≥30 kg.m− 2) [58]. Smoking status (never, former, or current smoker), marital status (married/living with a partner as if married, never married, separated, divorced, or widowed), and highest level of education achieved (none/primary, secondary level, third level or higher) were also assessed.

Analyses

Similar to previous analyses [44] Chi-square tests examined differences between datasets in proportions of probable anxiety status, age categories, sex, BMI categories, smoking status, education, marital status, and physical activity. To determine the source of statistically significant Chi-square tests Z tests were calculated for column proportions for each row in the Chi-square contingency table and Bonferroni adjusted [59]. Binomial logistic regression quantified crude and adjusted associations (i.e., odds ratios (ORs) and 95% confidence intervals (95%CIs)) between physical activity and anxiety, within each dataset. Covariates in adjusted models were age, sex, BMI, smoking status, education, and, marital status.

Within the integrated dataset, Chi-square tests examined differences in elevated anxiety symptom status, ten-year age categories, sex, BMI categories, smoking status, education, and marital status between individuals meeting and not meeting physical activity guidelines. To determine the source of statistically significant Chi-square tests Z tests were calculated for column proportions for each row in the Chi-square contingency table and Bonferroni adjusted [59]. Binomial logistic regression quantified crude and adjusted associations between physical activity and anxiety. Covariates in adjusted models were age, sex, BMI, smoking status, education, marital status, and dataset. Likelihood ratio tests examined covariate significance in total population analyses in the integrated dataset. Additionally, a separate test of the model was run including the interaction between physical activity and sex. Differences in continuous anxiety symptoms between those meeting and not meeting physical activity guidelines, physical activity dose groups, and sexes were quantified by one-way ANOVAs followed by Bonferroni-corrected post-hoc tests. The magnitude of differences in anxiety symptom scores between meeting physical activity guidelines, physical activity dose categories, and sexes were quantified by Hedges’ g effect sizes and associated 95%CIs [60]. Effect sizes of 0.2, 0.5, and 0.8 were considered small, medium, and large, respectively [61].

Results

Dataset characteristics

Harmonised data characteristics are presented in Table 1. Results from Chi-square tests and follow-up Z tests are shown in Table 2.

Table 1 Study characteristics
Table 2 Participant characteristics

Participant characteristics

A total of 7874 and 6059 respondents were included in crude and adjusted analyses, respectively. Participant characteristics by anxiety status in the integrated dataset are presented in Table 2. The overall prevalence of anxiety was 24.5%. Females were more likely to report anxiety (χ2 (1, N = 7874) = 66.76, p < 0.001) than males (28.0% vs 20.0%) and reported significantly higher anxiety symptoms (5.93 ± 3.55) than men (5.15 ± 3.24; F(1,7872) = 101.73, p < 0.001; g = 0.23; 95%CI: 0.18 to 0.27). Meeting guidelines (χ2 (1, N = 7874) = 4.29, p = 0.038), age (χ2 (4, N = 7867) = 90.89, p < 0.001), BMI (χ2 (3, N = 6518) = 11.22, p = 0.011), marital status (χ2 (4, N = 7871) = 12.60, p = 0.013), and smoking status (χ2 (2, N = 7835) = 59.61, p < 0.001) significantly differed according to anxiety status. Results from follow-up Z tests are shown in Table 1. The proportions of people who met physical activity guidelines (χ2 (1, N = 7874) = 0.91, p = 0.34) and who had anxiety (χ2 (1, N = 7874) = 0.02, p = 0.90) did not differ between those who were included in crude analyses but excluded from adjusted analyses due to missing covariate information.

Integrated dataset analyses

Results for logistic regression models run within each dataset are reported in Table 3. Integrated dataset analyses are reported in Table 3. Following full adjustment, meeting physical activity guidelines was associated with 13.5% (95% CI: 2.0 to 23.7; p = 0.023) lower odds of anxiety. Age, sex, education, and smoking status were significant covariates (all p ≤ 0.001). Compared to those aged less than 50 years, those aged 50–59 (OR = 0.957, 95%CI = 0.703–1.303; p = 0.782), 60–69 (0.617, 0.449–0.847; p = 0.003), 70–79 (0.470, 0.331–0.667; p < 0.001), and 80+ (0.359, 0.222–0.581; p < 0.001) were less likely to report anxiety. Compared to females, males (0.672, 0.590–0.795; p < 0.001) were less likely to report anxiety. Compared to those only educated to primary level, those educated to secondary (0.780, 0.668–0.910; p = 0.002) and tertiary (0.745, 0.628–0.883; p = 0.001) level were less likely to report anxiety. Compared to current smokers, past (0.641, 0.541–0.759; p < 0.001) and never (0.736, 0.619–0.875; p < 0.001) smokers were less likely to report anxiety. A separate test of the model including the interaction between physical activity and sex was run and the interaction was not significant (p = 0.858).

Table 3 Odds ratios (OR) and 95% confidence intervals (CI) derived from binominal logistic regression analyses as indicators of cross-sectional associations between physical activity (PA) and anxiety within sex categories and the total population

Following full adjustment, Moderate and High physical activity levels were associated with 13.5% (95% CI: − 11.0 to 32.6; p = 0.254) and 13.6% (95% CI: 1.4 to 24.2; p = 0.030) lower odds of anxiety, respectively. Following full adjustment, Moderate and High walking were associated with 2.1% (95% CI: − 14.5 to 16.3; p = 0.789) and 5.1% (95% CI: − 9.3 to 17.6; p = 0.467) lower odds of anxiety, respectively.

Anxiety symptoms were significantly lower among people meeting physical activity guidelines (5.48 ± 3.35) than those not meeting the guidelines (5.67 ± 3.51; p = 0.013; g = 0.06, 95%CI: 0.01 to 0.10). Anxiety symptoms significantly differed according to physical activity dose (p = 0.043). Post-hoc tests showed significantly lower anxiety symptoms for High (5.48 ± 3.34) compared to Low (5.67 ± 3.51, p < 0.001; g = 0.06 95%CI: 0.01 to 0.10) physical activity. There were no significant differences between High and Moderate (5.43 ± 3.39, p = 0.756; g = − 0.01, 95%CI: − 0.11 to 0.08) or Moderate and Low (p = 0.135; g = 0.07, 95%CI: − 0.02 to 0.16) physical activity. Anxiety symptoms did not significantly differ according to walking groups (p = 0.740).

Discussion

This study examined the association between meeting recommended physical activity levels and anxiety among 7874 Irish adults using secondary analysis of a harmonised dataset comprised of data from TILDA and the Mitchelstown Cohort Study. Prevalence of anxiety was high compared to similar studies [62,63,64], potentially related to the economic downturn in Ireland in 2007 as data for the current study were collected between 2009 and 2011. Anxiety symptoms were slightly lower among adults meeting recommended physical activity guidelines and, following full adjustment for relevant covariates, meeting recommended physical activity guidelines was significantly associated with 13.5% lower odds of anxiety (HADS≥8) in the harmonized dataset, significantly associated with 19.8% lower odds of anxiety in TILDA, and non-significantly associated with 8.2% lower odds of anxiety in the Mitchelstown Cohort Study. This further highlights physical activity as an important modifiable lifestyle factor associated with anxiety symptoms and disorders along with other lifestyle factors such as sedentary behaviour [65], sleep [66], smoking [67], and alcohol use [68]; however, the magnitude of the current association was weaker than those for these lifestyle factors in previous research. Additionally, the magnitude of the present findings are consistent with cross-sectional associations between meeting recommended levels of physical activity and elevated worry symptoms [34], and smaller than previously found associations with elevated depressive symptoms among Irish adults [44, 69].

Although a dose-response between physical activity and anxiety was not supported in the current study, compared to Low physical activity, High physical activity (i.e., exceeding recommended physical activity levels) was significantly associated with lower anxiety symptoms: 13.6% lower odds of anxiety in the harmonized dataset, and 13.9% lower odds of anxiety in TILDA. The absence of a dose response is consistent with previous associations of physical activity with anxiety symptoms measured with the HADS-A [28, 33]. However, dose-responses have been observed for diagnosed generalized anxiety disorder [34] and any diagnosed anxiety disorder [36, 70], although not consistently [71].

There has been some evidence to support that, compared to physical inactivity, engaging in physical activity levels less than those recommended and increased light intensity physical activity, may convey mental health benefits [28, 37]. One accelerometry-based study demonstrated using isotemporal substitution models that substituting 30 min of light intensity physical activity for 30 min of sedentary time (while holding total wear time of the accelerometer and other activities constant) was significantly associated with a decrease in anxiety symptoms [72]. However, these findings were not supported in the present analyses of walking where anxiety symptoms and status did not differ across groups. In the Mitchelstown dataset, Moderate amounts of walking we significantly associated with 92.6% higher odds of anxiety among males, and 48.3% lower odds of anxiety among females. However, these results were potentially due to few respondents in the Moderate walking group as they were not replicated in either the TILDA or integrated datasets. The potentially important role of walking has been comparatively better-studied for depression, and somewhat remains understudied for anxiety. Given that the available literature largely supports that any physical activity is better than none, the possibility that even lower levels of moderate or vigorous intensity physical activity, increased light intensity physical activity, and increased walking may protect against anxiety and other mental health problems warrants further investigation.

Covariates that significantly contributed to the primary statistical model included age, sex, education, and smoking status, although they did not have a large influence on the magnitude of the association between physical activity and anxiety. Supporting previous findings, younger age, female sex, lower education, and smoking were significantly associated with increased likelihood of anxiety [73, 74]. From the present analyses, potentially modifiable factors such as physical activity and smoking should be considered when designing interventions, while non-modifiable factors such as age, sex, and education should be considered when identifying individuals who may be at increased risk of anxiety.

Limitations

This study has several limitations. Due to the cross-sectional design, causality cannot be inferred from these results. Indeed, the bidirectional relationship between physical activity and anxiety has been established [63]. Unfortunately, longitudinal data could not be harmonised between the datasets. Secondly, although there are many benefits to dataset harmonisation, some limitations do exist. For example, studies may use different sampling methodologies, while differences between study variables may be difficult to reconcile in the harmonisation process. In the present study, socio-economic status could not be included as a covariate due to differences between the datasets. Finally, although a well-validated and widely used measure of physical activity, the IPAQ-SF has some limitations. For example, it only measures physical activity over the previous seven days, which may expose it to acute fluctuations in chronic physical activity behaviour, while the acute effects of physical activity on anxiety may differ from its chronic effects. Moreover, the validity of self-reported physical activity can be low, especially among low socio-economic populations [75, 76], which may predispose the results to over-reporting [77]; however, misclassification due to over-reporting would underestimate the magnitude of the physical activity-anxiety relationship, as inactive people incorrectly classified as active would be at increased risk of anxiety. Moreover, self-report measures of physical activity may be more appropriate than device measures to assess adherence to the physical activity as the guidelines were predominantly devised based on data using self-reported physical activity. Self-report physical activity measures assess the perceived time spent on physical activities but, unlike device measures, do not account for the actual fragmentation of movement throughout the activity [78]. Nonetheless, future studies would benefit from device measured physical activity which can indicate both activity duration and intensity and a stronger measure of anxiety, such as physician diagnosis. Nonetheless, this study has several notable strengths, including a large, nationally representative sample, examination of WHO physical activity recommendations, walking, and a focus on anxiety symptoms and status.

Conclusions

After adjusting for important covariates, meeting WHO physical activity guidelines was significantly associated with 13.5% lower odds of anxiety. No apparent dose response relationship between physical activity and anxiety were observed. Additionally, walking was found to be non-significantly associated with anxiety symptoms; however, further investigation of the associations of low intensity physical activity, such as walking, and physical activity doses that do not meet recommendations are required. When considered in the context of the wider literature including prospective cohort studies and randomised controlled trials, the present findings support meeting WHO guidelines to lower odds of anxiety.