Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Identifying cluster profiles based on barriers and facilitators to physical activity during COVID-19 confinement: A cross-sectional study using machine learning analysis

  • Fernanda Castro Monteiro ,

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Conceptualization, Data curation, Investigation, Methodology, Project administration, Validation, Writing – original draft, Writing – review & editing

    Affiliations Psychiatry Institute, Federal University of Rio de Janeiro, Rio de Janeiro, Brazil, Institute of Health Sciences, Universidad de O’Higgins, Rancagua, Chile

  • Maria Luiza C. Wuillaume ,

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Conceptualization, Data curation, Formal analysis, Software, Writing – original draft, Writing – review & editing

    Affiliation National Institute of Technology, Rio de Janeiro, Brazil

  • Carlos Linhares Veloso Filho ,

    Roles Writing – review & editing

    ‡ CLVF and HNPO also contributed equally to this work.

    Affiliation Psychiatry Institute, Federal University of Rio de Janeiro, Rio de Janeiro, Brazil

  • Karla Figueiredo ,

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Data curation, Formal analysis, Software, Writing – review & editing

    Affiliation Rio de Janeiro State University, Rio de Janeiro, Brazil

  • Felipe Barreto Schuch ,

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Project administration, Writing – review & editing

    Affiliations Psychiatry Institute, Federal University of Rio de Janeiro, Rio de Janeiro, Brazil, Federal University of Santa Maria, Santa Maria, Brazil, Faculty of Health Sciences, Universidad Autónoma de Chile, Providência, Chile, Institute for Physical Activity and Nutrition, Deakin University, Geelong, Australia, Institute for Mental and Physical Health and Clinical Translation (IMPACT), Deakin University, Geelong, Australia

  • Andrea Nunes de Carvalho ,

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Data curation, Formal analysis, Software, Writing – original draft, Writing – review & editing

    Affiliation National Institute of Technology, Rio de Janeiro, Brazil

  • Thiago Sousa Matias ,

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Writing – original draft, Writing – review & editing

    Affiliation Federal University of Santa Catarina, Florianópolis, Brazil

  • Henrique Nunes Pereira Oliva ,

    Roles Writing – original draft, Writing – review & editing

    ‡ CLVF and HNPO also contributed equally to this work.

    Affiliation Department of Psychiatry, Yale University School of Medicine, New Haven, Connecticut, United States of America

  • Renato Sobral Monteiro-Junior ,

    Roles Writing – review & editing

    ‡ CLVF and HNPO also contributed equally to this work.

    Affiliation Physical Education Department, Montes Claros State University, Montes Claros, Minas Gerais, Brazil

  • Lara Carneiro ,

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Writing – original draft, Writing – review & editing

    larafcarneiro@uaeu.ac.ae

    Affiliation Physical Education Department, College of Education, United Arab Emirates University, Al Ain, Abu Dhabi, United Arab Emirates

  • Andrea Camaz Deslandes

    Contributed equally to this work with: Fernanda Castro Monteiro, Maria Luiza C. Wuillaume, Karla Figueiredo, Felipe Barreto Schuch, Andrea Nunes de Carvalho, Thiago Sousa Matias, Lara Carneiro, Andrea Camaz Deslandes

    Roles Project administration, Writing – original draft, Writing – review & editing

    Affiliation Psychiatry Institute, Federal University of Rio de Janeiro, Rio de Janeiro, Brazil

Abstract

Social restrictions, such as confinement periods, tend to reduce physical activity (PA) levels. However, sociodemographic factors may influence specific barriers and facilitators to PA during such periods. This study aimed to identify cluster profiles of individuals based on barriers and facilitators to physical activity (PA) during COVID-19 confinement. Brazilian adults participated in a cross-sectional online survey. The questionnaire collected demographic data, PA levels, sedentary behavior (SB), and perceived barriers and facilitators for PA. During data preprocessing, correlated barriers and facilitators related to a similar topic were aggregated. Using machine learning analysis, the K-modes evaluated by the Silhouette Score were used for barriers and the ROCK evaluated by the Silhouette Score was used for facilitators. The barriers model produced well-defined profiles, whereas the facilitators model did not. The facilitator model generated clusters with multiple negative silhouette coefficients and exhibited a significantly less cohesive cluster structure. Therefore, only the barriers-based model was used for further analysis. The best model generated eight clusters, each named according to the most frequent barriers in the group, such as “Inactive depressive women”, “Active depressive women” and “Super active”. The depressive clusters presented more barriers to PA, three barriers each one. Significant differences in PA and SB were observed across clusters. This work highlights the novelty of using unsupervised machine learning to uncover latent subgroups based on multiple concurrent barriers. In conclusion, tailored home-based and outdoor strategies should be developed, particularly targeting individuals with depressive symptoms and those facing significant time constraints.

1. Introduction

Critical periods of confinement, such as during climate changes, natural disasters, or pandemics, may profoundly disrupt daily life [1,2]. The most recent large-scale example was the COVID-19 pandemic. While the restrictive measures decreased viral circulation, they negatively impacted health behaviors like sleep, eating habits, physical activity (PA), and sedentary behavior (SB) [1,3]. Beyond these physical consequences, such situations frequently exacerbate mental health problems, including stress, fear, depression, and anxiety [3], which can further act as barriers to PA [2,4].

According to a cross-sectional study involving 1570 Brazilian participants during the pandemic, the most prevalent barriers to PA during this period were “lack of appropriate facilities/equipment/space” (17.4%), and “lack of time” (13.0%) [5]. Moreover, lack of motivation (OR=1.49; 95% CI = 1.19–1.86) and lack of appropriate facilities/equipment/space (OR=2.11; 95% CI = 1.57–2.83) were the factors most strongly associated with reduced PA levels [5]. In an online survey conducted among individuals in Canada and the US, Marashi et al. reported that many individuals were unmotivated to exercise due to anxiety (+8%), limited social support (+6%), or limited access to equipment (+23%) or space (+41%) during the social isolation [6]. Similarly, a Brazilian survey found the largest percentage in reported barriers was “Places to exercise are distant or inaccessible” (+ 37.5%), “Physical activity is hard work for me” (+ 18.5%), “I perceive barriers to physical activity practice” (+ 18.5%) [7]. Natural disasters can have similar effects: Li, Yang & An [8] documented decreased PA and increased alcohol consumption in Puerto Rico following a hurricane, highlighting the vulnerability of healthy lifestyle behaviors during such events.

In recent years, machine learning methods have gained prominence in health research, offering an alternative to traditional statistical approaches [9]. These methods are classified as supervised or unsupervised [10]. Unsupervised algorithms operate without labeled data, uncovering hidden patterns, structures, or clusters within datasets [11,12]. Among these, K-means clustering is one of the most widely used. It requires the number of clusters to be specified or estimated and groups data points based on similarity measures [11,12].

Applications of machine learning in PA research are increasing. For example, one observational study used K-means clustering to categorize individuals by PA levels measured with accelerometers. The more active cluster showed different types of PA on weekends than the less active cluster, and both clusters showed similar PA patterns during the week, differing only in intensity [13]. Another study compared machine learning methods with traditional cut-point approaches for predicting PA intensity in preschool-aged children, finding that machine learning models outperformed cut-point methods, particularly under free-living conditions [14]. Similarly, Nawrin et al. (2023) applied unsupervised clustering to step-count patterns (all-day, bi-phasic, morning, evening, irregular morning, and irregular night) that provided robust behavioral classifications [15].

Despite these advances, there seems to be a lack of studies using machine learning to investigate barriers to exercise, particularly during critical and challenging periods for some populations. Machine learning offers advantages over traditional statistical methods by identifying non-linear relationships and complex interactions among variables, which can lead to more nuanced and data-driven classifications of individuals. These profiles can be interpreted within existing theoretical frameworks, such as socio-ecological models, to better understand the multi-level influences on PA behavior.

The Socio-Ecological Model (SEM) provides a robust framework for understanding the complex interplay between individual, interpersonal, environmental, and policy-level factors that influence health behaviors. Evidence suggests that barriers to PA are not isolated to personal choices but are deeply embedded in a multi-level structure; for instance, intrapersonal factors like lack of motivation and depression symptoms often interact with interpersonal social support and environmental constraints, such as lack of access to safe facilities [16,17]. During periods of social restriction, these multi-level barriers become even more pronounced, as the home environment and community-level policies directly dictate the opportunities for movement [18]. By identifying clusters of individuals who share similar barrier profiles, this study aligns with the SEM’s premise that interventions must be tailored to address the specific combination of determinants – ranging from psychological states to environmental limitations – that characterize different population segments.

Understanding why specific groups remain less active is crucial for crafting tailored interventions. Factors such as socioeconomic status, access to safe exercise environments, and individual motivation can all play critical roles. In this context, the present study aimed to identify distinct individual profiles based on self-reported barriers to PA during COVID-19 social restriction. A secondary aim was to compare PA and sedentary behavior (SB) levels across these identified clusters.

2. Methods

This cross-sectional study was conducted via an online survey delivered using the Google Forms web survey platform (Google LLC, Mountain View, CA, United States). It is important to note that online recruitment through social media platforms introduces a selection bias towards digitally connected individuals, which may impact the generalizability of the findings [19,20].

Eligible participants were Brazilian residents aged between 18–85 years, of any gender, residing in any region of the country, and belonging to any social class. Brazilian individuals living outside Brazil and/or illiterate were excluded. Participants were recruited through online dissemination strategies, including social media platforms (E-mail, Facebook, WhatsApp, and Instagram) and invitations circulated via established researcher networks. Given the constraints imposed by the COVID-19 pandemic, particularly restrictions on in-person contact, we employed a snowball sampling approach, whereby initial participants were encouraged to share the study invitation within their own networks. This strategy was intentionally adopted to maximize reach and increase the number of respondents under conditions that limited the feasibility of probabilistic sampling. After providing electronic written informed consent, participants completed a multiple-choice questionnaire directly through the survey link (https://forms.gle/KDHKDpEopj2r1sxP8). Data collections were conducted between June and August 2020. Precisely, it started in 25/06/2020 and finished in 31/08/2020. The study protocol was approved by the Ethics Committee of the Psychiatry Institute, Federal University of Rio de Janeiro (register number 31739120.0.0000.5263).

2.1 Instruments

The questionnaire was applied once per participant and consisted of 40 questions covering demographic data, PA, sedentary behavior (SB), barriers, and facilitators for PA. The questions were about participant perceptions before and during the COVID-19 pandemic.

Self-reported diagnosis was obtained with the question: “Do you have any diagnosis of physical or mental illness?” In the present study, “Healthy” individuals were defined as the absence of any self-reported physical or mental illness diagnosis.

Sedentary behavior was assessed through one question before and one question during the pandemic: How many hours did the participant spend in sedentary time (zero to 2 hours; 2–4 hours; 4–6 hours; 6–8 hours; more than 8 hours). For analysis, responses were dichotomized as <8 hours/day or ≥8 hours/day, based on prior literature [21]. It is important to note that this single-item measure of sedentary behavior lacks formal validation, which is a limitation of the study.

Physical activity was assessed through four questions before and four questions during the pandemic: 1) Through a multiple-choice answer the participant indicated whether they practiced any type of activity and what this was. 2) Through a one-choice response the participant indicated the weekly frequency of activity (1–3 times; 3–5 times; 5–7 times). 3) Through a one-choice response, the participant indicated the intensity (light; moderate; vigorous). 4) Through a one-choice response, the participant indicated the duration (zero to 30 minutes; 30–60 minutes; 60–90 minutes; more than 90 minutes). We selected these options based on the World Health Organization (WHO) and American College of Sports Medicine (ACSM) recommendations, which advise adults to engage in at least 150 minutes/week of moderate-intensity or 75 minutes/week of vigorous-intensity activity, ideally in 20–60 minute sessions on most days [22].

Facilitators were assessed with two questions: one covering the period before COVID-19 (What characteristics of physical activity would you consider facilitating your practice before COVID-19?). The answers were: outdoor activities; activities with professional guidance; activities without professional guidance; group activities; activities with music; family activities; activities at home; space at home for physical activity practice and equipment at home for physical activity practice. The other question was about perception during the pandemic (What characteristics of physical activity do you consider facilitating your practice today, during social isolation?). The answers were: outdoor activities; activities with professional guidance; activities without professional guidance, virtually; group activities; activities with music; family activities; activities at home; space at home for physical activity practice; equipment at home for physical activity practice; equipment at home for physical activity practice.

Barriers were similarly assessed before and during the pandemic: (What characteristic of physical activity would you consider as a barrier to your practice before COVID-19?). The answers options were: Physical activity took too much time from family responsibilities; Physical activity tired me; Places to exercise were far away/distant; It costs too much money to exercise; I had no convenient schedule for practicing physical activity; Physical activity was hard work for me; I had no interest in physical activity practice; I perceived barriers to physical activity practice.

The other question was about perception during the pandemic (What characteristic of physical activity do you consider as a barrier to your practice currently, during social isolation?). The answers options were: Physical activity takes too much time from family responsibilities; Physical activity tires me; Places to exercise are distant or inaccessible and posed a high risk at the time; It costs too much money to exercise; I have no convenient schedule for practicing physical activity; Physical activity is hard work for me; I have no interest in physical activity practice; I perceive barriers to physical activity practice. All the questions presented a multiple-answer option.

To reduce dimensionality and simplify interpretation, conceptually similar barriers were aggregated. This decision was based on a qualitative review of the items and their semantic overlap. The barriers “physical activity tires me” and “physical activity is hard work for me” were combined into a new variable named “Physical activity is hard.” Similarly, “physical activity takes too much time from family responsibilities” and “I have no convenient schedule for physical activity” were aggregated into “Physical activity takes time.” The six barriers maintained in the dataset were: 1. Physical activity is hard; 2. Physical activity takes time; 3. I perceive barriers to physical activity practice; 4. I have no interest in practicing physical activity; 5. Places to exercise are inaccessible and/or closed and posed a high risk at the time; 6. It costs too much money to exercise.

The answers were affirmative sentences based on the Exercise Barriers/Benefits Scale (EBBS), a Likert-type validated scale [23] (Further details are included in Monteiro et al., 2023) [7]. The EBBS is a scale that assesses the participant’s perception of barriers and benefits for exercise (see S1 File). However, in our study, the answers were modified for the COVID-19 pandemic scenario and social isolation.

2.2 Data processing

A total of 1252 responses were received. Six were excluded due to missing data and 32 due to contradictory PA responses during the pandemic, leaving 1214 participants for analysis. “Contradictory responses” referred to participants who reported engaging in zero minutes of physical activity but simultaneously selected a high weekly frequency and intensity, or vice versa. Barriers and facilitators to PA (binary and categorical variables) were grouped based on similarities, forming aggregated sets. The preprocessing also included consolidating identical records, resulting in 33 distinct combinations of barriers and 50 of facilitators. Following the clustering step, all 1214 records were assigned to their respective groups. Due to the confinement period characteristics and nature, we did not perform sample size calculation for this study. However, although no priori sample size calculation was performed, we conducted a post hoc power analysis using the G*Power software (one-way ANOVA, 8 groups, α = 0.05). With the obtained sample size (N = 1,214), the study has 71.3% power to detect a small effect (f = 0.10) and 100% power to detect a medium effect (f = 0.25) across clusters. This level of power is considered adequate for exploratory studies, especially those employing machine learning techniques on samples collected under natural conditions (pandemic). Therefore, the sample size is sufficient to support the analyses performed and the conclusions presented.

Clustering was performed using the K-modes and ROCK algorithms, combined with the adapted Silhouette Score and the Calinski-Harabasz index. Dissimilarity between two records was defined as the number of variables in which their categorical values differed; this dissimilarity matrix was precomputed and used as input to both clustering algorithms and to the adapted evaluation metrics. All analyses were conducted in R (version 4.1.1), using the package proxyC (version v0.1.0). To assess the stability of the clustering solutions, we adopted a multi-run strategy combined with internal validation metrics. Since clustering is an unsupervised task, traditional cross-validation procedures are not applicable; therefore, solution robustness was evaluated based on consistency across repeated runs and parameter configurations.

For the K-modes algorithm, 1,000 runs were performed for each value of k (tested across the full range of 2–33 clusters for the barriers dataset and 2–50 clusters for the facilitators dataset) using different random initializations (seeds). This procedure was implemented to reduce sensitivity to initial conditions, as the algorithm may converge to different local optima. For each k, the final solution was selected based on the average performance across internal validation metrics, and the overall best k for each dataset corresponded to the value that maximized this average — k = 8 for the barriers dataset, identified as the global maximum of the adjusted Silhouette Score curve (Silhouette Score = 0.4446).

For the ROCK algorithm, stability was evaluated through a systematic exploration of its structural parameters. Specifically, combinations of the number of clusters (k), neighborhood threshold (θ), and similarity functions were tested. Fifteen candidate θ values, ranging from 0 to 0.99, were evaluated in combination with five similarity functions (cosine, Jaccard, Hamman, simple matching, and faith similarity), with dissimilarity computed as one minus each similarity value. The parameter configuration that maximized the internal validation metrics was selected (θ = with the cosine similarity function, yielding an adjusted Silhouette Score of 0.2714/ (θ = with the simple matching similarity function, yielding adjusted Calinski-Harabasz index of 1.065), and subsequent analyses were conducted by varying k under these optimized conditions.

To aid in identifying profiles, relative frequency histograms were generated using variables from the datasets that were not utilized to train the models. It is important to highlight that when barriers were utilized for clustering, the aggregated facilitators were employed for profiling, and conversely, when clustering was based on facilitators, aggregated barriers were incorporated into the profiling analysis. To decide on the best clustering, not only was the performance evaluated by the chosen metric assessed, but also on interpretability and practical suitability of the findings.

After a thorough comparison of clusters using the given plots, we arrived at a significant conclusion. The barriers model proved to be more effective in creating well-defined target profiles, unlike the facilitators model. The details are described below:

2.2.1 Detailed rationale for excluding the facilitator model.

The decision to exclude the facilitator model from the study’s main analysis was based on a rigorous assessment of the quality of the clusters and the interpretability of the results. Although a parallel analysis was attempted using the ROCK algorithm for the facilitator data, the results did not meet the criteria for robustness and interpretability necessary to proceed with the analysis.

Numerical and qualitative evidence: Barrier Model (K-modes): Analysis of the Adjusted Silhouette Coefficient for the barrier model demonstrated good clustering quality. All records exhibited positive silhouette coefficients, indicating that each individual was well-assigned to their cluster and well-separated from neighboring clusters. The best silhouette score was 0.4432984, confirming the good cohesion and separation of the 8 identified clusters.

Facilitator Model (ROCK): In contrast, the facilitator model exhibited a significantly less cohesive cluster structure. A notable presence of bars crossing the zero line into the negative side was observed. Negative silhouette coefficients indicate that individuals are closer to a neighboring cluster than to their own cluster, suggesting misallocation or that the individual may be an outlier. The high incidence of negative coefficients and the absence of a clear clustering structure indicated that the ROCK algorithm failed to form cohesive and well-separated clusters for the facilitator data. There were 11 negative values out of 50, meaning that 22% of the data points were misclassified. This means that about 22% of the people (11 out of 50) fall into this category. Besides, the best reported Silhouette value for the ROCK scenario is 0.2762202.

In addition to the quantitative metrics, the qualitative expert assessment revealed that the facilitators model did not produce meaningful or interpretable profiles. The facilitators patterns did not cluster in a way that could be translated into distinct and clinically relevant profiles. This contrasts sharply with the barrier clusters, which exhibited clear characteristics useful for developing targeted interventions.

In light of this, we focused our further analysis only on the model created with the barriers. All analyses were conducted in R, with a dissimilarity matrix employed to facilitate the clustering process.

3. Results

A total of 1214 individuals were included in this study. Most of the sample was composed of females (73.3%), aged between 36–44 years old (26.2%), married (51.1%) and with post-graduation completed (51%). Among self-reported diagnoses, anxiety disorder (9.3%) and depression (3.2%) were the most prevalent (Table 1). Most of the sample was physically active (73.7%) and regarding SB, most of the sample presented less than 8 hours/day of sitting time (64.7%) (Table 1).

Based on the self-reported barriers to PA during the pandemic, profiles of clusters of individuals were created. The number of clusters evaluated ranged from 2 to 33 for the barriers dataset and the optimal number of clusters was k = 8, which represented the global maximum of the adjusted Silhouette Score curve (Silhouette Score = 0.4446). This means that the best barrier clustering model generated 8 clusters whose profiles were named according to the variables in which they had unusual distributions and according to the most frequent barriers in the group. For example, clusters composed by high prevalence of physical activity practice were named as “active” plus the most frequent barriers in the group (clusters 1, 2,3). Those composed only by females with self-reported depression diagnosis were named accordingly (clusters 5 and 6). The cluster composed by young people’s high prevalence and the most frequent barrier reported was “lack of interest in exercise” were named accordingly (cluster 4). The group with a high prevalence of physically inactive individuals and a high prevalence of high-income reported barriers related to the time available for exercise and the financial resources required to do so (cluster 7). The more active group did not report any barriers to exercise and was named accordingly (cluster 8). The profiles generated were: 1) Active with short time; 2) Active with low income; 3) Active with fear of enclosed places; 4) Young people with no interest in exercise; 5) Inactive depressive women; 6) Active depressive women; 7) Inactive with money and needs; 8) Super active (Fig 1 and Table 2).

thumbnail
Table 2. Clusters demographics characteristics.

https://doi.org/10.1371/journal.pone.0354036.t002

thumbnail
Fig 1. Most frequent barriers for each cluster – barriers clustering.

https://doi.org/10.1371/journal.pone.0354036.g001

The largest clusters corresponding to 89.3% of the sample were “Active with short time”, “Active with fear of enclosed places” and “Super active”. The most prevalent barriers were “Physical activity takes time”, “I have no interest in practicing physical activity” and “Places to exercise as inaccessible and/or closed and posed a high risk at the time”. Clusters with more prevalence of SB and PI showed more barriers, while the most active cluster did not report any type of barriers to PA. The cluster with fear of enclosed places did not show high levels of SB and physical inactivity (PI). There were two clusters with a higher prevalence of self-reported depressive diagnosis, both with more barriers to PA than the other clusters. Although both groups reported “I have no convenient schedule for physical activity/Physical activity takes time” and “I have no interest in practicing physical activity”, the clusters differ in one barrier perceived. While a more inactive depressed cluster informed that “Physical activity is hard”, the more active cluster considers “Places to exercise as inaccessible and/or closed and posed a high risk at the time” a barrier.

Regarding clusters sociodemographic characteristics, the S1 Table presents all pairwise comparisons between the eight clusters for each variable, with p-values adjusted using the Bonferroni correction for 28 comparisons (α = 0.05/28 = 0.00178) (full detail in supplemental material). After correction, significant differences were observed primarily for comparisons involving Cluster 8 (super active), which differed significantly from Clusters 1, 2, 3, and 7 for age, marital status, income, and education (p < 0.00178). Cluster 6 (active depressive women) also showed significant differences from multiple clusters for age and income. Cluster 5 (inactive depressive women) differed significantly from Cluster 1 for education (p = 0.001). No significant differences were found between Clusters 2 and 3 for any variable, nor between Clusters 4 and 8 for most variables. A small number of comparisons (e.g., Cluster 5 vs. Cluster 6 for sex and marital status, Cluster 2 vs. Cluster 5 for education) reached nominal significance (p < 0.05) but did not maintain after Bonferroni correction.

Considering the clusters profiles, significant differences were found in SB levels between the groups. The “Super active” group was significantly less sedentary than the following groups: “Active with short time” group (p ≤ 0.001); “Active with low-income” (p ≤ 0.001); “Active with fear of enclosed places” (p ≤ 0.001); “Young people with no interest in exercise” (p ≤ 0.001) and the “Inactive with money and needs” group (p ≤ 0.001). Regarding PA levels, the same was observed. The “Super active” group was significantly more active than six groups: “Active with short time” group (p ≤ 0.001); “Active with low-income” (p ≤ 0.001); “Active with fear of enclosed places” (p ≤ 0.001); “Young people with no interest in exercise” (p ≤ 0.001); “Inactive depressive women” (p ≤ 0.001) and the “Inactive with money and needs” group (p ≤ 0.001).

Moreover, the largest clusters were the most active and the least sedentary: “Active with short time”, “Active with fear of enclosed places” and “Super active” (Tables 3 and 4). Regarding the active clusters, the depressive women group was the one that presented the lower prevalence of self-reported PA, while “Active with lower income” was the group that spent more time in SB (Tables 3 and 4). Regarding the inactive groups, the “Inactive with money and needs” group was the most sedentary (Table 3).

thumbnail
Table 3. Sedentary behavior among clusters profiles.

https://doi.org/10.1371/journal.pone.0354036.t003

thumbnail
Table 4. Physical activity practice among clusters profiles.

https://doi.org/10.1371/journal.pone.0354036.t004

4. Discussion

To the best of our knowledge, this is the first study to identify individuals´ cluster profiles according to barriers to PA among Brazilians during a worldwide critical period. Considering the cluster profiles, significant differences were found in SB and PA levels between the groups. The more representative cluster was active individuals who do not perceive barriers to PA, being the most active group (“Super Actives”). Considering the other clusters with the highest prevalence of PA (“Active with short time” and “Active with fear of enclosed places”), barriers such as lack of time and safety concerns were found, in line with other studies reporting on challenging situations such as health emergencies or economic crises [24]. In clusters of women with self-reported depression diagnosis, both groups presented the highest prevalence of barriers to PA (3 barriers each). The depressed active group reported barriers of lack of time, disinterest in exercise and fear of enclosed places, whereas, the inactive depressive women reported lack of time, disinterest in PA and PA is hard, presenting the highest prevalence of PI.

In accordance with our findings, disinterest in exercise could be an important barrier in people with mental illness, related to psychological aspects such as self-confidence and lower self-efficacy [25]. The bidirectional relationship between depression and physical inactivity is well-established in the literature, reflecting a complex and mutually reinforcing cycle [2629]. On one hand, depressive symptoms, particularly anhedonia, fatigue, and psychomotor retardation, can substantially reduce motivation, perceived self-efficacy, and energy levels, making engagement in PA seem effortful and less rewarding [25,30,31]. These symptoms are also associated with alterations in reward processing and executive functioning, which further impair the initiation and maintenance of health behaviors such as regular PA [32]. On the other hand, physical inactivity contributes to the onset and worsening of depressive symptoms through multiple pathways, including dysregulation of neurobiological systems (e.g., reduced neurogenesis, impaired monoaminergic signaling, and increased inflammation) [33,34].

Indeed, higher depressive symptoms were more likely to endorse “lack of self-motivation” as a barrier to exercise in times of prolonged restriction or uncertainty [6,35]. These findings align with broader patterns observed in the general population, where women, in comparison to men, tend to encounter more impediments to exercise initiation and exhibit lower levels of PA [36]. Moreover, the restrictive measures implemented during crisis could exacerbate well-known health issues and social inequities within the female population, contributing to more perceived barriers to PA. Unlike our study, barriers such as poor mental and physical health, and low energy were also reported in previous literature [37] and may influence the decision to practice PA in this specific population.

Furthermore, the fear of exposure to health threats was also found in other studies as a barrier to PA [7,24]. However, in our study, it seems that this barrier did not influence PA practice. More broadly, the role of the environment as a barrier or facilitator can significantly influence individuals’ likelihood of engaging in physical activity, especially during times when normal routines are disrupted [2,8,20]. Other key predictors of sustained PA during lockdown could be explained by factors such as higher education, higher income and living in urban areas, reinforcing existing knowledge about the demographic and socio-economic factors that could influence exercise habits [38] and could support our main findings. On the other hand, the cluster “Inactive with money and needs” was the most sedentary, ranking as the second least active and contradicting this finding, despite its high-income characteristics.

Meta-analyses have confirmed a well-known pattern of decreased physical activity levels during periods of widespread disruption, like the COVID-19 pandemic, across various ages and populations globally, highlighting the difficulties of maintaining active behavior during such times [19,20]. In fact, limited access to public spaces and exercise opportunities may foster SB levels. Although it was not the main goal of our study, the literature indicates that those who experienced PA habits before a crisis could present more self-efficacy and intrinsic motivation to deal with changes in daily exercise routine and maintain their practice during the pandemic [39].

The use of existing equipment and infrastructure to exercise were found as important facilitators to PA in restrictive contexts [7], but was not considered in the present study. Due to similarities in reported facilitators for PA in our sample, it was not possible to define and target profiles of specific individuals considering them. In other study in times of crisis, facilitators involving individual factors, environmental factors, and social domains were found, in line with our primary results [40].

Although machine learning models can potentially be an interesting tool for solving problems related to research in PA and SB, little has been explored in this field concerning crisis situations. A recent study during a large-scale restriction period aimed to evaluate PA levels during the lockdown and identify the factors influencing these levels [41]. A multivariate analysis was conducted to identify associations between different sociodemographic factors (such as age, sex, education level) and PA levels [41]. The analysis showed that factors such as outdoor activity and working on-site were associated with higher PA levels [41]. [41]

Similarly, Caldirola et al. (2022) [42] employed machine learning to analyze data collected during a major societal disruption of Italian adults with no preexisting psychiatric conditions. The model was based on several significant variables (low resilience, crisis-related stress, being an undergraduate student) that influenced its predictive capability. The findings revealed that a significant percentage of the participants developed new psychiatric disorders during the pandemic. The predictive model developed in the study has a moderate performance and showed a sensitivity of 70% and specificity of 73% [42].

Across systematic reviews conducted during the COVID-19 pandemic, several consistent barriers to PA have been identified. In accordance with our findings, environmental restrictions – such as lockdown measures, closure of recreational facilities, and reduced access to outdoor spaces – emerge as the most prominent structural constraints [43,44]. In the same way, psychosocial barriers, including reduced motivation, increased psychological distress, and lack of social support, further hinder engagement in PA [45]. Additionally, lifestyle disruptions – such as increased screen time, remote work demands, and loss of daily routines – contribute to more sedentary behaviors and reduced opportunities for movement [3,44].

Although current literature presents important advances and findings using machine learning, few studies address this methodology in relation to the practice of PA, specifically, using data from critical periods such as the COVID-19 pandemic. In light of this, our study holds particular relevance in informing that PA behavior may be linked to barriers to PA, and even active individuals could perceive this interaction. Our cluster analysis further refines this understanding by demonstrating how these barriers co-occur in specific subgroups, providing a more granular view for public health planning.

However, the present study has certain limitations. First, the lack of formal validation of the questionnaire used in the study. Second, the reliance on self-reported data introduces the potential for recall bias and subjectivity. Participants may interpret and respond to questions differently, impacting the accuracy of the results. Third, the nature of the study precludes more causal conclusions and may compromise the interpretability of the findings. Fourth, another important limitation of the study is the small sample size in some clusters, especially those composed of depressed individuals. Fifth, the use of a single question to assess self-reported diagnosis of mental illness limits the robustness of the findings. Furthermore, the sample presents a bias, due to its characteristics, as it does not represent the population expectation of PA in Brazil, which leads the reader to suggest that data on barriers to PA may also be biased and not represent the population.

5. Conclusion

In conclusion, the current study provides useful information on factors influencing PA. By identifying distinct clusters with specific barriers, it is possible to promote home-based exercise, improve access to outdoor recreational spaces while ensuring safety measures, and provide adequate support to these populations. Understanding the diverse challenges individuals face allows for more effective, tailored strategies to encourage exercise, considering unique subgroup needs. Overall, the findings contribute to evidence-based interventions to enhance PA and well-being during crises and other challenging circumstances.

Supporting information

S1 File. Exercise Barriers/Benefits Scale (EBBS).

https://doi.org/10.1371/journal.pone.0354036.s001

(PDF)

S1 Table. All pairwise comparisons between clusters for all sociodemographic variables.

https://doi.org/10.1371/journal.pone.0354036.s002

(DOCX)

References

  1. 1. Duncan GE, Avery AR, Seto E, Tsang S. Perceived change in physical activity levels and mental health during COVID-19: Findings among adult twin pairs. PLoS One. 2020;15(8):e0237695. pmid:32790745
  2. 2. Gelius P, Messing S, Tcymbal A, Birkholz L, Abu-Omar K. Physical activity as a victim, a perpetrator, or part of the solution to the climate crisis? J Phys Act Health. 2024;21(12):1220–2. pmid:39304179
  3. 3. Li M, Wang Q, Shen J. The impact of physical activity on mental health during COVID-19 pandemic in China: a systematic review. Int J Environ Res Public Health. 2022;19(11):6584. pmid:35682172
  4. 4. Thompson EJ, Alexander SE, Moneghetti K, Howden EJ. The interplay of climate change and physical activity: implications for cardiovascular health. Am Heart J Plus: Cardiol Res Pract. 2024;47:100474. pmid:39493443
  5. 5. Farah BQ, do Prado WL, Malik N, Lofrano-Prado MC, de Melo PH, Botero JP, et al. Barriers to physical activity during the COVID-19 pandemic in adults: a cross-sectional study. Sport Sci Health. 2021;17(2):441–7. pmid:33815618
  6. 6. Marashi MY, Nicholson E, Ogrodnik M, Fenesi B, Heisz JJ. A mental health paradox: mental health was both a motivator and barrier to physical activity during the COVID-19 pandemic. PLoS One. 2021;16(4):e0239244. pmid:33793550
  7. 7. Monteiro FC, Plácido J, Silva F de O, de Lima JD, Schuch FB, Ward PB, et al. Sedentary behavior and physical activity: barriers and facilitators for active behavior during the COVID-19 pandemic. J Bras Psiquiatr. 2023;72(4):195–204.
  8. 8. Li D, Yang Y, An R. Impact of hurricane Maria on physical activity, smoking, and alcohol use among Puerto Ricans. Int J Environ Health Res. 2025;35(10):2820–31. pmid:39960307
  9. 9. Acharya A, Patel J, Patel J. Predictive analysis in healthcare using feature selection. In: Biomedical data mining for information retrieval. Wiley; 2021. p. 53–101.
  10. 10. Sohail A, Arif F. Supervised and unsupervised algorithms for bioinformatics and data science. Prog Biophys Mol Biol. 2020;151:14–22. pmid:31816343
  11. 11. Jones PJ, Catt M, Davies MJ, Edwardson CL, Mirkes EM, Khunti K, et al. Feature selection for unsupervised machine learning of accelerometer data physical activity clusters - a systematic review. Gait Posture. 2021;90:120–8. pmid:34438293
  12. 12. Farrahi V, Rostami M. Machine learning in physical activity, sedentary, and sleep behavior research. J Act Sedentary Sleep Behav. 2024;3(1):5. pmid:40217437
  13. 13. Lee PH, Yu Y-Y, McDowell I, Leung GM, Lam TH. A cluster analysis of patterns of objectively measured physical activity in Hong Kong. Public Health Nutr. 2013;16(8):1436–44. pmid:22894896
  14. 14. Ahmadi MN, Trost SG. Device-based measurement of physical activity in pre-schoolers: comparison of machine learning and cut point methods. PLoS One. 2022;17(4):e0266970. pmid:35417492
  15. 15. Nawrin SS, Inada H, Momma H, Nagatomi R. Clustering temporal step-counting patterns for 24 hours with machine learning revealed potential heterogeneity in the categorization by a traditional tertile procedure [Internet]; 2023. Available from: http://biorxiv.org/lookup/doi/10.1101/2023.06.04.543652
  16. 16. Duina M, Santi G, Carraro A. Barriers and facilitators of physical activity for individuals with depression: a systematic review within the socio-ecological model framework. Front Sports Act Living. 2025.
  17. 17. Richards AB, Minou M, Sheldrick MP, Swindell N, Griffiths LJ, Hudson J, et al. A socioecological perspective of how physical activity and sedentary behaviour at home changed during the first lockdown of COVID-19 restrictions: The HomeSPACE Project. Int J Environ Res Public Health. 2022;19(9):5070. pmid:35564463
  18. 18. Knight RL, McNarry MA, Sheeran L, Runacres AW, Thatcher R, Shelley J, et al. Moving forward: understanding correlates of physical activity and sedentary behaviour during COVID-19-an integrative review and socioecological approach. Int J Environ Res Public Health. 2021;18(20):10910. pmid:34682653
  19. 19. Barouki R, Kogevinas M, Audouze K, Belesova K, Bergman A, Birnbaum L. The COVID-19 pandemic and global environmental change: emerging research needs. Environ Int. 2021;146:106272. pmid:33238229
  20. 20. De Rubeis V, Lee J, Anwer MS, Yoshida-Montezuma Y, Andreacchi AT, Stone E, et al. Impact of disasters, including pandemics, on cardiometabolic outcomes across the life-course: a systematic review. BMJ Open. 2021;11(5):e047152. pmid:33941635
  21. 21. Ku P-W, Steptoe A, Liao Y, Hsueh M-C, Chen L-J. A cut-off of daily sedentary time and all-cause mortality in adults: a meta-regression analysis involving more than 1 million participants. BMC Med. 2018;16(1):74. pmid:29793552
  22. 22. WHO. Global recommendations on physical activity for health. Geneva: World Health Organization; 2010. 60 p. pmid:20963782
  23. 23. Victor JF, Ximenes LB, De Almeida PC. Adaptação transcultural para o Brasil da Exercise Benefits/Barriers Scale (EBBS) para aplicação em idosos: uma avaliação semântica. Cad Saude Publica. 2008;24(12):2852–60. pmid:19082276
  24. 24. Greenwood-Hickman MA, Dahlquist J, Cooper J, Holden E, McClure JB, Mettert KD, et al. “They’re going to zoom it”: a qualitative investigation of impacts and coping strategies during the COVID-19 pandemic among older adults. Front Public Health. 2021;9:679976. pmid:34095079
  25. 25. Firth J, Rosenbaum S, Stubbs B, Gorczynski P, Yung AR, Vancampfort D. Motivating factors and barriers towards exercise in severe mental illness: a systematic review and meta-analysis. Psychol Med. 2016;46(14):2869–81. pmid:27502153
  26. 26. Schuch FB, Vancampfort D, Firth J, Rosenbaum S, Ward PB, Silva ES, et al. Physical activity and incident depression: a meta-analysis of prospective cohort studies. Am J Psychiatry. 2018;175(7):631–48. pmid:29690792
  27. 27. Stubbs B, Vancampfort D, Firth J, Schuch FB, Hallgren M, Smith L, et al. Relationship between sedentary behavior and depression: a mediation analysis of influential factors across the lifespan among 42,469 people in low- and middle-income countries. J Affect Disord. 2018;229:231–8. pmid:29329054
  28. 28. Firth J, Solmi M, Wootton RE, Vancampfort D, Schuch FB, Hoare E, et al. A meta-review of “lifestyle psychiatry”: the role of exercise, smoking, diet and sleep in the prevention and treatment of mental disorders. World Psychiatry. 2020;19(3):360–80. pmid:32931092
  29. 29. Zhao G, Lu Z, Sun Y, Kang Z, Feng X, Liao Y, et al. Dissecting the causal association between social or physical inactivity and depression: a bidirectional two-sample Mendelian Randomization study. Transl Psychiatry. 2023;13(1):194. pmid:37291091
  30. 30. Vancampfort D, Stubbs B, Venigalla SK, Probst M. Adopting and maintaining physical activity behaviours in people with severe mental illness: the importance of autonomous motivation. Prev Med (Baltim). 2015;81:216–20. pmid:26386141
  31. 31. Chapman J, Korman N, Malacova E, Robertson C, Arnautovska U, Siskind D, et al. Which behavioral regulations predict physical activity and sedentary behavior in people with mental illness? Psychol Med. 2024;54(15):4129–39. pmid:39569877
  32. 32. Halahakoon DC, Kieslich K, O’Driscoll C, Nair A, Lewis G, Roiser JP. Reward-processing behavior in depressed participants relative to healthy volunteers: a systematic review and meta-analysis. JAMA Psychiatry. 2020;77(12):1286–95. pmid:32725180
  33. 33. Guimarães MEA, Derhon V, Signori LU, Seiffer BA, Wolf S, Schuch FB. Acute and chronic effects of physical exercise in inflammatory biomarkers in people with depression: a systematic review with meta-analysis. J Psychiatr Res. 2024;179:26–32. pmid:39226662
  34. 34. Kandola A, Ashdown-Franks G, Hendrikse J, Sabiston CM, Stubbs B. Physical activity and depression: towards understanding the antidepressant mechanisms of physical activity. Neurosci Biobehav Rev. 2019;107:525–39. pmid:31586447
  35. 35. Li X, Liu F, Ding F, Ma X, Zhu Y. Exercise interventions for depressive, manic, and anxiety symptoms in bipolar disorder: a systematic review and meta-analysis. Front Psychiatry. 2025.
  36. 36. Kwak L, Berrigan D, Van Domelen D, Sjöström M, Hagströmer M. Examining differences in physical activity levels by employment status and/or job activity level: Gender-specific comparisons between the United States and Sweden. J Sci Med Sport. 2016;19(6):482–7. pmid:26095371
  37. 37. Monteiro FC, Schuch FB, Deslandes AC, Vancampfort D, Mosqueiro BP, Messinger MF, et al. Perceived barriers, benefits and correlates of physical activity in outpatients with Major Depressive Disorder: a study from Brazil. Psychiatry Res. 2020;284:112751. pmid:31918115
  38. 38. Hailey V, Fisher A, Hamer M, Fancourt D. Perceived social support and sustained physical activity during the COVID-19 pandemic. Int J Behav Med. 2023;30(5):651–62. pmid:36175607
  39. 39. Volz SC, Furman CR, Rothman AJ. Psychological correlates of perceived physical activity engagement during the COVID-19 pandemic among previously active individuals. Behav Med. 2023;49(1):7–14. pmid:34702131
  40. 40. Mbabazi J, MacGregor F, Salman M, Breckon J, Kunonga E, Tolchard B, et al. Exploring the barriers and facilitators to making healthy physical activity lifestyle choices among UK BAME adults during Covid-19 pandemic: a study protocol. IJPAH. 2022.
  41. 41. Harmouche-Karaki M, Mahfouz M, Salameh P, El Helou N. Physical activity levels and predictors during COVID-19 lockdown among lebanese adults: the impacts of sociodemographic factors, type of physical activity and work location. Healthcare (Basel). 2023;11(14):2080. pmid:37510521
  42. 42. Caldirola D, Cuniberti F, Daccò S, Grassi M, Torti T, Perna G. Predicting new-onset psychiatric disorders throughout the COVID-19 pandemic: a machine learning approach. J Neuropsychiatry Clin Neurosci. 2022;34(3):233–46. pmid:35306830
  43. 43. Wilke J, Rahlf AL, Füzéki E, Groneberg DA, Hespanhol L, Mai P, et al. Physical activity during lockdowns associated with the COVID-19 pandemic: a systematic review and multilevel meta-analysis of 173 studies with 320,636 participants. Sports Med Open. 2022;8(1):125. pmid:36219269
  44. 44. Stockwell S, Trott M, Tully M, Shin J, Barnett Y, Butler L, et al. Changes in physical activity and sedentary behaviours from before to during the COVID-19 pandemic lockdown: a systematic review. BMJ Open Sport Exerc Med. 2021;7(1):e000960. pmid:34192010
  45. 45. Wunsch K, Kienberger K, Niessner C. Changes in physical activity patterns due to the COVID-19 pandemic: a systematic review and meta-analysis. Int J Environ Res Public Health. 2022;19(4):2250. pmid:35206434